bash 4.0 – new feature mapfile

2011-01-14 1 min read Bash Fedora

Recently I encountered a problem where I had to create couple of arrays in bash and these were quite dynamic in nature. This script was supposed to be used by couple of guys whom I did not trust too much in opening the script and modifyikng the array. So, the solution was to put these in different files and then put them in array using bash script itself. This is when I went through the bash man page again and found an interesting new inbuilt mapfile

Continue reading

perl is faster than bash in some cases.

2011-01-11 3 min read Bash Fedora Linux Perl

Some days back, I had to generate some data to be uploaded to a database. As usual I assumed that bash should be faster and hence wrote the script to create the files in bash. But I found that even after 5 hours I was only 10% done with the data generation. Now that would mean that it would take around 50 hours to complete the data generation. Something did not look correct to me and I asked one of my colleague. He suggested I do a strace.

Continue reading

New feature in Nautilus – resize icon on desktop.

2011-01-10 1 min read GNOME Learning

On Desktop on Gnome using nautilus, now you can resize individual icons. Just right click on the icon to resize and in the menu you will get a resize icon :

[Resize icon][1]
Resize icon

and then you can resize the icon from the borders:

[Resize icon][2]
Resize icon
Enhanced by Zemanta

Speed Up Firefox by Moving Your Cache to RAM

2011-01-08 2 min read Firefox
The 536,870,912 byte (512×2 20 ) capacity of t...
  <dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">
    Image via <a href="http://commons.wikipedia.org/wiki/File:Memory_module_DDRAM_20-03-2006.jpg">Wikipedia</a>
  </dd>
</dl>

Speed Up Firefox by Moving Your Cache to RAM, No RAM Disk Required [Firefox Tip] Click here to read Speed Up Firefox by Moving Your Cache to RAM, No RAM Disk Required We’ved talked about moving your cache files to a RAM disk to speed things up, but it turns out Firefox has this feature built in. Here’s how to turn it on. More »

Continue reading

Ultralight DIY distribution

2011-01-02 1 min read Linux
Victorinox Presentation Master (new)
  <dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">
    Image via <a href="http://commons.wikipedia.org/wiki/File:Vx_presentation_master_new.jpg">Wikipedia</a>
  </dd>
</dl>

Tiny Core: Ultralight DIY distribution

When reviewing a lightweight distribution, the term Swiss Army knife is sometimes employed to indicate that it’s packed with features despite a diminutive size. However, at 11MB for the ISO, Tiny Core is more of a blank-slate distribution, as when booted from a CDROM or a USB stick, it presents the user with a simple desktop consisting merely of a task launcher and a package manager. It contains some good ideas and it’s already perfectly usable, but I think it needs a few more refinements in order to become great. more»

Continue reading
Older posts Newer posts