๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ221

2023๋…„ ์ผ์šฉ์ง ์†Œ๋“์„ธ ๊ณ„์‚ฐ๊ธฐ 2023๋…„ ์ผ์šฉ์ง ์†Œ๋“์„ธ ๊ณ„์‚ฐ๊ธฐ ์•„๋ž˜๋Š” JavaScript๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ผ์šฉ์ง ๊ทผ๋กœ์ž์˜ ์†Œ๋“์„ธ๋ฅผ ๊ณ„์‚ฐํ•˜๋Š” ๊ฐ„๋‹จํ•œ ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค. function calculateTax(dailyWage) { const basicDeduction = 150000; // ๊ธฐ๋ณธ๊ณต์ œ์•ก const taxRate = 0.06; // ์„ธ์œจ const taxDeductionRate = 0.55; // ์„ธ์•ก๊ณต์ œ์œจ const localTaxRate = 0.1; // ์ง€๋ฐฉ์„ธ์œจ // ๊ณผ์„ธํ‘œ์ค€ ๊ณ„์‚ฐ const taxableIncome = dailyWage - basicDeduction; if (taxableIncome 2023. 7. 3.
iptime ๋น„๋ฐ€๋ฒˆํ˜ธ ์ฐพ๊ธฐ, NETGEAR, ASUS, TP-LINK, LINKSYS ๊ณต์œ ๊ธฐ ๋น„๋ฒˆ์ฐพ๊ธฐ, ์™€์ดํŒŒ์ด ๋น„๋ฒˆ ์•Œ์•„๋‚ด๊ธฐ IPTIME, NETGEAR, ASUS, TP-LINK, LINKSYS: ์™€์ดํŒŒ์ด ๋น„๋ฐ€๋ฒˆํ˜ธ ์„ค์ • ๋ฐ ๊ณต์œ ๊ธฐ ์ดˆ๊ธฐํ™” ์•ˆ๋‚ด ์†Œ๊ฐœ PC์— ์•‰์•„์„œ ์„œํ•‘ํ•˜๊ธฐ๋ณด๋‹ค๋Š” ์ด์ œ๋Š” ํ•ธ๋“œํฐ์œผ๋กœ ์„œํ•‘ํ•˜๋Š” ์‹œ๋Œ€์—, ๊ณต์œ ๊ธฐ ์—†๋Š” ํ™˜๊ฒฝ์€ ์ƒ์ƒํ•˜๊ธฐ ์–ด๋ ค์šด ์‹œ๋Œ€๋ฅผ ์‚ด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์ง‘ ์•ˆ์ด๋‚˜ ์ง€ํ•˜์ฒ , ๊ฑด๋ฌผ ๋‚ด์—์„œ ๊ณต๊ฐœ Wi-Fi๋ฅผ ์ฐพ๋Š” ๊ฒƒ์€ ๋‹น์—ฐํ•œ ์ผ์ƒ์ด ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ๋น„๋ฐ€๋ฒˆํ˜ธ ์—†๋Š” ๊ณต๊ฐœ Wi-Fi๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ๋ณด์•ˆ์— ๋Œ€ํ•œ ์šฐ๋ ค๊ฐ€ ์ƒ๊น๋‹ˆ๋‹ค. ์ง‘์—์„œ ์‚ฌ์šฉํ•˜๋Š” ๊ณต์œ ๊ธฐ๋Š” ipTime ๊ณต์œ ๊ธฐ์ž…๋‹ˆ๋‹ค. ๋ณด์•ˆ์„ ์œ„ํ•ด ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์„ค์ •ํ•˜์˜€์ง€๋งŒ ๊ฐ€๋” ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์žŠ๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฒŒ๋‹ค๊ฐ€ ๊ณต์œ ๊ธฐ ๊ด€๋ฆฌ์ž ๊ณ„์ • ์•”ํ˜ธ๋„ ๊ธฐ์–ตํ•˜์ง€ ๋ชปํ•  ๋•Œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์•„์ดํ”ผํƒ€์ž„ ๋น„๋ฐ€๋ฒˆํ˜ธ ์•Œ์•„๋‚ด๊ธฐ ์œ„ํ•ด ์˜จ๊ฐ– ๋…ธ๋ ฅ์„ ํ•ด๋„ ํ—ˆ์‚ฌ์ผ ๋•Œ๊ฐ€ ๋งŽ์Šต๋‹ˆ๋‹ค. ์ด๋Ÿฐ ๊ฒฝ์šฐ ๊ณต์œ ๊ธฐ๋ฅผ ์ดˆ๊ธฐํ™”ํ•˜๊ฑฐ๋‚˜.. 2023. 6. 26.
์ฑ—GPT ๋กœ๋˜ ๋‹น์ฒจ๋ฒˆํ˜ธ ์˜ˆ์ธก lotto 1073ํšŒ ๋ถ„์„ 1034 26 31 32 33 38 40 11 1035 9 14 34 35 41 42 2 1036 2 5 22 32 34 45 39 1037 2 14 15 22 27 33 31 1038 7 16 24 27 37 44 2 1039 2 3 6 19 36 39 26 1040 8 16 26 29 31 36 11 1041 6 7 9 11 17 18 45 1042 5 14 15 23 34 43 4 1043 3 5 12 22 26 31 19 1044 12 17 20 26 28 36 4 1045 6 14 15 19 21 41 37 1046 7 16 25 29 35 36 28 1047 2 20 33 40 42 44 32 1048 6 12 17 21 32 39 30 1049 3 5 13 20 21 37 17 1050 6 .. 2023. 6. 23.
yarn install error Unexpected token \u0000 in JSON at position yarn install ํ•  ๋•Œ ๊ฐ„ํ˜น ๋งŒ๋‚˜๊ฒŒ ๋˜๋Š” error Unexpected token \u0000 in JSON at position ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• npm cache verify ํ•˜์ง€๋งŒ ๋ณ„ ์†Œ์šฉ์ด ์—†๋‹ค. ์–ด์ฐจํ”ผ ๋‚˜๋Š” ์–€ ์ธ์Šคํ†จ์„ ์‚ฌ์šฉํ•  ๊ฒƒ์ด๋ฏ€๋กœ... yarn cache clean yarn cache clean ๋ช…๋ น์„ ์‚ฌ์šฉํ•ด์„œ ์–€ ์บ์‹œ๋ฅผ ์ง€์šด๋‹ค. PS D:\Work\seoul\ams\ams-front> cd .\frontend\ PS D:\Work\seoul\ams\ams-front\frontend> yarn install yarn install v1.22.10 resolution inconsistencies caused by unsynchronized lock files. To clear this war.. 2022. 12. 22.
vs code Git Remote repository url ๋ณ€๊ฒฝ ๐Ÿ“Œ vscode๊ฐ€ git ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์‚ฌ์šฉํ•˜๊ธด ํ•ด๋„, ๊ธฐ๋ณธ์ ์œผ๋กœ vscode๋Š” vscode์ด๊ณ , git์€ git์ด๋‹ค. vscode๋Š” git์„ ์ž˜ ์ด์šฉํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ด ์ฃผ๋„๋ก ํ”Œ๋Ÿฌ๊ทธ์ธ์œผ๋กœ interface๋งŒ ์ œ๊ณตํ•œ๋‹ค๊ณ  ๋ณด๋ฉด ๋œ๋‹ค. Git Remote repository url ๋ณ€๊ฒฝ์€ ๊ธฐ์กด์˜ ๋ฆฌ๋ชจํŠธ origin์„ ์ œ๊ฑฐํ•˜๊ณ , ์ƒˆ repository url์„ ์ž…๋ ฅํ•ด์ฃผ๋ฉด ๋œ๋‹ค. ์ˆœ์„œ๊ฐ€ ๋ฐ”๋€Œ๋ฉด ๋‹น์—ฐํžˆ ์•ˆ๋œ๋‹ค. ์ด ์ž‘์—…์„ ํ•˜๊ธฐ ์ „์— git ๋ฆฌํฌ์ง€ํŠธ๋ฆฌ๋ฅผ ๊นจ๋—์ด ํ•ด ์ค„ ํ•„์š”๊ฐ€ ์žˆ๋‹ค. git pull git add . git commit -m "clean push" git push ๊ทธ๋Ÿฐ ๋’ค์— Remote origin์„ ์ œ๊ฑฐํ•œ๋‹ค. git remote remove origin ๋‹ค์‹œ ์ด ์ƒํƒœ์—์„œ ์ƒˆ Remote repository.. 2022. 11. 7.
javascript classList.toggle๋กœ jquery addClass, removeClass, toggleClass ๊ตฌํ˜„ํ•˜๊ธฐ / ๋”๋ณด๊ธฐ ๋ฒ„ํŠผ ํด๋ฆญ์‹œ ์˜์—ญ ํ™•์žฅ Javascript classList.toggle๋กœ jQuery addClass, removeClass, toggleClass ๊ตฌํ˜„ํ•˜๊ธฐ / ๋”๋ณด๊ธฐ ๋ฒ„ํŠผ ํด๋ฆญ์‹œ ์˜์—ญ ํ™•์žฅ ์„œ๋ก  Javascript์™€ React์—์„œ ๋”๋ณด๊ธฐ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ๋‚ด์šฉ์ด ํ™•์žฅ๋˜๋Š” ์ปดํฌ๋„ŒํŠธ๋ฅผ ๊ตฌํ˜„ํ•ด๋ณด๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ์œ„ํ•ด์„œ jQuery๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ๊ฐ„๋‹จํ•˜์ง€๋งŒ, React์—์„œ๋Š” ๋ถˆํŽธํ•จ์ด ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ์šฐ๋ฆฌ๋Š” ref์™€ useState๋ฅผ ํ™œ์šฉํ•˜์—ฌ ๋” ๊ฐ„ํŽธํ•˜๊ฒŒ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ๋ธ”๋กœ๊ทธ ํฌ์ŠคํŒ…์—์„œ๋Š” classList.toggle ๋ฉ”์„œ๋“œ๋ฅผ ํ™œ์šฉํ•˜์—ฌ jQuery์˜ addClass, removeClass, toggleClass๋ฅผ ๊ตฌํ˜„ํ•ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ, ๋”๋ณด๊ธฐ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ์˜์—ญ์„ ํ™•์žฅํ•˜๋Š” ์˜ˆ์ œ๋„ ํ•จ๊ป˜ ์ œ์‹œํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. class.. 2022. 11. 2.