Lin_ger is an IRC bot I wrote using the Net::IRC libraries in perl. Lin_ger can do the following:
- Play Hangman
- Give the weather
- Log all channel chat
- Op users
- Message information from
http://4q.cc
- Display a random quote from the database.
My README for Lin_ger is pretty sparsely populated, I expect to have a better one up in the near future. However, I am putting the bot up for download.
Download Lin_ger IRC Bot 0.1.0 Here
Update:
Download Lin_ger IRC Bot 0.1.1 Here
Current Music:
Radiohead - Everything in it's Right Place
I created a plugin for Quod Libet 0.23 that writes song data to a mysql database. Readme is included in the download, gives information about configuration of plugin.
Download dbIt 0.20 for Quod Libet Current Music:
Tokyo Ska Paradise Orchestra - Taiyou Ni Onegai
Fixed the rippr to count pages in accordance with the total # of images displayed on the front photos page of a user. This is done by taking that number, and dividing by the median # of images per page, 18. This provides a within-a-page accuracy. This was necessary because of flickr's updates.
Download Flickr Rippr 1.0.1 here
Since learning some perl, I've realized it has great applications for automatically ripping data from webpages. So I wrote something for flickr to take a users album, rip all the pages out of it and then pull all the full sized images from those pages.
In the archive, there are three files. The perl script, rippr.pl, a users.txt file, and a records.txt file. All that needs to be done is populating the users.txt file with user directories in the format http://www.flickr.com/photos/username. You will also need to create a directory, images, as a subdirectory of the directory where the perl script resides. Then, while running the script, it will create a new directory in images for each user, and pop the images in there, naming them incrementally with numbers so as not to have duplicate image names.
It has worked pretty well for me so far, and it's relatively fast as well. Get it
here.
Edit: I upped a new copy that pulls down the original images instead of the sized ones flickr displays by default.
Current Music:
The Raconteurs - Steady as She Goes