Here are a few random programming projects I have worked on over the last few years. I offer them in hope that they may be useful to someone. I put them under the GNU General Public License. That means you are free to use, copy, edit or otherwise do what you will with the software here. If you do find anything useful, I would like to hear about it.

Sites

Whoismyrepresentative.com Here is a site I launched which allows one to lookup their US Congressional representation by their zipcode. I also offer an API which gives access to the data for other developers to use in their applications

JavascriptLibraries.com This site (page really) is just a listing of a bunch of javascript libraries and javascript tools that I have found neat and useful. I also set it up to experiment with google adsense.

RutgersCongressProject.org I set this site up for a colleague who was doing a survery for his PHD thesis. The whole application is a three part survey and with some cool js effects tossed in. Over 200 congressional staffers took the survey and the project has been deemed a success.

Perl Scripts

tk2compare A simple script written in perl that compares the contents of two files or directories. tk2compare Uses the tk package for the gui. screenshot

mysql_dbi Shows the basics of communicating with a mysql database through perl using the dbi module. Users can add, delete, or return the rows of a selected table.

spider_bytes Creates a report detailing the web usage of non standard user agents (spiders, bots etc..). User can specify a list of agents to omit, and choose which column to sort by. The script then sends its output to a specified user via email. Works best as a daily scheduled process.

Bash Scripts

backup A simple script that creates a gzipped tar archive of user-specified files/dirs and gives the user the option to burn the archive to CD.

Google API

I took a look at the google maps API and here is the result. I made a mashup of my recent trip to Ireland in early 2006. The map has recently been upgraded to version 2.

I have also looked at Google's search API. I made a simple interface using Soap::Lite and Perl.

PHP

Here is an PHP addressbook that I wrote which uses MySQL and the DOM. You can add/delete/edit entries and is easily customized. My very first web application, can you tell?

AJAX

An application which queries the CRP API for top contributions to candidates. Uses AJAX to retrieve the XML data.