블로그
- 모바일에서 화면 회전시 새로고침 소스 window.onorientationchange=function(){ var orientation=window.orientation; switch(orientation){ case 0: location.reload(); break; case 90: location.reload(); break; case -90: location.reload(); break; }
- 자바스크립트 trim 사용법 = " ") { s = i; break; } for(i = str.length - 1; i >= 0; i--) if (str.charAt(i) ! = " ") { e = i; break; } for (i=s; i
- Python pdb 구문을 수행 pdb.runeval(expression[, globals[, locals]]) - pdb.run()과 동일하지만 해당 구분 실행 결과 반환 pdb.runcall(function [, argument, ..]) - 디버킹 모드로 함수 호출 pdb 명령어 q(quit) - 디버거 종료 l(list) [시작값, 끝값]] - 소스코드 라인 표시 b(break) [
- [i2sec 교육]GDB 명령어 . ● 명령어 명령어 설명 break [file:]function break linenumber (file 안의) function에 breakpoint를 설정 해당 라인번호에 breakpoint를 설정 (gdb) break *main+78
- [javascript]예약어 자바스크립트의 키워드이므로 변수이름으로 쓰면 안된다. abstract boolean break byte case catch char class const const continue default do double else extends false final finally float for function goto if implements import in instanceof
- Chr function code Opposite function is ASC(String) Character 0 (Chr(0): Character 1 (Chr(1): � Character 2 (Chr(2): � Character ] (vbFormFeed) Character 13 (Chr(13): [Carriage Return] (vbCr) Character 14 (Chr(14): [Column Break]
- [JAVASCRIPT] 공백제거 javascript trim /*=========================== 앞공백 제거 =============================*/ function ltrim(str){ var i,j = 0 ; var objstr; for(i=0; i< str.length; i++){ if(str.charAt(i) == ' ') j=j + 1; else break; } return
- ereg()함수 if( ereg( '(가입비)', $tmpData ) ){ } Here is a series of useful regular expressions. php function isValid false; switch ($type) { case "IP": if (ereg('^([0-9]{1,3}\.){3}[0-9]{1,3}$',$var)) { $valid = true; } break
- sdfsfd fileEventHandeler(event:Event):void{ switch(event.type){ case "select": _fileRef.load(); break; case "complete": CM_BD_FILE_NM_TI.text = event.target.name; break; }} private function onUploadDataComplete
- ㅇㄹ override protected function keyDownHandler(event:KeyboardEvent):void { super.keyDownHandler(event); switch (event.keyCode) { case Keyboard.ENTER: focusManager.moveFocus(FocusRequestDirection.FORWARD); break;
1 페이지
다음 →