Saturday, June 6, 2009

good tool to compress your binary executables

Ultimate Packer for eXecutables

upx.exe --best xxx.exe

Friday, June 5, 2009

great null character

while file names contain newlines or other types of white spaces.
normally find/xargs is not work. turn to use following :

find . -type f -name "*html" -print0
| xargs -0 perl

really takes good care of your files

Wednesday, February 25, 2009

input method on debian

Set scim as the input method for X under the locale en_US.utf8:

im-switch -z en_US -s scim



This will create a .xinput.d directory under your home directory along with a file that lists all of the exported environment variables necessary for scim upon startup. This file will be read by the 80im-switch script located in /etc/X11/Xsession.d when X starts up.