Tuesday, April 13, 2010

helpful cmd

for file in *; do mv "${file}" "${file}.gif" ; done

Sunday, January 31, 2010

interesting topic for X

http://www.linuxjournal.com/video/kill-x-ubuntu-dontzap

how to change true type font

http://www.linuxjournal.com/video/installing-truetype-fonts-your-linux-system

this is really tricky...

trace your notebook using dns

http://www.linuxjournal.com/video/locating-your-laptop-dynamic-dns

maybe useful for some cases that need virtual interface

http://www.linuxjournal.com/video/virtual-interfaces-when-one-ip-isnt-enough

some var that used to config prompt


http://www.linuxjournal.com/video/customized-bash-prompts-ps1-variable

http://pastebin.com/f2309fd10

check some linux dock softwares



http://www.linuxjournal.com/video/getting-freaky-friday-docks-linux

https://help.ubuntu.com/community/CairoDock

tweet using curl ...

seems nice

http://www.linuxjournal.com/video/tweeting-commandline-curl

http://www.linuxjournal.com/video/dont-quote-me

windows moving on small screen netbook

compiz setting tool

http://www.linuxjournal.com/video/fine-tuning-compiz

Watermark with ffmpeg

add watermark under linux

http://www.linuxjournal.com/video/add-watermark-video-ffmpeg

Enjoy the timer on linux box

at command in daily use

http://www.linuxjournal.com/video/schedule-commands-later


start remote X application through ssh

ssh -C -X user@host firefox

here is a guide online.

http://www.linuxjournal.com/video/access-remote-gui-programs-using-ssh-forwarding

Configuring CUPS Printers Using a Web Browser

useful link.

http://www.linuxjournal.com/video/configuring-cups-printers-using-web-browser

linuxjournal is not bad

I like it !

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.




Wednesday, August 6, 2008

customize pkg-config location

export PKG_CONFIG_PATH=/home/biglaughing/program/lib/pkgconfig

in future , no more worry about customized compile.

Reference:
http://pkg-config.freedesktop.org/wiki/

make: *** Warning: Clock skew detected. Your build may be incomplete.

while got :
make: *** Warning: Clock skew detected. Your build may be incomplete.

find . -type f | xargs touch