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

์„ ํ˜ธํ•˜๋Š”๊ฐœ๋ฐœ

(35)
javascript ๊ถŒํ•œ ๊ด€๋ จํ•˜์—ฌ ๊ฐ’ ์ฒ˜๋ฆฌํ•˜๊ธฐ & ๋น„ํŠธ์—ฐ์‚ฐ์œผ๋กœ๋„ ๊ฐ€๋Šฅํ•˜๋‚˜, ๊ฐœ์ธ์ ์œผ๋กœ ์œ ์ง€๋ณด์ˆ˜ ๋ฐ ๋ณด๊ธฐ์— ๋ถˆํŽธ 1,2,4,8,16,32,64,128..... //1(๊ถŒํ•œ1), 2(๊ถŒํ•œ2), 4(๊ถŒํ•œ3) //๊ถŒํ•œ1๋งŒ ์„ ํƒ๋œ๊ฒฝ์šฐ 1 console.log(0 & 1) //0 False console.log(1 & 1) //1 var inputValue = 1; if(inputValue & 1) { //true ์ด๋ฒคํŠธ } if(inputValue & 2) { //False ์ด๋ฒคํŠธ } if(inputValue & 3) { //False ์ด๋ฒคํŠธ } if(inputValue & 4) { //False ์ด๋ฒคํŠธ } if(inputValue & 5) { //False ์ด๋ฒคํŠธ } //๊ถŒํ•œ1 ๊ณผ ๊ถŒํ•œ3 ๋‘˜๋‹ค ์„ ํƒ๋œ๊ฒฝ์šฐ 1+4 = 5 console.log(1 & 1) //..
ํ˜•์ƒ๊ด€๋ฆฌ github ๋ฌด๋ฃŒ๋กœ ์‚ฌ์šฉํ•˜๊ธฐ!! ๋ฌด๋ฃŒ๋„ ์†Œ์Šค์ฝ”๋“œ Private ๋น„๊ณต๊ฐœ๋กœ ํ•  ์ˆ˜ ์žˆ์–ด์š”!! ์ฐธ๊ณ  ์‚ฌ์ดํŠธ https://goddaehee.tistory.com/218 https://post.naver.com/viewer/postView.nhn?volumeNo=24622891&memberNo=42458017 https://github.com/join/get-started 1. git ์‚ฌ์ดํŠธ์— ๋“ค์–ด๊ฐ€์„œ ์šฐ์„  ๊ณ„์ •์ƒ์„ฑ 2. ๊ฐ€์ž…์ ˆ์ฐจ ๋งˆ์ง€๋ง‰์œผ๋กœ ์ด๋ฉ”์ผ ์ธ์ฆ 3. Create a repository ๋ˆŒ๋Ÿฌ์„œ, Private ์œผ๋กœ ์ƒ์„ฑํ•˜๋ฉด ์†Œ์Šค ๋…ธ์ถœ ์—†์ด ๋น„๊ณต๊ฐœ๋กœ ํ˜•์ƒ ๊ด€๋ฆฌ ๊ฐ€๋Šฅ!!! ๊ฐ™์€ ์ฃผ์†Œ๋กœ ๋น„๋กœ๊ทธ์ธ์ƒํƒœ์—์„œ ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž๊ฐ€ ์ ‘๊ทผํ•˜์ง€ ๋ชปํ•˜๋Š”๊ฑธ ํ™•์ธ์™„๋ฃŒ!!! ์„ค์ •์ฐฝ์—์„œ๋„ ํ˜„์žฌ ์ ‘๊ทผ ๊ฐ€๋Šฅํ•œ ๊ถŒํ•œ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์—ˆ์–ด์š”!! https://github.com/burningnow/history/settings/acc..
.net ์„œ๋ฒ„์—์„œ samesite ๋ฌธ์ œ ํ•ด๊ฒฐ! ํŒจ์น˜๋งŒ ํ•ด์ฃผ๋ฉด ๋!! ๊ฒฐ๋ก ๋ถ€ํ„ฐ ๋งํ•˜์ž๋ฉด, .net framework 4.8 ์ „์ฒด๋ฒ„์ „ ๊น”๋ฉด, web.config ๋ฐ ์„œ๋ฒ„, ํ”„๋กœ์ ํŠธ ๋ณ„๋„ ์„ค์ • ํ•„์š”์—†์ด samesite ์ฟ ํ‚ค ๋ฌธ์ œ ํ•ด๊ฒฐ!! ms ๋‹ค์šด๋กœ๋“œ ๊ฒฝ๋กœ https://support.microsoft.com/ko-kr/help/4503548/microsoft-net-framework-4-8-offline-installer-for-windows https://support.microsoft.com/ko-kr/help/4503548/microsoft-net-framework-4-8-offline-installer-for-windows ์ฟ ํ‚ค๊ฐ€ ์‚ฌ์šฉ๋˜๊ณ  ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ฟ ํ‚ค๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ํŽ˜์ด์ง€๋ฅผ ์ƒˆ๋กœ ๊ณ ์น˜์„ธ์š”. support.microsoft.com ํ˜น์‹œ๋‚˜, ms ํŽ˜์ด์ง€ ์—†์–ด์งˆ ๊ฒฝ์šฐ..
์˜คํ† ํ•ซํ‚ค ์‹œ๊ฐ„๋Œ€๋ณ„ ๊ธฐ๋Šฅ ๋™์ž‘ ์—ฌ๋ถ€ ์ฒดํฌํ•˜๊ธฐ ISMS๋กœ ์ธํ•ด, ํ™”๋ฉด๋ณดํ˜ธ๊ธฐ ์‹œ๊ฐ„์„ค์ •์„ ์ •์ฑ…์œผ๋กœ ๋ง‰ํ˜€์„œ, ์ˆ˜์ •์„ ํ•  ์ˆ˜ ์—†์–ด์„œ.... ๋งˆ์šฐ์Šค๊ฐ€ 5๋ถ„์— ํ•œ๋ฒˆ์”ฉ ์›€์ง์ด๋„๋ก!! FormatTime, TimeStringH, , H FormatTime, TimeStringM, , mm Hour := TimeStringH ; := ๋ณ€์ˆ˜ ๋˜๋Š” ์ˆซ์ž๋กœ ์ธ์‹, = ๋ฌธ์ž๋กœ ์ธ์‹ Minute := TimeStringM CurrentTime := Hour * 100 + Minute if((900
javascript ๊ณต๋ฐฑ ๋ฐ null ์ฒดํฌ ๋ฉ”๋ชจ javascript ๊ณต๋ฐฑ ๋ฐ null ์ฒดํฌ์ถ”๊ฐ€!! ์ž๋ฃŒํ˜•์— ์ƒ๊ด€์—†์ด ๊ฐ’์˜ ์กด์žฌ ์œ ๋ฌด ํ™•์ธ, true:์žˆ์Œ, false:์—†์Œ ([], {} ๋„ ๋นˆ๊ฐ’) ์•„๋ž˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค. //์ž๋ฃŒํ˜•์— ์ƒ๊ด€์—†์ด ๊ฐ’์˜ ์กด์žฌ ์œ ๋ฌด ํ™•์ธ, true:์žˆ์Œ, false:์—†์Œ ([], {} ๋„ ๋นˆ๊ฐ’) function isExist(val) { if (val == "" || val == null || val == undefined || val == "undefined" || (val != null && typeof val == "object" && !Object.keys(val).length)) { return false; } else { return true; } } var ckVal = $.cookie('CookieValue'); i..
classic asp ์—์„œ ํ•œ๊ธ€๊นจ์ง ์ฒ˜๋ฆฌ!! IE์™€ ๊ทธ์™ธ ๋ธŒ๋ผ์šฐ์ € ๋ณ„๋„ ์ฒ˜๋ฆฌ, ์ ‘์† ๋ธŒ๋ผ์šฐ์ € ์ฒดํฌ ๊ตฌ๊ธ€๋ง์„ ์•„๋ฌด๋ฆฌ ํ•ด๋„, ๊ทธ์ € ํ•œํŽ˜์ด์ง€ ์ „์ฒด๋ฅผ ๋ณ€๊ฒฝํ•˜๋Š” ๋‚ด์šฉ๋ฐ–์— ์—†์–ด์„œ.....ํ—ค๋งค๋‹ค๊ฐ€.... ๊ทธ๋Ÿฌ๋‹ค ๋ฌธ๋“ ์žฌ์„ ์–ธ์„ ํ†ตํ•ด ๊ฐ€๋Šฅํ•  ๊ฒƒ ๊ฐ™์•„์„œ ํ–ˆ๋”๋‹ˆ!!! ํ•ด๊ฒฐ~ ํ–ˆ๋‹ค๊ณ  ์ƒ๊ฐํ–ˆ์ง€๋งŒ ieํ•˜๊ณ , ํฌ๋กฌํ•˜๊ณ  ๋‹ค๋ฅด๊ฒŒ ์ ์šฉ์„ ํ•ด์•ผ ํ•œ๋‹ค๋Š”๊ฒƒ์„ ๋ฐœ๊ฒฌํ•˜๊ณ  ๋‹ค์‹œ ์ˆ˜์ •ํ•˜์—ฌ ์™„์„ฑ!!โ€‹ ์ž‘์—…ํ•œ ๋‚ด์šฉ์„ ๊ฐ„๋‹จํ•˜๊ฒŒ ์ ์–ด๋ณด๋ฉด ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. 1. escape, unescape ์„œ๋ฒ„ ํ•จ์ˆ˜๋กœ ์„ ์–ธ 2. Request.ServerVariables("HTTP_USER_AGENT") ์—์„œ msie ์™€ trident ์ธ๊ฒฝ์šฐ๋ฅผ ie ์ธ ๊ฒƒ์œผ๋กœ ์ฒดํฌ (msie ์ฐพ๋Š”๊ฑด ์˜ˆ์ „ ๋ฐฉ์‹์ธ๊ฒƒ ๊ฐ™๊ณ , ์‹ค์ œ Request.ServerVariables("HTTP_USER_AGENT") ๋ฟŒ๋ ค๋ณด๋ฉด, trident ๊ฐ€ ie์—๋งŒ ์žˆ๋Š”๊ฒƒ์„ ํ™•์ธํ•จ) 3. ie์ธ ๊ฒฝ์šฐ์— euc-..
node.js ๋ฉ”๋ชจ(2) command prompt ์‹œ์ž‘์œ„์น˜ ๋ณ€๊ฒฝ! Windows ๋ฐ”๋กœ ๊ฐ€๊ธฐ ๊ฒฝ๋กœ ๋ณ€๊ฒฝ node.js command prompt ๋ฅผ ์‹คํ–‰ํ•˜๋ฉด ๊ธฐ๋ณธํด๋”๋กœ ๋œจ๋Š”๋ฐ! ๋‚ด ํ”„๋กœ์ ํŠธ์˜ ๊ฒฝ๋กœ๋ฅผ ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ํ•œ๋ฒˆ ๋ฐ”๊ฟ” ๋†“์œผ๋ฉด ๋งค๋ฒˆ ๋ณ€๊ฒฝ ํ•  ํ•„์š”๊ฐ€ ์—†์Œ~~ โ€‹ 1. ๋‚ด ํ”„๋กœ์ ํŠธ์˜ ๊ฒฝ๋กœ๋ฅผ ๋ณต์‚ฌ 2. node.js command prompt ๋ฐ”๋กœ ๊ฐ€๊ธฐ ์†์„ฑ ์—ด๊ธฐ ๋Œ€์ƒ(T) ๊ฒฝ๋กœ๋’ค์— ๋ณต์‚ฌํ•œ ๋‚ด ํ”„๋กœ์ ํŠธ ๊ฒฝ๋กœ๋ฅผ ๋ถ™์—ฌ๋„ฃ๊ณ  ํ™•์ธํ•˜๋ฉด ๋!! C:\Windows\System32\cmd.exe /k "C:\Program Files\nodejs\nodevars.bat" ์ด ๋’ท๋ถ€๋ถ„์— && cd ๋‚ด ํ”„๋กœ์ ํŠธ ๊ฒฝ๋กœ ์˜ˆ) && cd C:\SITE\nodejs C:\Windows\System32\cmd.exe /k "C:\Program Files\nodejs\nodevars.bat" && cd C:\SITE\nodejs ์ถ”๊ฐ€์ ์œผ๋กœ ..
node.js ๋ฉ”๋ชจ(1) node.js์™€ NPM ๊ฐœ๋… ์žก๊ธฐ node.js ์™€ NPM ๊ฐœ๋…์„ ๊ฐ„๋‹จํ•˜๊ฒŒ ์ •๋ฆฌ ํ•ด๋†“์€ ๊ธ€์ด ์žˆ์–ด ๋ฉ”๋ชจํ•ด์š”~ https://kdydesign.github.io/2017/07/15/nodejs-npm-tutorial/ ๋น ๋ฅด๊ฒŒ ๋ฐฐ์šฐ๋Š” Node.js์™€ NPM ์„ค์น˜๋ถ€ํ„ฐ ๊ฐœ๋…์žก๊ธฐ node.js์™€ npm ๊ธฐ์ดˆ ์™„๋ฒฝ ๊ฐ€์ด๋“œ!! node.js์™€ npm์„ ์„ค์น˜ํ•ด๋ณด๊ณ  ๊ฐœ๋…๋„ ์žก์•„๋ณด์ž. ๊ทธ๋ฆฌ๊ณ  ๋” ๋‚˜์•„๊ฐ€ IntelliJ์—์„œ npm์„ ์–ด๋–ป๊ฒŒ ์‚ฌ์šฉํ•˜๋Š”์ง€ ์•Œ์•„๋ณด์ž. node.js์™€ npm์€ ์›น ๊ฐœ๋ฐœ์— ์ข…์‚ฌํ•˜๊ณ  ์žˆ๋Š” ๊ฐœ๋ฐœ์ž๋ผ๋ฉด ์›ฌ๋งŒํ•ด์„œ๋Š” ์•Œ๋งŒํผ ์ค‘์š”ํ•œ ๊ธฐ์ˆ  ์ค‘์˜ ํ•˜๋‚˜์ด๋‹ค. ๋งŽ์ด ๋“ค์–ด๋ณด๊ธฐ๋„ ํ–ˆ์„ ๊ฒƒ์ด๋‹ค. ์ด์™€ ๊ด€๋ จ๋œ ํฌ์ŠคํŒ…๋„ ๋งŽ๊ณ  ์ •๋ณด๋„ ๋งŽ์œผ๋‹ˆ๊นŒ. kdydesign.github.io ์•„๋ž˜๋Š” ์œ„๋งํฌ์˜ ๊ฐ„๋žต ์ •๋ฆฌ. ์œ„ ๋งํฌ์—์„œ ๊ฐœ๋… ์žก์•„ ๋ณด์„ธ์š”~ โ€‹ node.js๋Š” J..