본문 바로가기

반응형

IT/ETC

(70)
es6 var while can be called multiple times, let acts like variable from java, can be called only once if it is declared globally. var acts as global variable all the time while let functions only in the declared block. const is final from java. arrow syntax function is lamba from java. javascript allows for default value
JSON APIs and Ajax document.addEventListener('DOMContentLoaded', function(){ // Add your code below this line // Add your code above this line }); document.getElementsByClassName('')[0].textContent = 'dd'; json apis are sent in bytes, application receives it as string. in order to use it in javascript, it needs to be converted into javascript object. JSON.parse does that for us. document.addEventListener('DOMConte..
Basic Javascript JavaScript provides seven different data types which are undefined, null, boolean, string, symbol, number, and object. When JavaScript variables are declared, they have an initial value of undefined. If you do a mathematical operation on an undefined variable your result will be NaN which means "Not a Number". If you concatenate a string with an undefined variable, you will get a literal string ..
jsp에서 컨트롤러갈때 한글 깨짐현상(02/07/20 cudo notes 5) 해당 apache server.xml에 URIEncoding="UTF-8" 를 추가하자. 이방식은 get만 적용이되니 form태그를 get방식으로 보내야한다.
mysql password change(02/06/20 cudo notes 4) sudo mysqld_safe --skip-grant-tables mysql -u root -p UPDATE mysql.user SET authentication_string=null WHERE User='root'; FLUSH PRIVILEGES; exit; mysql -u root ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'yourpasswd';
Applied Accesbility - groups content - groups related content - groups independent, self-contained content ---- What level ninja are you? Newbie Kitten Developing Student Master display: flex; flex-direction: row or column; example : body { font-family: Arial, sans-serif; } header, footer { display: flex; flex-direction: row; } header .profile-thumbnail { width: 50px; height: 50px; border-radius: 4px; } header .pro..
Basic settings for web(02/05/20 cudo notes 3) Activity 생명주기 존재하지 않음 -> onCreate() -> onStart -> onResume -> onPause() -> onStop() -> onDestroy -> 존재하지 않음 Problem 1 : If Android Emulator screen does not flip to landscape mode, check if flipping is blocked on avd manager. allow flipscreen on avd manager. ----------------- Basic web.xml settings you need 1. welcome file list for start up / 2. for database access contextConfigLocation /WEB-INF/..
안드로이드 스튜디오 계산기 mainactivity.java 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 12..

반응형