mysql to unixtime, how-to in perl

Saturday, November 6th, 2010

if you are like me you deal with perl and databases for fun and profit. At some point I needed a function to convert MySQL datetimes to unix seconds since the epoch. Here is one solution in perl: sub mysqltime2unixtime { use POSIX; my $mysqltime = shift; $mysqltime =~ m/(\d+)-(\d+)-(\d+) (\d+):(\d+):(\d+)/; my $year = int($1); [...]

why are people still using XP?

Tuesday, August 3rd, 2010

http://www.lockergnome.com/blade/2009/06/18/people-are-still-in-love-with-windows-xp-i-wonder-why/ You do have to laugh. Most of you are aware that Microsoft has changed their policy on being able to downgrade to Windows XP, now until April 2011. Of course the other requirement Microsoft has slapped on is the exception if and when SP1 for Windows 7 arrives. I liked the end of a [...]


Linux versus Windows is Digg proof thanks to caching by WP Super Cache