일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 알고리즘
- 이렇게살아야되나자괴감이
- 스프링
- 알게뭐냐
- 지뢰찾기
- cross parameter
- Kotlin
- Spring
- LastModified
- 지수반등
- jsr380
- kotliln
- 브로틀리
- cache-control
- 클래스레벨밸리데이션
- jsr303
- 랜선아미안해
- 리얼월드HTTP
- 워드프레스
- etag
- brotli
- 코드스피츠
- HTTP
- 개미수열
- i18n
- Today
- Total
목록분류 전체보기 (266)
취미개발 블로그와 마음수양
//고전 이벤트 연결 window.onload = function () { var header = document.getElementById('header'); //connect event header.onclick = function () { alert('clicked'); //이벤트 제거까지 header.onclick = null; } }; //인라인연결, 온클릭시 함수 연결할 수도 있다. click 표준연결 window.onload = function () { var header = document.getElementById('my-header'); //이벤트 연결하는 dom level2 표준 방식 // 익스 전용 dom level2는 addEventListener 가 아니라 //attachEven..
스타일 라이브러리 http://www.dynamicdrive.com/style/
//foreach 연습 메소드 // 변수를 선언 var array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; //메서드를 사용 var sum = 0; var output = ''; //element는 현재 반복에서 배열의 요소를 뜻하고 //매개변수 Index는 현재 반복에서 배열 요소의 인덱스 //매개변수 array는 배열 그 자체를 의미한다. array.forEach(function (element, index, array) { sum += element; output += index + ' : ' + element + ' -> ' + sum + '\n'; }); //출력 alert(output);
//날짜 간격을 구하는 자바스크립트 //변수를 선언 var now = new Date(); var before = new Date('December 9, 1991'); //날짜 간격을 구한다. var interval = now.getTime() - before.getTime(); interval = Math.floor(interval / (1000 * 60 * 60 * 24)); //출력 alert('Interval : ' + interval + '일');
Array.prototype.remove = function (index) { alert("method executed"+this); this.splice(index, 1); } //변수를 선언 var array = [52, 273, 103, 32, 274, 129]; //반복문과 조건문으로 100보다 큰 요소를 제거합니다. for (var i = array.length; i >= 0 ; i--) { if (array[i] > 100) { alert(array[i]); array.remove(i); } } alert(array);
만들기 createElement(tagName)createTextNode(Text) 연결메서드appendChild(node) setAttribute(name, value)와getAttribute(name)으로 할 수도 있다. document.body에 innerHTML하는 방법도 있다고 한다 ~====================== 객체 가져오기getElementById getElementByNamegetElementByTagName document.querySelect(선택자) =============================이렇게 불러와서header.style.border = 이런식으로 조종. ==============================제거는 removeChild(child)이렇게 제..
자바 스크립트 타이머 setTimeout(function(){ alert('3초가 지났습니다.ㅇㅂㅇ'); }, 3000); 그걸 막는 것.. 뭐 이런거.. //1초마다 함수를 실행합니다. var intervalId = setInterval(function(){ alert('' + new Date() + '');}, 1000); //10초후 함수를 실행합니다. setTimeout(function(){ //타이머를 종료합니다. clearInterval(intervalID);}, 1000); 음그러니까. setTimeout 이 일정시간후setInterval이 일정시간마다중지가clearTimeout(id)clearInterval(id)
http://ysoftman.blogspot.kr/2012/08/linux-windows-nmap-ip-port.html 무료 취약점 도구들 : http://www.ciokorea.com/news/20809?page=0,1 이게 제일 괜찮았다. http://www.linuxlab.co.kr/docs/00-05-2.htm 커뮤니티. https://kldp.org/node/60458 nmap -sP -PT8088 1**.1**.0.1-254 --max-rtt-timeout 200ms 이런 식으로 포트번호와 아이피대역. 반응시간을 줄 수 있다. http://bencane.com/2013/02/25/10-nmap-commands-every-sysadmin-should-know/
http://eclipse.dzone.com/news/effective-eclipse-custom-templ
http://nyhooni.tistory.com/10