본문 바로가기

분류 전체보기

select box 선택해제 $('#id').val('').trigger('liszt:updated'); $('#id').find('option:first-child').prop('selected', true).end().trigger('liszt:updated'); 한참 헤맸네...
자바스크립트 array remove() Array.prototype.remove = function(idx) { return (idxthis.length) ? this : this.slice(0, idx).concat(this.slice(idx+1, this.length)); }; 출처 : http://stove99.tistory.com/90
Maven Ant Tasks http://maven.apache.org/ant-tasks/download.html 에서 최신 버전을 다운로드 받자. 해당 jar 파일은 ant에서 maven 의존성 관리를 위해 필요하다. 만약 build.xml의 위치가 아래와 같다면 다운 받은 jar 파일의 위치는 build.xml에서 바라보는 경로를 명시해 주어야 한다. 위 classpath 처럼 build.xml위 위치에서 jar파일 위치를 적어주면 ant에서 maven 사용이 가능하다. ${main.project.root}는 build.properties에 정의한 것인데 그냥 프로젝트 절대 경로이다. 예로 윈도우일 경우 D:\project 일 수도 있고 Linux 일 경우 /home/project/ 일 수도 있다. pom.xml을 pom이란 i..
같은 소스, 같은 브라우저, 다른 서버, 다른 결과 Local - Windows 7 Server - Ubuntu 12.0 Local에선 크로스 브라우징 코드가 먹힌다. 이걸 확인한 후 서버로 올리니 서버는 익스플로러에서는 IE9만 결과가 나온다. 지금까지 조치... 1. Apache2 cache 해제 js/html/css 등 Apache가 기본적으로 캐시하는것들을 해제하여 페이지 로드시 읽어들이게 변경. -> 해결 안됨. FileETag None Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" 2. ..
SVN 다중 저장소 svn 기본 포트는 3690 하나의 저장소에 여러개의 프로젝트를 관리하는건 위험할 수 있다. 이에 아래 구조처럼 2개의 저장소를 따로 사용하고자 할 경우 1 > /home/svn/dev/ 2 > /home/svn/sample/ 1번은 3690 포트로 시작하고, 2번은 3691 포트로 시작하면 된다. 1> svnserve -d -r /home/svn/dev --listen-port 3690 2> svnserve -d -r /home/svn/sample --listen-port 3691 확인. 1> svn ls svn://localhost:3690/ 2> svn ls svn://localhost:3691/
Spring 3.2.2 + Tiles 3.0 Tiles 3.0을 사용하기 위해선 Spring Framework 3.2 이상의 버전이 필요하다. 기존 버전과 비교했을때 설정이 간소화 되었다. http://dhruvgairola.blogspot.kr/2013/03/spring-mvc-with-apache-tiles-3.html
Ubuntu 12.0.4 Oracle 11g R2 설치. Ubuntu 12.0.4 amd64 기준. http://ioriy2k.pe.kr/archives/656#comment-10614 http://ioriy2k.pe.kr/archives/712 http://www.makina-corpus.org/blog/howto-install-oracle-11g-ubuntu-linux-1204-precise-pangolin-64bits Ubuntu 12.0.4 x86 기준 http://www.techienote.com/2012/06/how-to-install-oracle-database-11g-r2-on-ubuntu-12-04.html
ant에서 Problem: failed to create task or type foreach 오류. apt-get install ant 로 설치 했다면 아래도 설치 해준다. sudo apt-get install ant-contrib 그리고 sudo cp /usr/share/java/ant-contrib.jar /usr/share/ant/lib