Perl Poetry - sunshine.pl
A brief but rather snazzy perl poem celebrating the joys of spring, written on a particularly glorious March day. First published on perlmonks.
- Published:
- Category: techie
A brief but rather snazzy perl poem celebrating the joys of spring, written on a particularly glorious March day. First published on perlmonks.
Well, after a couple of hours faffing with perl I've got a valid looking RSS feed. This will let you stay in touch with what I'm ranting, writing and coding using a 'news reader' program or device. Or even syndicate my site. Kewl.
Yes, I finally got the photo archive xhtml compliant. And I've fiddled with the stylesheet and gained a logo.
Whatever next? A properly maintained website? The next google? No! A nice cup of non-exploitative caffeine based beverage.
This utility was developed for People & Planet's recent migration away from Mercury mailserver to Cyrus IMAP. Given a user name, Pegasus mail directory and password, it creates a new IMAP account, sets a SASL password, and imports the mail folder hierarchy and its contents into Cyrus, as well as trying to set up pegasus to greate a new IMAP prifile (it sometimes works!)
It's not very elegant (particularly in that parts of it use different IMAP perl modules (don't ask) ), and it only recreates your hierarchy one level deep. I found it worked pretty nicely, though. You should note that I assume you are using unix hierarchy seperators in Cyrus. You will also need to download peg_split_and_deliver.pl, and peg_folder_hierarchy.pl for it to work, along with some CPAN modules.
All code is free software under the GNU GPL.
This is a gantt module I wrote in perl. At the moment it generates the css and xhtml for one month. It also requires this stylesheet to format the gantt charts. You can take a look at the results, which have been generated from my MySQL based todo list. Now you'll never have to wonder what I'm doing at work again (??!!).
A Sunday afternoon perl project to make a nice-ish looking viewer for subversion logs.
Subversion is a fantastic version control system to replace CVS, which has been the standard version control system for some time. I used to use CVS when I was working at hotrecruit, and it was something of a PITA, subversion seems to have built nicely on CVS's shortcomings.
Another bit of perl poetry. Quite pleased with this one :-)
Just finished hacking together a perl script that parses xml search results provided by gigablast dot com.
What it means is that I've been able to replace my old Google based site search, with one that looks like it's still part of the site. I shall probably make it able to search multiple sites sometime soon, so that you can search my dotcom, dotorgdotuk and rootshell pages all at the same time.
I figured that if you have got a command called whoami, then it also made sense to have one called whatdoiwanttodo.
My original attempt was in c, and just gave you the last line of your history file.
This one is the new (maybe) slightly more useful version, rewritten in perl. It gives you a menu of the commands that you've typed the most and lets you run one of them from a menu.
This will eventually have more in it, at the moment it just has the code to generate (& update) the little javascript clock at the bottom left of most pages on the site. I'm not necessarily a huge js fan, but it doesn't stop my pages validiting, so what the hell...