Neovim

apt-get install neovim 과 같은 방법으로는 최신 버전을 설치 할 수 없다. 최신버전을 설치하려면, 다음 과정을 거쳐야한다. cf.https://github.com/neovim/neovim/wiki/Installing-Neovim sudo apt-get install software-properties-common 이 명령어를 선행해줘야할 수도 있다. sudo apt-get remove neovim -y sudo add-apt-repository ppa:neovim-ppa/stable sudo apt-get update -y sudo apt-get install neovim -y https://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable ppa archive 를 살펴보고 원하는 아키텍쳐 / 버전이 없는경우 unstable 버전에서 찾아서 다시 반복해볼 필요가 있다. 다행히 unstable 버전은 ubuntu 23.04 를 지원하는게 있어서 받아서 씀…...

September 9, 2023 · nolleh

Kblayout

/etc/default/keyboard Option “XkbModel” “kr106” Option “XkbLayout” “kr”

August 12, 2023 · nolleh

Diskutil

mac 에서는, diskutil 과 dd 를 사용해서 microSD 카드를(disk) 포멧 할 수 있다. disk utility 라는 GUI 툴도 있는데, 파티셔닝 되어있던 애를 이걸 통해서 지웠더니 뭔갈 잘못한건지 절반정도의 디스크용량이 날아가 버렸다 ㅡㅡ;;; 32GB 짜리 SD 카드가 반토막 난 격이라;; dd 와 fdisk 를 활용해서 뭔가 다시 복구하려는 삽질기가 되시겠다… $ diskutil list output /dev/disk5 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: *15.9 GB disk5 format 하려면 $ diskutil umount $ sudo dd if=/dev/zero of=/dev/{dev-name} bs=1M status=progress ## this is really long term work 되-게 오래 걸리는 작업이라서, 잊지 말고status=progress 옵션을 사용하는 것을 권장 한다....

August 5, 2023 · nolleh

Indexing Strategies

Overview in data driven application’s poorly designed indexes and a lack of indexes are primary sources bottlenecks. As databases grow in size, finding efficient ways to retrieve and manipluate data becomes increasingly important. Basics of Indexing a database index serves a similar purporse in that of book, speeding up data retrieval without needing to scan every row in a database table the structure of a database index includes an ordered list of values, with each value connected to pointers leading to data pages where these alues reside....

July 24, 2023 · nolleh

How to Make Package

패키지를 만들때 기본 구성 { "main": "./dist/cjs/index.js", "types": "./dist/cjs/types/index.d.ts", "files": ["dist/**/*"], "scripts": { "clean": "rm -rf ./dist", "build": "pnpm run clean && pnpm build:esm && pnpm build:cjs", "build:esm": "tsc -p ./tsconfig.esm.json && mv dist/esm/index.js dist/esm/index.mjs", "build:cjs": "tsc -p ./tsconfig.cjs.json", "prepack": "pnpm build" }, "repository": { "type": "git", "url": "https://github.com/nolleh/serialize-interceptor" }, "keywords": [ "nestjs", "nest.js", "serialize", "deserialize", "camel", "snake", "json", "dto", "transform" ], "exports": { ".": { "import": { "types": "./dist/esm/types/index.d.ts", "default": "....

July 12, 2023 · nolleh