Firefox

Install & Setup ubuntu firefox - ์šฐ๋ถ„ํˆฌ์—์„œ ํŒŒ์ด์–ดํญ์Šค ์„ค์น˜ Plugins Markdown Viewer Webext - ๋กœ์ปฌ์˜ ๋งˆํฌ๋‹ค์šด ํŒŒ์ผ์„ html๋กœ ๋ณด๊ธฐ vimium c - vim ๋ช…๋ น์–ด ํ™˜๊ฒฝ์œผ๋กœ ํŒŒ์ด์–ดํญ์Šค ์‚ฌ์šฉํ•˜๊ธฐ

2022-08-23 ยท (updated 2023-08-26) ยท 27 words

Github toc

GitHub TOC ๋งŒ๋“ค๊ธฐ ๋ฐฉ๋ฒ• ๋‹ค์Œ์ฒ˜๋Ÿผ ์ž‘์„ฑํ•˜๋ฉด ๋œ๋‹ค. # My menu * [๋ชฉ์ฐจ1][home] * [๋ชฉ์ฐจ2][techdocs] * [๋ชฉ์ฐจ3][usermanual] [home]: https://github.com/myproject/wiki/๋ชฉ์ฐจ1 [techdocs]: https://github.com/myproject/wiki/๋ชฉ์ฐจ2 [usermanual]: https://github.com/myproject/wiki/๋ชฉ์ฐจ3 Reference Github Wiki์—์„œ TOC ๋งŒ๋“ค๊ธฐ

2022-08-23 ยท 27 words

Github ์‚ฌ์šฉํ•˜๊ธฐ

2023-08-26: TIP ์ถ”๊ฐ€: gitignore ๊นƒํ—ˆ๋ธŒ ๊ฐ€์ž…๊ณผ ์„ค์ • GitHub Home ์— ๊ฐ€์ž…ํ•œ๋‹ค. ์ƒˆ๋กœ์šด ์ €์žฅ์†Œ(Repository)๋ฅผ ๋งŒ๋“ ๋‹ค. ์ €์žฅ์†Œ์˜ ์ฃผ์†Œ๋ฅผ ํ™•์ธํ•œ๋‹ค.(Code ์•„์ด์ฝ˜๋ฅผ ํด๋ฆญ) Github ์ œ์•ฝ์‚ฌํ•ญ ๋น„๊ณต๊ฐœ ์ €์žฅ์†Œ(Private Repository): ์œ ๋ฃŒ์—์„œ ๋ฌด๋ฃŒ๋กœ ๋ณ€๊ฒฝ (ํ˜‘์—… 3๋ช…๊นŒ์ง€) Github ๊ฐ€๊ฒฉํŽ˜์ด์ง€ (๊ฐœ์ธ์šฉํ”Œ๋žœ Free, ์œ ๋ฃŒํ”Œ๋žœ Pro) Pro์˜ ์žฅ์  ๋น„๊ณต๊ฐœ ์ €์žฅ์†Œ์— ๋Œ€ํ•œ ํŽ˜์ด์ง€์™€ ์œ„ํ‚ค ์ œ๊ณต ๋น„๊ณต๊ฐœ ์ €์žฅ์†Œ์— ๋Œ€ํ•œ ๊ณต๋™์ž‘์—…์ž ๋ฌด์ œํ•œ 2019.1์›” ๊ธฐ์ค€์œผ๋กœ ๋ชจ๋“  Repository ๋ฐ ํŒŒ์ผ ๋ฌด์ œํ•œ ๋‹จ, ๋‹ค์Œ์„ ๊ถŒ์žฅ ๋ชจ๋“  Repository์˜ ๊ฐฏ์ˆ˜๋Š” ๋ฌด์ œํ•œ ๊ฐ Repository๋ฅผ 1GB๊ฐ€ ๋„˜์ง€ ์•Š๋„๋ก ํ•œ๋‹ค.(100GB Hard Limit) ๊ฐ ํŒŒ์ผ์€ 100MB๋ฅผ ๋„˜์ง€ ์•Š๋Š”๋‹ค. Github ๋“ฑ๋ก username, email address neosolaris/batutah@gmail.com git ์„ค์น˜ sudo apt install git Create Repository Repository Name: cmdTree Security Stat: Private initialize this repository with a README Add .gitignore: ๊นƒํ—ˆ๋ธŒ๋กœ ์˜ฌ๋ฆฌ์ง€ ์•Š์„ ํŒŒ์ผ ์„ ํƒ Add a license: ์ €์žฅ์†Œ ์ƒ์„ฑ๊ณผ ํ•จ๊ป˜ ๋ผ์ด์„ผ์Šค ํŒŒ์ผ์˜ ์„ค์น˜๊ฐ€ ์ž๋™ ์ˆ˜ํ–‰ My Address: https://github.com/neosolaris/cmdTree Readme๋ฅผ ์ƒ์„ฑํ•˜์ง€ ๋ง๊ณ  ...

2022-08-23 ยท (updated 2023-08-26) ยท 409 words

GitHub์— SSH Key๋กœ ์ธ์ฆํ•˜๊ธฐ

Laste Updated: 2022.08.17 ๊นƒํ—ˆ๋ธŒ์—์„œ ์ •์ฑ…์ด ๋ณ€๊ฒฝ๋˜์–ด ๋น„๋ฐ€๋ฒˆํ˜ธ๋กœ ์ธ์ฆ์„ ๋”์ด์ƒ ์ง€์›ํ•˜์ง€ ์•Š๋Š”๋‹ค. ๋‹ค๋ฅธ ์ธ์ฆ ๋ฐฉ๋ฒ•์€ github์˜ ๋ณด์•ˆํ‚ค ๋ฐœ๊ธ‰๊ณผ ssh key๋ฅผ ๋“ฑ๋กํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ๋‹ค. ์—ฌ๊ธฐ์—์„œ๋Š” ssh key๋ฅผ ๋งŒ๋“ค์–ด github์— ๋“ฑ๋กํ•˜์—ฌ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์ด๋‹ค. CREATE SSH KEY: enter, enter, enter rsa๋กœ ํ‚ค๋ฅผ ๋งŒ๋“ค ๊ฒฝ์šฐ ssh-keygen -t rsa -b 4096 -C $email ls ~/.ssh/id_rsa #private key ls ~/.ssh/id_rsa.pub #public key ed25519๋กœ ํ‚ค๋ฅผ ๋งŒ๋“ค ๊ฒฝ์šฐ (์ถ”์ฒœ: ๋ณด๋‹ค ๊ฐ„๊ฒฐํ•˜๊ณ  ๊ฐ•ํ™”๋œ ๋ฐฉ์‹) ssh-keygen -t ed25519 -C โ€œyourmail@mail.comโ€ ls ~/.ssh/id_ed25519 #private key ls ~/.ssh/id_ed25519.pub #public key ์ƒ์„ฑํ•œ pub ํ‚ค๋ฅผ GitHub์— ๋“ฑ๋กํ•˜๊ธฐ ์ƒ์„ฑํ•œ ํ‚ค ์ค‘ pubํ‚ค๋ฅผ ๋ณต์‚ฌํ•œ๋‹ค. ๊นƒํ—ˆ๋ธŒ์— ๋กœ๊ทธ์ธํ•˜์—ฌ ๋‹ค์Œ ๋ฉ”๋‰ด๋ฅผ ์ฐพ์•„ ํด๋ฆญ. |Github Home > Settings > SSH and GPG Keys > New SSH Key Title์— ์ œ๋ชฉ์„ ์ž…๋ ฅํ•˜๊ณ  โ€œAdd SSH Key"๋ฅผ ๋ˆŒ๋Ÿฌ ๋“ฑ๋ก ์™„๋ฃŒ. ํ„ฐ๋ฏธ๋„์—์„œ ์ƒˆ๋กœ์šด ํ”„๋กœํ† ์ฝœ(SSH ์ธ์ฆ๋ฐฉ์‹)์œผ๋กœ ์—ฐ๊ฒฐ ๊นƒํ—ˆ๋ธŒ์— ์„ฑ๊ณต์ ์œผ๋กœ ์—ฐ๊ฒฐ๋˜๋Š” ์ง€ ํ™•์ธ ssh -T git@github.com ๊นƒํ—ˆ๋ธŒ์— ์—ฐ๊ฒฐ ๋ฐ ์ €์žฅ์†Œ ๋“ฑ๋ก git remote set-url origin git@github.com:user_name/repo_name.git Comment ์ด ๋ฐฉ์‹์€ https๋ฐฉ์‹๋ณด๋‹ค ๊ฐ„๊ฒฐํ•œ URL๊ณผ ํŽธ๋ฆฌํ•œ ์‚ฌ์šฉ๋ฒ•์ด ์ข‹๋‹ค. ๋˜ํ•œ ๊นƒํ—ˆ๋ธŒ๋กœ๋ถ€ํ„ฐ ์ธ์ฆํ‚ค๋ฅผ ๋ฐ›๋Š” ๋ฐฉ์‹์€ ๊ธฐ๊ฐ„์ œํ•œ์ด ์žˆ๋‹ค. ๋‹ค๋ฅธ ์ปดํ“จํ„ฐ์—์„œ ์—ฐ๊ฒฐํ•  ๊ฒฝ์šฐ ssh ํ‚ค๋ฅผ ๋งŒ๋“ค์–ด pubํ‚ค๋ฅผ ๊นƒํ—ˆ๋ธŒ์— ์ถ”๊ฐ€ํ•ด์ฃผ๋ฉด ๋œ๋‹ค. Reference https://medium.com/ntust-aivc/instruction-for-adding-an-ssh-key-to-your-github-account-ubuntu20-04-3-lts-f9f7802ed734

2022-08-23 ยท (updated 2022-08-24) ยท 167 words

Hugo - Fast and flexible Static Site Generator written in Go

2022.09.08 - ๋งํฌ ์ˆ˜์ •, ์˜คํƒ€ ์ˆ˜์ • Install ubuntu ์—์„œ ํŒจํ‚ค์ง€๋กœ ์„ค์น˜ $ sudo apt install hugo $ hugo version Create a New SIte $ hugo new site my_site -f yml Add a Theme ์„ค์น˜์™€ ์„ค์ •์— ๋Œ€ํ•œ ์ž์„ธํ•œ ์‚ฌํ•ญ์€ hugo papermod๋ฅผ ์ฐธ๊ณ . PaperMod ํ…Œ๋งˆ ์„ค์น˜ $ cd my_site $ git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1 Update $ cd themes/PaperMod $ git pull Add theme set in config.yml $ echo 'theme: "PaperMod"' >> config.yml ๋˜๋Š” PaperMod ํ™ˆ์— ๊ฐ€์„œ config.yml์„ ๋ณต์‚ฌํ•œ๋‹ค. Sample Page ๋งŒ๋“ค๊ธฐ --- title: "My 1st post" date: 2020-09-15T11:30:03+00:00 # weight: 1 # aliases: ["/first"] tags: ["first"] author: "Me" # author: ["Me", "You"] # multiple authors showToc: true TocOpen: false draft: false hidemeta: false comments: false description: "Desc Text." canonicalURL: "https://canonical.url/to/page" disableHLJS: true # to disable highlightjs disableShare: false disableHLJS: false hideSummary: false searchHidden: true ShowReadingTime: true ShowBreadCrumbs: true ShowPostNavLinks: true ShowWordCount: true ShowRssButtonInSectionTermList: true UseHugoToc: true cover: image: "<image path/url>" # image path/url alt: "<alt text>" # alt text caption: "<text>" # display caption under cover relative: false # when using page bundles set this to true hidden: true # only hide on current single page editPost: URL: "https://github.com/<path_to_repo>/content" Text: "Suggest Changes" # edit text appendFilePath: true # to append file path to Edit link --- ## This is sample Page Hello World! ํŽ˜์ด์ง€ ์ƒ์„ฑ1: my_site/contents/sample.md๊ฐ€ ๋“ค์–ด๊ฐ„๋‹ค. $ hugo new --kind post sample.md ํŽ˜์ด์ง€ ์ƒ์„ฑ2: my_site/contents/posts/my-first-post.md๊ฐ€ ์ƒ์„ฑ๋œ๋‹ค. $ hugo new posts/my-first-post.md LANGUAGE CODE ์„ค์ • my_site/langcode.yaml ์„ ์ถ”๊ฐ€ํ•˜๊ณ  ์„ค์ •ํ•œ๋‹ค. - id: prev_page translation: "Prev" - id: next_page translation: "Next" - id: read_time translation: one: "1 min" other: "{{ .Count }} min" - id: words translation: one: "word" other: "{{ .Count }} words" - id: toc translation: "Table of Contents" - id: translations translation: "Translations" - id: home translation: "Home" - id: edit_post translation: "Edit" - id: code_copy translation: "copy" - id: code_copied translation: "copied!" Start the Hugo Server ์•„๋ž˜์™€ ๊ฐ™์ด ์„œ๋ฒ„๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ๋ธŒ๋ผ์šฐ์ €์—์„œ http://localhost:1313 ์œผ๋กœ ํ™•์ธ ์‹คํ–‰ ์œ„์น˜๋Š” my_site/ ๋‚ด์—์„œ ํ•ด์•ผํ•œ๋‹ค. $ hugo server -D Links https://cristianpb.github.io/blog/vimwiki-hugo https://gohugo.io/getting-started/quick-start/ https://themes.gohugo.io/themes/hugo-papermod/

2022-08-23 ยท (updated 2022-09-08) ยท 327 words