์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- ๋ธ๋์น ์ญ์
- branch ์์ฑ
- ๋ธ๋์น ์์ฑ
- ๋งํฌ๋ค์ด
- branch ํ์ธ
- ๋ธ๋์น ํ์ธ
- branch ์ญ์
- markdown
- Git๋ช ๋ น์ด
- ![rejected]
- ์ฝ๋๋ธ๋ญ
- ์ฝ๋๋ธ๋ก
- Today
- Total
๋ชฉ๋ก๐ง๐ป๐ป ๊ฐ๋ฐ๊ฐ๋ฐ/๊ธฐํ (10)
DevLog
-- Set this property to true to always open in a new window property open_in_new_window : true -- Handlers on new_window() tell application "iTerm" to create window with default profile end new_window on new_tab() tell application "iTerm" to tell the first window to create tab with default profile end new_tab on call_forward() tell application "iTerm" to activate end call_forward on is_running()..
You can use ^+U to delete before Cursor You can use ^+K to delete after Cursor You can use ^+W to delete just a word. You can also use ^+C to cancel. You can also use ^+A to go to the beginning of the line. You can also use ^+E to go to the end of the line. ์ถ์ฒ: https://stackoverflow.com/questions/9679776/how-do-i-clear-delete-the-current-line-in-terminal
https://gist.github.com/ihoneymon/652be052a0727ad59601#file-how-to-write-by-markdown-md ๋งํฌ๋ค์ด(Markdown) ์ฌ์ฉ๋ฒ ๋งํฌ๋ค์ด(Markdown) ์ฌ์ฉ๋ฒ. GitHub Gist: instantly share code, notes, and snippets. gist.github.com
๋ธ๋ก๊น ์ ํ๋ค ๋ณด๋ฉด ํํ ๋ฌธ๋ฒ์ ๊ฐ์กฐํด์ ๋ณด์ฌ์ค ๋ ์ฝ๋ ๋ธ๋ก์ ์ฐ๋ ๊ฒ์ ๋ณผ ์ ์๋ค. ์ฌ๋ฌ์ค์ ์ฝ๋๋ฅผ ๋ํ๋ด๋ ์ฝ๋๋ธ๋ญ์ ๊ฒฝ์ฐ ์ฝ๋๋ธ๋ญ์ ์์๊ณผ ๋์ ``` ์ผ๋ก ๊ฐ์ธ๊ณ ๋ด๋ถ์ ์ฝ๋๋ฅผ ์์ฑํ๋ฉด ๋๋ค. // ๊ธฐ๋ณธ ๋ณ์ฐ๊ธฐ var star = ''; for (var i = 0; i < 10; i++) { for (var j = 0; j

โถ Indentation – ๋ค์ฌ์ฐ๊ธฐ Good: if (condition) { action(); } // ์ฝ๋์ ๋ก์ง์ด ๋ช ํํ๊ฒ ์ข ์์ ์ผ๋ก ๋๋๋ ์ฝ๋๋ฅผ ์ธ ๋, // ์ข ์๋ code block๋ ์ฃผ์ธ code block๋ณด๋ค ๋ ์นธ ๋ค์ฌ์ฐ๊ธฐ ํฉ๋๋ค. Bad: if (condition) { action(); } ๋ค์ฌ์ฐ๊ธฐ๋ฅผ ํ ๋ ํญ์ด ์๋ ์คํ์ด์ค๋ฅผ ๊ถ์ฅํฉ๋๋ค. ๋ค์ฌ์ฐ๊ธฐ์ ๊ด๋ จ๋ ํญ๊ณผ ์คํ์ด์ค ์ฌ์ด์ ๋ ผ์์ ํ๋ก๊ทธ๋๋ฐ ์ธ๊ณ์์๋ ์์ฃผ ์ค๋๋ ๋ ผ์์ ๋๋ค. ๊ทธ๋ ๊ธฐ์ ์ทจํฅ์ ์ฐจ์ด์ผ ๋ฟ ์ด๊ฒ์ด ๋ง๋ค ํ๋ฆฌ๋ค์ ๋ฌธ์ ๋ ์๋์ง๋ง, ๋ง์ JavaScript ํ๋ก์ ํธ์์ ๋๋ถ๋ถ์ ํ๋ก์ ํธ๊ฐ 2๊ฐ์ ์คํ์ด์ค๋ฅผ ์ฐ๊ณ ์๊ณ , ์ ์ฐจ ๋ค์ฌ์ฐ๊ธฐ ๋ ผ์์ ์น๋ฆฌ์๊ฐ ๋์์ต๋๋ค. ๋ค์์ ์คํ์์ค ํ๋ก์ ํธ๊ฐ ์งํ์ค์ธ GitHub์์๋, St..
์๋ฐฑ๋ง ๋ช ์ ์ฌ๋๋ค์ด ๋ค์ํ ์ด์ ๋ก ๋งค์ผ Google ๊ฒ์์ ์ฌ์ฉํฉ๋๋ค. ํ์๋ค์ ํ๊ต์์ ์ฌ์ฉํ๊ณ , ๋น์ฆ๋์ค ์ฌ๋๋ค์ ์ฐ๊ตฌ์ ์ฌ์ฉํ๋ฉฐ, ์๋ฐฑ๋ง ๋ช ์ด ์ํฐํ ์ธ๋จผํธ์ ์ฌ์ฉํฉ๋๋ค. ๊ทธ๋ฌ๋ ๋๋ถ๋ถ์ ์ฌ๋๋ค์ Google ๊ฒ์์ ์ต๋ํ ํ์ฉํ์ง ๋ชปํ ์ ์์ต๋๋ค. Google ๊ฒ์์๋ณด๋ค ํจ์จ์ ์ผ๋ก ์ฌ์ฉํ๊ณ ์ํ๋ ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ ๋น ๋ฅด๊ฒ ์ป๊ณ ์ถ์ผ์ญ๋๊น? ๋ค์์ ๊ฒ์ ํจ์จ์ฑ์ ๊ทน๋ํํ๊ธฐ์ํ 20 ๊ฐ์ง Google ๊ฒ์ ํ๊ณผ ์๋ น์ ๋๋ค. 1. ํญ ์ฌ์ฉ ์ฒซ ๋ฒ์งธ ํ์ Google ๊ฒ์์์ ํญ์ ์ฌ์ฉํ๋ ๊ฒ์ ๋๋ค. ๋ชจ๋ ๊ฒ์์ ์๋จ์๋ ์ฌ๋ฌ ํญ์ด ์์ต๋๋ค. ์ผ๋ฐ์ ์ผ๋ก ๋ค์๊ณผ ๊ฐ์ด ํ์๋ฉ๋๋ค ์น , ์ด๋ฏธ์ง , ๋ด์ค , ๊ธฐํ... ์ด๋ฌํ ํญ์ ์ฌ์ฉํ์ฌ ์ํํด์ผํ๋ ๊ฒ์ ์ ํ์ ์ ์ ํ ์ ์์ต๋๋ค. ์ด๋ฏธ์ง๊ฐ ํ์ํ ๊ฒฝ์ฐ ์ด๋ฏธ..
๋ฌธ) ์์ด๋๊ฐ "javascript"์ด๊ณ , ๋ด์ฉ์ด "awesome"์ธ a ํ๊ทธ๋ฅผ ์์ฑํ๊ธฐ ์ํด ์ณ์ ๋ฐฉ๋ฒ์? let aElement = document.createElement('a') aElement.setAttibute('id', 'javascipt') aElement.textContent = 'awesome' /* ์ด ๋ฐฉ๋ฒ์ด ๊ฐ์ฅ ์ ํฉํฉ๋๋ค. setAttribute ๋ฉ์๋๋ฅผ ํตํด์ ๋ช ํํ๊ฒ ์ด๋ค ๊ฐ์ด key์ด๊ณ value์ธ์ง ์ง์ ํด์ฃผ์๊ณ , textContent๋ฅผ ์ฌ์ฉํ๊ธฐ ๋๋ฌธ์ ๋๋ค. */ let aElement = document.createElement('a') aElement.id = 'javascipt' aElement.innerHTML = 'awesome' /* ์ด ๋ฐฉ๋ฒ๋ ๋๊ธด ํ๋๋ฐ, in..
๋ฌธ์ : ์ฝ๋๊ฐ ์คํ๋ ํ, x.foo์ ๊ฐ์ ๋ฌด์์ผ๊น์? let x = { foo: 3 }; let y = x; y.foo = 2; // ์ค๋ต : 3 // ์ ๋ต : 2; ๋๋ณด๊ธฐ ํด์ค ์๋ฐ์คํฌ๋ฆฝํธ์์ ์์ ์๋ฃํ์ด ์๋ ๋ชจ๋ ๊ฒ์ Object ์ ๋๋ค. ๋ฐฐ์ด([])๊ณผ ๊ฐ์ฒด({}), ํจ์(function(){})๊ฐ ๋ํ์ ์ ๋๋ค. ์ด๋ฐ ์๋ฃํ์ ์ฐธ์กฐ ์๋ฃํ (reference data type)์ด๋ผ๊ณ ๋ถ๋ฆ ๋๋ค. ์ฐธ์กฐ ์๋ฃํ์ด ๋ณ์์ ํ ๋น๋๋ ๊ฒฝ์ฐ๋, ๋ณ์์ ์ด ๋ฐ์ดํฐ๊ฐ ์ ์ฅ๋๋ ๊ณณ์ ์ฃผ์๊ฐ ํ ๋น์ด ๋ฉ๋๋ค. ๋ณ์๋ ์ฌ์ค ์ปดํจํฐ์ ๋ฉ๋ชจ๋ฆฌ์ ๋ฌด์ธ๊ฐ๋ฅผ ์ ์ฅํ๋ ๊ฒ์ ๋ณด๋ค ์ธ๊ฐ์ด ์ดํดํ๊ธฐ ์ฝ๊ฒ ํ๊ธฐ ์ํด์ ๋ง๋ ๊ฐ๋ ์ ๋๋ค. ๊ทธ๋ ๊ธฐ ๋๋ฌธ์ ๋ณ์์ ์ ์ธ์ ๋ฉ๋ชจ๋ฆฌ์ ์๋ฆฌ๋ฅผ ์ก๋ ๊ฒ์ด๊ณ , ๊ฐ์ ํ ๋น์ ๋ฉ๋ชจ๋ฆฌ์ ๊ฐ์ ์ฑ์ฐ๋ ๊ฒ์ด..