JSON 에서는 특수문자를 인식 못한다. NL(NewLine), CR(CarridgeReturn) 값 등을 빼야 한다.

java 에서 정수 비교

java 2007. 4. 18. 19:48
Integer 형을 쓰면 == 로 비교하지 못한다. (객체를 비교하게 된다)
int 형을 쓰면 == 로 값을 바로 비교할 수 있다.

$A is not defined
return __method.apply(object, args.concat($A(arguments))

위와 같은 에러가 날때가 있다
(firebug 에서 prototype.js 를 쓸 때)

아래 처럼 패치하면 된다
     52 Function.prototype.bindAsEventListener = function(object) {
     53   var __method = this;
     54   return function(event) {
     55     if(typeof($A) == 'function'){ // <-- Added Firefox Fix
     56       return __method.call(object, event || window.event);
     57     }
     58   }
     59 }

출전은
http://www.skybyte.net/articles/prototype.js/


createElement

카테고리 없음 2007. 4. 17. 00:38
When you create an element you must append it to something inside the HTML document to give it scope (visibility). // this code does NOT work


newdiv = document.createElement("div"); // set div attributes newdiv.className = "x"; newdiv.id = "mine"; ... mydiv = document.getElementById("mine"); // does not find it

////////////////////////////

//this code DOES work

newdiv = document.createElement("div"); // set div attributes newdiv.className = "x"; newdiv.id = "mine";
document.body.appendChild(newdiv); // or some other node ... mydiv = document.getElementById("mine"); // finds it

http://www.zytrax.com/tech/dom/createelement.html)

table 안에서는 <div id="qlist_today" style="display:block">
와 같은 코드가 안되는 듯...
table 밖으로 감싸니까 잘된다.

C:\Documents and Settings\%USERNAME%\Application Data\VanDyke Software\SecureCRT\Config
(windows xp)

C:\Users\%USERNAME%\AppData\Roaming\Van Dyke Technologies\SecureCRT\Config
(windows7)

에 있다. 포맷하기 전에 백업을 받아 두면 유용할 듯



근 3 시간 동안 낑낑대다가 알아냈다.

virtualDubMod 1.5.10.2 를 받는다
(설치 파일이 아니다. 반드시 이 버전을 받는다)

1. 실행파일을 실행
2.  video 메뉴에서 direct 어쩌구 선택
3. avi 파일을 연다
4. streams 메뉴에서 list 어쩌구 선택
5. 그 목록에서 2번째를 선택한 뒤 오른쪽의 wav 로 복사 선택

if ( endTime.equals("A") ) // endTime 의 string 값이 "A 이면

{
// 어쩌구 저쩌구
}


char 형도 있는 것 같은데 이건 언제 쓸까?


PropertyUtils.copyProperties 에러가 날 때

form class 에 선언된 member 형이 정확한지 확인하면 된다.

firebug web developer Google Calendar Notifier ReminderFox adblock all-in-one gesture tabbrowser preference bookmakrs synchronizer AI Roboform Toolba for Firefox 6.8.3 sage timestamp converter Always Remember Password Forecastfox ScrapBook Tamper Data Live Http Headrs IE Tab Greasemonkey View Source Chart