Posted on October 3, 2011, 12:53 am, by Mayank Jain (makuchaku).
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 [...]
Posted on May 9, 2011, 4:16 pm, by Mayank Jain (makuchaku).
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 [...]
Posted on October 27, 2010, 3:30 pm, by Mayank Jain (makuchaku).
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
Posted on October 1, 2009, 9:56 am, by Mayank Jain (makuchaku).
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 [...]
Posted on September 30, 2009, 2:06 am, by Mayank Jain (makuchaku).
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 [...]
Posted on September 25, 2009, 2:13 pm, by Mayank Jain (makuchaku).