Monthly Archives: April 2008

Simple command to find out the directory disk usage

ls -F | grep “/” | xargs du -hs For admin to snoop everybody, try ls -F | grep “/” | sudo xargs du -hs

Posted in linux goodies | Comments Off

ssh public/private key using ssh-keygen

me@connect-from-machine:~> ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/me/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/me/.ssh/id_rsa. Your public key has been … Continue reading

Posted in linux goodies | Comments Off

JQuery vs. Prototype

Recently I started looking into both JQuery and ProtoType to simplify the Javascript works on my site and first decision to make was to which one to choose. Besides these popular options, MooTool also caught my attention since it appears … Continue reading

Posted in my 2 cents | Comments Off