본문 바로가기

전체 글344

[Excel] 팁: SUM 함수 단축키로 간단하게 사용하기 SUM 함수를 직접 입력하지 않고, 단축키를 사용해서 간단하게 사용할 수 있답니다. 먼저 합계를 구하고 싶은 셀들을 선택합니다. 자 이제 단축키를 눌러봅시다 !!! [⌘⌥=], [ALT + =] 맥과 윈도우가 단축키가 서로 다르니 주의해주세요. 사실 맥에선 처음 써봐서 이것도 막 조합해보다가 찾았네요. ㅋㅋㅋ 간단하게 SUM 함수가 자동으로 입력되면서 결과가 나타나죠? ^^ 은근 꿀팁이니 유용하게 쓰시길 바래요. 추가로, 행, 열 하나씩 말고 행렬을 해보면 어떨지 궁금하지 않나요? 그럼 해봐야죠! 엄청난 결과를 보실 수 있습니다 !!! 그럼, 빠르게 스샷 위주로 보여드리겠습니다. 보시다시피 기본적으로는 각 열 마다의 합계가 계산됩니다. 그런데, 하나의 열을 추가로 선택하게 되면, 각 행의 합계가 계산되어.. 2021. 1. 14.
[Excel] Group/Ungroup 기능 요번에는 Group/Ungroup 기능에 대해 살펴보겠습니다. 이 기능은 관련 있는 데이터를 한 데 묶을 수 있는데, 세부적인 데이터를 숨겨 표를 간단하게 보기 위해 많이 사용하죠. 먼저, 테이블 하나를 만들어 보겠습니다. 이제, 리본 메뉴에서 Data를 선택합니다. 맥용 엑셀에서는 위와 같은 메뉴입니다. 윈도우용도 비슷하니 똑같이 사용하실 수 있습니다. 먼저 행을 그룹으로 만들어 보겠습니다. 스샷을 참고해서 그룹으로 만들기를 원하는 행을 선택합니다. 다음으로, 위에 메뉴를 참고해서 group 버튼을 눌러줍니다. 그러면 이렇게 왼쪽편에 그룹이 된 것을 확인해보실 수 있습니다. 그룹은 중첩해서 만들 수 있고 3단계까지 가능합니다. 저 -버튼을 눌러보세요. 요런 식으로 접어서 숨길 수 있습니다. 눈치 채셨겠.. 2021. 1. 12.
[Next] Getting Started (with TypeScript, TailwindCSS) Next is an awesome framework. The homepage represents "The React Framework for Production" as its motto. It supports TypeScript with React. In addition, it also supports easy SSR, zero-configuration, SEO friendly, and routing based on the folder structure. Now, let's start !! Create a Project $ npx create-next-app my_next_app --example with-typescript $ cd my_next_app $ yarn dev Now, access our .. 2021. 1. 9.
[Jest] Testing with Error Return Source Code Let's create a function to test. const funcWithError = (): void => { throw new Error("My Error") } Test Code Now, let's test our function. describe("Test With Error", () => { it("tests a function with an error return", () => { try { calculator.funcWithError(); } catch (err) { expect(err).toEqual(new Error("My Error")); } }); }); I tested with a try...catch statement. Yay~ It works we.. 2020. 12. 28.
[React] Get Keyboard Input (TypeScript) Recently, I wanted to get keyboard input on the React application. I thought there is maybe someone like me. So let's figure out this. Create a Test Project $ npx create-react-app react-test --template typescript Implement I tried many things to implement this. Like onKeyDown, onKeyPress in div tag or, addEventListener to window or document in useEffect. Finally, I found the key point !! import .. 2020. 12. 28.
[Windows] Getting Started with Windows Terminal I like a Windows Terminal as terminal on Windows. I had waited it since I found out, and I've been using it since beta. If you don't use it now, try it out. You will like it like me. Installation I use chocolatey for package manager Windows. 2020/08/30 - [OS/Windows] - [Windows] Chocolatey $ choco install microsoft-windows-terminal --pre Now, run the Windows Terminal. $ wt Usage Click the down a.. 2020. 12. 24.
Getting Started with React + Typescript + TailwindCSS In this posting, we will figure out to create a project with CRA(Create-React-App) with Typescript and TailwindCSS. CRA with Typescript Let's create a project first. $ npx create-react-app --template typescript Move on to the project folder. $ cd Let's run our app as a test. $ yarn start Add TailwindCSS Now, let's install TailwindCSS. $ yarn add tailwindcss postcss If you successfully installed .. 2020. 12. 10.
[Python] List (Array) Data Structure List is a data structure like Array. Elements in the List can be duplicated. Creating List ### [] method emptyList = [] weekdayList = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'] nameList = ['Kim', 'Lee', 'Park', 'Kim'] ### list() function emptyList = list() testList = list('cat') # from String print(testList) # ['c', 'a', 't'] testTuple = ('red', 'green', 'blue') testList = list(testTuple) # from Tuple .. 2020. 12. 7.
[Python] Dictionary Data Structure Dictionary is a data structure with key and value. Dictionary is internally implemented as hash table, so dictionary is a fast data structure. Dictionary is unordered before Python 3.6, and ordered after Python 3.7. The key of dictionary must be unique. Creating Dictionary There are many ways to create dictionary. ### {} method emptyDict = {} testDict = { "key1": "value1", "key2": "value2", "key.. 2020. 12. 6.