Firefox
Install & Setup ubuntu firefox - ์ฐ๋ถํฌ์์ ํ์ด์ดํญ์ค ์ค์น Plugins Markdown Viewer Webext - ๋ก์ปฌ์ ๋งํฌ๋ค์ด ํ์ผ์ html๋ก ๋ณด๊ธฐ vimium c - vim ๋ช ๋ น์ด ํ๊ฒฝ์ผ๋ก ํ์ด์ดํญ์ค ์ฌ์ฉํ๊ธฐ
Install & Setup ubuntu firefox - ์ฐ๋ถํฌ์์ ํ์ด์ดํญ์ค ์ค์น Plugins Markdown Viewer Webext - ๋ก์ปฌ์ ๋งํฌ๋ค์ด ํ์ผ์ html๋ก ๋ณด๊ธฐ vimium c - vim ๋ช ๋ น์ด ํ๊ฒฝ์ผ๋ก ํ์ด์ดํญ์ค ์ฌ์ฉํ๊ธฐ
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 ๋ง๋ค๊ธฐ
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๋ฅผ ์์ฑํ์ง ๋ง๊ณ ...
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.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/