Archive for the ‘Linux’ Category

Speeding things up with tmpfs

Since I have 6GB of RAM in my new laptop, I thought (while watching the first episode of Big Boss 5) that lets put it to some good use. Did some research & found out that I can actually create a small tmpfs partition from a portion of my extra RAM and use it to [...]

Date arithmetic without having to worry about impact on dates, months or years!

Last night, my wife asked a very simple question… - ”In shell scripting, given a date, how can I subtract 5 hours from it?” The question was particularly interesting because the moment you think about any arithmetic on dates, you need to calculate the impact on all the other values. For example, subtracting 5 hours from [...]

Howto replace the same word in a lot of files

I recently had to add a CSS header to a lot of AdoMado Apps. This is how I managed it… $ for file in `find ./ | grep html` > do > sed -i ‘s/original word/new word/’ $file > done

Ubuntu Karmic Koala Beta to be released later today

The much awaited Karmic Koala beta is due today from Ubuntu team… With a ton of new features – and as always, the bleeding edge of the Linux world, I just can’t wait to test it out. These features include Gnome 2.28 Software Center (replacing the old Add/Remove) Ubuntu One file sharing service Kernel 2.6.31 [...]

Howto fix slow and choppy flash/video on ThinkPad T61 running Ubuntu Jaunty

Very recently, I upgraded from Ubuntu Intrepid to Ubuntu Jaunty – and to my horror, the system went very slow! I wasn’t sure what was causing the problem but Xorg reported near 100% CPU utilization in “top” output, Firefox felt very very heavy, flash videos on youtube were choppy and slow – even Gedit felt [...]

GnomeLove – Gnome 2.28 released!

Gnome 2.28 released