본문 바로가기

Programming

(17)
ubuntu java google protocol buffer install & example GPB download: http://code.google.com/p/protobuf/downloads/list sudo apt-get install g++tar xvfz protobuf-2.4.1.tar.gz./configuremakesudo make install protoc use: protoc -I=$SRC_DIR --java_out=$DST_DIR $SRC_DIR/addressbook.proto sudo apt-get install maven2cd protobuf-2.4.1/javamvn installmvn package add project :protobuf-2.4.1/java/target/protobuf-java-2.4.1.jar example: https://developers.google..
sun java 설치 sudo add-apt-repository ppa:sun-java-community-team/sun-java6sudo apt-get updatesudo apt-get install sun-java6-bin sun-java6-jdk sudo update-alternatives --config java * another methodhttp://www.oracle.com/technetwork/java/javase/downloads/jdk-6u32-downloads-1594644.html적당한 bin 파일 받음.chmod 755 jdk-x.x.x.x.bin./jdk-x.x.x.bin ln -s /home/xxxx/jdk-x.x.x.x/ /usr/local/javapath 설정vi .bashrcPATH = JAV..
스프링 참고할만한 소스들.... package org.springframework.samples.mvc.ajax.account; import java.math.BigDecimal; import java.util.Date; import java.util.concurrent.atomic.AtomicLong; import javax.validation.constraints.Future; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import org.springframework.core.style.ToStringCreator; import org.springframework.format.annotation.DateTimeFormat..
스프링 MVC 예제 링크 및 간단 정리.. http://maestric.com/doc/java/spring/hello_world return jsonView(model객체); return xmlView(model객체); 톰캣 설정으로 띄운다고 함. 예제) http://blog.naver.com/PostView.nhn?blogId=crazymania&logNo=10109451684 http://webprogrammer.tistory.com/tag/Spring%20MVC%20%EC%B4%88%EA%B0%84%EB%8B%A8%20%EC%98%88%EC%A0%9C http://wiki.dev.daewoobrenic.co.kr/mediawiki/index.php/Spring_MVC_JSON http://flex.okjsp.pe.kr/seq/155331 h..
우분투에 opencv 2.2 설치하기 http://mobilecv.tistory.com/146 https://code.ros.org/trac/opencv/changeset/5206
sqlyog 무료버전 http://code.google.com/p/sqlyog/downloads/list
[펌] 티스토리에 소스 코드 올리기 - Google SyntaxHighlihter
내가 만든 문자열 관련 함수 21살에 짠 코드는 벌써 8년 전... 헉스; 지금 봐도 아주 나뻐 보이지는 않는다. #ifndef MYSTRING_H #define MYSTRING_H char *my_strcat( char *src, const char *tail ) { char *s = src; for( ; *src ; src++ ); for( ; *tail ; src++, tail++ ) *src = *tail; *src = '\0'; return s; } char* my_strchr(char *src, int c) { int end=1; for(;*src;++src) { if(*src == c) { end = 0; break; } } if(end == 1) return NULL; else return src; } int my_s..