- ์ด ์ ์ฅ์๋ฅผ fork ํ๋ค.
- ์์ฑ๋ ์๊ฒฉ ์ ์ฅ์์ ์์ ์ ์ด๋ฆ์ผ๋ก ํด๋๋ฅผ ์์ฑํ๋ค.
- LeetCode์ Top Interview Questions๋ฅผ ํ๊ณ , ์์ ์ ํด๋ ํ์์ ๋ฌธ์ ์ด๋ฆ์ผ๋ก ์๋ก์ด ํด๋๋ฅผ ์์ฑํ๋ค.
๋ฌธ์ ๋ด์ฉ์ ๋ด์ README.md ํ์ผ๊ณผ ์ฝ๋ ํ์ผ์ ์ถ๊ฐํ๋ค. - ์ด ์ ์ฅ์๋ก Pull Request๋ฅผ ํ๋ค. (๋งค์ฃผ ์, ๋ชฉ 11:59:59 ๋ง๊ฐ)
- ๋ค์ Pull Request๋ฅผ ์ฌ๋ฆฌ๊ธฐ ์ ๊น์ง ๋ค๋ฅธ ์ฌ๋์ ์ฝ๋๋ฅผ ๋ฆฌ๋ทฐํ๊ณ , ์์ ์ ์ด์ PR์ ๋จธ์งํ๋ค.
- ์ ๋ชฉ:
๋ฒํธ. ๋ฌธ์ ์ด๋ฆ / ๋์ด๋ / ์ธ์ด
ex)1. Two Sum / Easy / Python - 1๋ช ์ด์์ Approve๋ฅผ ๋ฐ์์ผ ๋จธ์งํ ์ ์๋ค.
-
LeetHub ์์ ๋ณธ ์ ์ฅ์์์ ์ฝ๋๋ฅผ ๋ก์ปฌ์ ๋ฐ๋๋ค.
-
scripts/leetcode.js์์ ์๋์ ๊ฐ์ด ์ฝ๋๋ฅผ ์์ ํ๋ค.diff --git a/scripts/leetcode.js b/scripts/leetcode.js index b1b104f..baf9235 100644 --- a/scripts/leetcode.js +++ b/scripts/leetcode.js @@ -67,7 +67,7 @@ const upload = ( cb = undefined, ) => { // To validate user, load user object from GitHub. - const URL = `https://api.github.com/repos/${hook}/contents/${directory}/${filename}`; + const URL = `https://api.github.com/repos/${hook}/contents/${์ ์ฅ์์ ํด๋๋ช }/${directory}/${filename}`; /* Define Payload */ let data = { @@ -137,7 +137,7 @@ const update = ( prepend, cb = undefined, ) => { - const URL = `https://api.github.com/repos/${hook}/contents/${directory}/README.md`; + const URL = `https://api.github.com/repos/${hook}/contents/${์ ์ฅ์์ ํด๋๋ช }/${directory}/README.md`; /* Read from existing file on GitHub */ const xhr = new XMLHttpRequest();
-
๋ธ๋ผ์ฐ์ ์์ chrome://extensions๋ฅผ ์ฐ๋ค.
-
๊ฐ๋ฐ์ ๋ชจ๋ ํ์ฑํ ํ '์์ถํด์ ๋ ํ์ฅ์ฑ ์ค์น'
-
LeetHub์ root ๊ฒฝ๋ก๋ฅผ ์ ํํ๋ค.
-
์ฃผ์์ฐฝ ์ค๋ฅธ์ชฝ์ ์ถ๊ฐ๋ LeetHub ํ์ฅ์ฑ ์์ด์ฝ์ ํด๋ฆญํ๊ณ ์๋์ ๊ฐ์ ๋ฐฉ๋ฒ์ผ๋ก forkํ ์ ์ฅ์๋ฅผ ์ฐ๋ํ๋ค.
After installation, launch LeetHub.
Click on "authorize with GitHub" button to automatically set up your account with LeetHub.
Setup an existing/new repository with LeetHub (private by default) by clicking "Get Started" button.
Begin Leetcoding! To view your progress, simply click on the extension! -
LeetCode์์ ๋ฌธ์ ๋ฅผ ํ๊ณ submit์ ๋๋ฅด๋ฉด forkํ ์ ์ฅ์์ ์๋์ผ๋ก ์ปค๋ฐ์ด ๋๋ค.