Firefox (Linux) : “Middle-click on page loads URL” annoyance

January 3rd, 2010 by Stephane Kattoor

Firefox will load whatever URL is in the copy-paste buffer in the page if you middle click somewhere on a page. My mouse’s wheel also serves as the middle button, and I found it really annoying that when occasionally middle-clicking while scrolling the page, Firefox would try to load another page …

You can control this behaviour with this about:config property middlemouse.contentLoadURL. Set to true, the middle-click on the page will load the URL (if it is one) in the page, set to false it won’t.

Thanks Ayman !

Perl : Using the Finance::Quote module to get your stock prices

December 30th, 2009 by Stephane Kattoor

Finance::Quote is a Perl module which can be used to obtain stock information from various internet sources. I thought I’d rather share this code snippet as an example showing how easy it is to use, before I turn it into a bloatware with an SQL backend to compute average price per share and what not :-)

So here is a simple snippet demonstrating how to get the price of a stock :
Read the rest of this entry »

Gentoo Linux / Portage : How to know which package provided an installed file

December 3rd, 2009 by Stephane Kattoor

If there’s a file installed on your disk for which you’d like to know what package provided it, you can use the equery command like below :
Read the rest of this entry »

VirtualBox : Cloning a virtual hard disk

November 18th, 2009 by Stephane Kattoor

If you’ve got a VirtualBox VM already installed and you wish to clone/copy it, follow the steps below :
Read the rest of this entry »

OpenSolaris : Exporting a ZFS filesystem with CIFS

November 11th, 2009 by Stephane Kattoor

If you need to export ZFS volumes through CIFS, follow this simple step by step procedure.
Read the rest of this entry »