2012년 1월 26일 목요일

mercurial 현재 브랜치만 push 하기

http://hgtip.com/tips/advanced/2009-09-28-nudge-a-gentler-push/

우왕. git 부럽지않네. mercurial 관련 최고의 팁인듯.

2011년 11월 4일 금요일

에버큐브

http://evercu.be/

아..
좋아보인다.


2011년 11월 3일 목요일

Mercurial 2.0 has added largefiles extension (older r. are downloaded on demand)

Mercurial 2.0 has added largefiles extension (older r. are downloaded on demand)
LargefilesExtension

현재 hg 만족하면서 쓰고 있는데 덩치큰 리소스 파일들 처리가 좀 애매하다.
저링크 기억해두고 후에 도입을 검토해봐야 할듯.

tumblr

http://yoonkn.tumblr.com

우왕굿.
깔끔한데?
블로거보다 맘에 드는데?

2011년 11월 2일 수요일

occur-edit-mode


Occur Edit mode applies edits made in *Occur* buffers to the original buffers.


emacs NEWS 를 읽다보니 이런게 생겼네.
occur 자주 쓰는데 이기능 종종 쓸것같다.

2011년 11월 1일 화요일

2011년 3월 23일 수요일

google snappy

http://code.google.com/p/snappy/
reddit

오.. 기억해둘만한 라이브러리.
다음번에는 zlib 말고 이놈을 써보자.

2011년 3월 3일 목요일

mysql stored procedure 에 유니코드를 인자로 넘기기

내가 보통 mysql 사용시 필드 타입을 char() 으로 잡기 때문에 sp 에서도 인자 타입을 char() 로 잡았었는데 이럴경우 sp 에 유니코드(한글)을 넘길때 에러가 나네. 아 쉬바.

결국 sp 에서는 nchar 로 잡아줘야만 한다.


코드 적어보면 아래 testme sp 를 만들고 call testme('한글') 을 부르면 깨지고

drop procedure if exists `testme` $$
create procedure `testme` (s nchar(40))
begin
        select s;
end $$

s 타입을 nchar(40) 으로 바꾸고 testme('한글') 을 부르면 오키.

http://dev.mysql.com/doc/refman/5.5/en/charset-national.html