cl-yasboi
Yet Another Starter Boilerplate for Common Lisp ๐ฅ
ํ์ผ ํ์๊ธฐ
- ci.yml
- build-on-tmp-env.bash
- build-on-tmp-env.lisp
- create-quicklisp-tmp-env.bash
- install-quicklisp-on-tmp-env.lisp
- test-on-tmp-env.bash
- test-on-tmp-env.lisp
- .gitignore
- cl-yasboi.asd
- cl-yasboi.lisp
- lib.lisp
- LICENSE
- Makefile
- README.md
- test.lisp
# CDN์ผ๋ก ์ฌ์ฉํ๊ธฐ
jsDelivrjsDelivr๋ ๊ณต๊ฐ GitHub ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ๋ณ๋ ์ค์ ์์ด CDN์ผ๋ก ์ฆ์ ์๋นํฉ๋๋ค. ๋ฒ์ ๊ณผ ํ์ผ์ ๊ณ ๋ฅด๋ฉด ์นํ์ด์ง์ ๋ฐ๋ก ๋ถ์ผ ์ ์๋ ๋งํฌ์ ์์ ์ฝ๋๊ฐ ๋ง๋ค์ด์ง๋๋ค.
๋ช ๋ น์ด ์ฉ์ด์ง
์ด ๋ฌธ์์์ ์ฌ์ฉ๋ ๋ช ๋ น์ด๋ฅผ ๋ชจ์๋ดค์ต๋๋ค. ๋ฏ์ ๋ช ๋ น์ด๊ฐ ์๋ค๋ฉด ํผ์ณ์ ํ์ธํด๋ณด์ธ์.
gem
์ค๋ช
๋ณด๊ธฐ โผ
gem
Ruby ํ๋ก๊ทธ๋๋ฐ ์ธ์ด์ฉ ํจํค์ง ๊ด๋ฆฌ์.
๋ ๋ง์ ์ ๋ณด: <https://guides.rubygems.org/command-reference/>.
gem search {{regex}} {{[-a|--all]}}
์๊ฒฉ gem์ ๊ฒ์ํ๊ณ ์ฌ์ฉ ๊ฐ๋ฅํ ๋ชจ๋ ๋ฒ์ ์ ํ์:
gem install {{gem_name}}
์ต์ ๋ฒ์ ์ gem์ ์ค์น:
gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}
ํน์ ๋ฒ์ ์ gem์ ์ค์น:
git clone
์ค๋ช
๋ณด๊ธฐ โผ
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
npm
์ค๋ช
๋ณด๊ธฐ โผ
npm
JavaScript ๋ฐ Node.js ํจํค์ง ๊ด๋ฆฌ์.
Node.js ํ๋ก์ ํธ ๋ฐ ๋ชจ๋ ์์กด์ฑ์ ๊ด๋ฆฌํฉ๋๋ค.
๋ ๋ง์ ์ ๋ณด: <https://docs.npmjs.com/cli/npm/>.
npm init {{[-y|--yes]}}
๊ธฐ๋ณธ๊ฐ์ผ๋ก `package.json` ํ์ผ ์์ฑ (`--yes`๋ฅผ ์๋ตํ๋ฉด ๋ํ์์ผ๋ก ์งํ):
npm {{[i|install]}}
package.json์ ์์กด์ฑ์ผ๋ก ๋์ด๋ ๋ชจ๋ ํจํค์ง๋ฅผ ๋ค์ด๋ก๋:
npm {{[i|install]}} {{package_name}}@{{version}}
ํน์ ๋ฒ์ ์ ํจํค์ง๋ฅผ ๋ค์ด๋ก๋ํ๊ณ `package.json`์ ์์กด์ฑ ๋ชฉ๋ก์ ์ถ๊ฐ:
sbcl
์ค๋ช
๋ณด๊ธฐ โผ
sbcl
๊ณ ์ฑ๋ฅ Common Lisp ์ปดํ์ผ๋ฌ.
๋ ๋ง์ ์ ๋ณด: <https://www.sbcl.org/manual/#Command-Line-Options>.
sbcl
REPL(์ธํฐ๋ํฐ๋ธ ์ ธ) ์์:
sbcl --script {{path/to/script.lisp}}
Lisp ์คํฌ๋ฆฝํธ ์คํ:
tmux
์ค๋ช
๋ณด๊ธฐ โผ
tmux
ํฐ๋ฏธ๋ ๋ฉํฐํ๋ ์.
tmux๋ ๋จ์ผ ๋จ๋ง๊ธฐ ์ฐฝ ๋๋ ์๊ฒฉ ํฐ๋ฏธ๋ ์ธ์
์์์ ์ฌ๋ฌ ์ธ์
์ ์ฌ์ฉํ ์ ์๋๋ก ๋์์ค๋๋ค.
๊ด๋ จ ํญ๋ชฉ: `zellij`, `screen`.
๋ ๋ง์ ์ ๋ณด: <https://github.com/tmux/tmux>.
tmux
์ ์ธ์ ์์:
tmux {{[new|new-session]}} -s {{name}}
์ด๋ฆ์๋ ์ ์ธ์ ์์:
tmux {{[ls|list-sessions]}}
์ธ์ ๋ฆฌ์คํธ ์ถ๋ ฅ:
alternatives
์ค๋ช
๋ณด๊ธฐ โผ
alternatives
์ด ๋ช ๋ น์ `update-alternatives`์ ๋ณ์นญ์ ๋๋ค.
tldr update-alternatives
์์ธํ ๋ด์ฉ์ ์๋ณธ ๋ช ๋ น์ ์ฐธ๊ณ ํ์ธ์:
apt-get
์ค๋ช
๋ณด๊ธฐ โผ
apt-get
Debian ๋ฐ Ubuntu ํจํค์ง ๊ด๋ฆฌ ๋๊ตฌ.
`apt-cache`๋ฅผ ์ฌ์ฉํ์ฌ ํจํค์ง๋ฅผ ๊ฒ์ํ์ธ์.
Ubuntu 16.04 ์ดํ ๋ฒ์ ์์๋ ๋ํํ ์ฌ์ฉ ์ `apt` ์ฌ์ฉ์ ๊ถ์ฅํฉ๋๋ค.
๋ ๋ง์ ์ ๋ณด: <https://manned.org/apt-get.8>.
sudo apt-get update
์ฌ์ฉ ๊ฐ๋ฅํ ํจํค์ง ๋ฐ ๋ฒ์ ๋ชฉ๋ก ์ ๋ฐ์ดํธ (๋ค๋ฅธ `apt-get` ๋ช ๋ น์ด ์คํ ์ ์ ๊ถ์ฅ๋จ):
sudo apt-get install {{package}}
ํจํค์ง ์ค์น ๋๋ ์ต์ ๋ฒ์ ์ผ๋ก ์ ๋ฐ์ดํธ:
sudo apt-get remove {{package}}
ํจํค์ง ์ ๊ฑฐ:
apt
์ค๋ช
๋ณด๊ธฐ โผ
apt
Debian ๊ธฐ๋ฐ ๋ฐฐํฌํ์ ์ํ ํจํค์ง ๊ด๋ฆฌ ๋๊ตฌ.
Ubuntu 16.04 ์ดํ ๋ฒ์ ์์ ๋ํํ ์ฌ์ฉ ์ `apt-get`์ ๊ถ์ฅ ๋์ฒด ๋๊ตฌ.
๋ค๋ฅธ ํจํค์ง ๊ด๋ฆฌ์์ ๋๋ฑํ ๋ช
๋ น์ ๋ณด๋ ค๋ฉด <https://wiki.archlinux.org/title/Pacman/Rosetta>.
๋ ๋ง์ ์ ๋ณด: <https://manned.org/apt.8>.
sudo apt update
์ฌ์ฉ ๊ฐ๋ฅํ ํจํค์ง ๋ฐ ๋ฒ์ ๋ชฉ๋ก ์ ๋ฐ์ดํธ (๋ค๋ฅธ `apt` ๋ช ๋ น์ด ์คํ ์ ๊ถ์ฅ):
apt search {{package}}
์ฃผ์ด์ง ํจํค์ง ๊ฒ์:
apt list {{package}}
ํจํค์ง ์ ๋ณด ํ์:
pacman -S
์ค๋ช
๋ณด๊ธฐ โผ
pacman -S
This command is an alias of `pacman --sync`.
tldr pacman sync
View documentation for the original command:
