Software

base64 encoder / decoder

Here's a very simple base64 encoder / decoder written in PHP. Useful for posting things to social networks when you feel anti-social or only want crypto-nerds to read it :)

base64 encoder / decoder

Instant music machine

In 2005 I became interested in computer-generated music, and wrote this little program in Actionscript. It plays the piano with the notes/scale you specify (click on the keyboard to change note choice), with configurable tempo, range, and number of voices.

I was really happy to recover this from an old hard drive today. It still works beautifully, 6 years later! Next, I'd like to write a native program that generates midi signals/files, with better visualization and control.

Visualize logs with graph.sh

I wrote a command-line script to help expose frequency spikes in server logs, by outputting a sparkline image. This makes it easy to get a quick sense of what happened to your server, without having to dig through gigabytes of data.

example

HaikuFox: a Haiku/BeOS style theme for Firefox

Haiku is the amazing rebirth of the long-abandoned BeOS. HaikuFox is a Firefox theme by Doug Shelton bringing the BeOS look to the browser. I really enjoyed using the theme for FF 2.x, but alas, it was never released for 3.x. So here I'll try porting it and see what happens :)

Jan 16, 2011: Initial import of the original theme, plus some basic modifications to make it work in 3.6.x. Currently in directory form, no .jar distribution yet.

» Source on Github

"What's my IP address?" service

It was long ago that I got tired of searching Google for "what's my ip address" and getting spam-filled sites that want to eat my computer alive. So I created a little Drupal module to do this for me, without the ads. Easy!

Usage

Just point your browser to:

http://s8f.org/ip

Progressbar

This is a portable progress bar for shell scripts written in PHP. It is contained in a class and is pretty easy to use:

Download

$ wget http://s8f.org/scripts/S8f_Progress.php

Usage

<?php
include_once 'S8f_Progress.php';
$total = 100000;
$current = 0;
$p = new S8f_Progress($total);
while (
$current++ < $total) {
 
$p->output();
}
?>

Very useful for monitoring long batch scripts. Credit to Brian Link at Terra Eclipse for this script.

» Source on github

Pages

Subscribe to RSS - Software