Archive for December, 2009

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

Wednesday, December 30th, 2009

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 :
(more…)

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

Thursday, December 3rd, 2009

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 :
(more…)