Skip to content

Instantly share code, notes, and snippets.

View SooJungChae's full-sized avatar

Soojung Chae SooJungChae

  • South Korea
View GitHub Profile
@SooJungChae
SooJungChae / BoardTemplate.tsx
Created March 10, 2021 00:29
react-quill custom image loader in functional component
function imageHandler() {
const input = document.createElement('input');
// Open file select window
input.id = 'tempInput';
input.setAttribute('type', 'file');
input.setAttribute('accept', 'image/*');
input.click();
// When file selected
@SooJungChae
SooJungChae / problem-chromedriver.md
Created May 16, 2021 12:33
python ํ”„๋กœ์ ํŠธ์—์„œ chromedriver ์„ค์น˜ํ•˜๊ธฐ

๋ฌธ์ œ์ƒํ™ฉ

python ์—์„œ chromedriver ์„ค์น˜ํ•˜๋Š” ์ƒํ™ฉ.

๋‚ด ํฌ๋กฌ ๋ธŒ๋ผ์šฐ์ € ๋ฒ„์ „๊ณผ ์ผ์น˜ํ•˜๋Š” ํŒŒ์ผ์„ ์ฐพ์•„์„œ ๋‹ค์šด๋ฐ›์•˜๋‹ค. https://chromedriver.chromium.org/downloads

์••์ถ•์„ ํ’€์—ˆ๋Š”๋ฐ chromedriver ๋ผ๋Š” ๋นˆ ํŒŒ์ผ๋งŒ ๋‚˜์˜จ๋‹ค. (Unix ์‹คํ–‰ ํŒŒ์ผ์ด ๋‚˜์™€์•ผํ•œ๋‹ค.)

@SooJungChae
SooJungChae / README.md
Last active August 19, 2021 06:28
Next.js environment order test

env.local overwrites env.development / env.production overwrites env

env.test overwrites all when test environment (jest, sentry...)


env.local apply values on every environment (except .env.test? test later...)

env.development apply values when npm run dev

@SooJungChae
SooJungChae / how-to-set-personal-access-token.md
Last active October 4, 2021 07:37
How to use Personal access token in git
  1. github
  2. settings > Developer settings
  3. Personal access token > Generate new token > Copy and store somewhere that token!
  4. Mac spotlight > "keychain Access.app"
  5. Select git account
  6. Select "Show password" > Enter Mac login password

แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2021-10-04 แ„‹แ…ฉแ„’แ…ฎ 4 33 07

  1. Paste copied Personal access token > Save
  2. Test git fetch