Projects


killall Rewrite

This is a rewrite of another common UNIX application which can be used to kill all process matching a certain name. However, the major change between that and this version is that it utilizes regular expressions and can be quite deadly. Definitely not recommended use in any sane situation.

Downloads

Tags: cli, perl, unix

POE::Component::XOSD

This is a module version of the XOSD application, threaded nicely so that it can be used in a real-time application. The one use that I attempted to use it for was hooking it into my music player to display song titles on the desktop of my FreeBSD system.

Downloads

Tags: module, perl, xosd

dos2unix Rewrite

Another commonly used UNIX utility that I decided to quickly re-write, for fun. Takes a files a strips all the \r characters out, returning a pure UNIX-endline based file. The resulting snippet can be found below:

print map{s/\r//g;$_}<>;

Tags: cli, snippet, perl, unix

CSH Newsgroup Reader

This application was designed as a simple test for the new CSH web site, it allows CSH members to quickly see the latest headlines, as posted to the CSH newsgroup.

Links

Tags: csh, perl, nntp

RIT Grace Scraper

This utility scrapes through the contents of all user folders on Grace (the RIT web server) looking for files. As opposed to attempting to visit the web site over the web and spidering the pages, navigating the directories directly proved to be much more useful and powerful.

The application need to be run on Grace itself, and could probably be quickly configured to work on other web servers too.

The first version of this application is also provided - it scraped the RIT web server's public traffic logs looking for images and inserted them into a database.

Downloads:

Tags: library, perl, rit

Music Randomizer

This handy command-line audio interface has been my staple for a long time. I enjoy using it to quickly pop into a directory and finding something random to listen to. It's designed to sit on top of another player, for example 'mplayer', and then pass all commands through to it. I've used it for audio, video, and shoutcast streams. The main options are:

  • Play Music Randomly - The default. Will play random songs from your playlist, making sure never to never play a song twice.
  • Linear Play (-l) - By providing the -l option, mrand will play through everything in order of which it was found. It's very good about figuring out which file actually comes before another.

Downloads

Tags: cli, perl, music

Soccer Comm Protocol

This was something of a communication protocol idea between Chris Klaiber and me. We toyed around with it for a while, but it never really got off the ground. The remaining code that was written (by me, in Perl) is available here.

Downloads

Tags: perl, idea

Slashdot Cache

This utility scours your apache web logs, looking for sites that seem to be sending a lot of traffic in your direction. The process then makes a request for the pages and makes a static copy of the page. Hooks can then be made into Apache to redirect users to this new static version. This was built when a CSH member's PHP web site was Slashdotted, causing the server to crash under the load.

Downloads

Tags: apache, perl

Next entries » · « Previous entries

Current Projects

jQuery JavaScript Library

jQuery

Comprehensive DOM, Event, Animation, and Ajax JavaScript Library.

Recent Projects

Pro JavaScript Techniques

JavaScript Book

The best techniques for professional JavaScript. Published by Apress.


Hosting provided by the cool dudes at Engine Yard.