May 1st, 2004
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
Comment on 'killall Rewrite'
May 1st, 2004
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
Comment on 'POE::Component::XOSD'
April 15th, 2004
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
Comment on 'dos2unix Rewrite'
April 10th, 2004
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
Comment on 'CSH Newsgroup Reader'
April 3rd, 2004
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
Comment on 'RIT Grace Scraper'
April 2nd, 2004
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
Comment on 'Music Randomizer'
April 1st, 2004
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
Comment on 'Soccer Comm Protocol'
March 31st, 2004
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
Comment on 'Slashdot Cache'