Right, don't even think about mocking me, but I'm starting a blog. Not to talk about the futility of life and how pretty girls hate me (unless I get really drunk), but because I'm sick of all my wasted work. I seem to be constantly writing code or fiddling with things where the result is either only used in one place, or is used once and thrown away, or simply never gets finished. Some of this I'm convinced will be useful to others, or even to myself in the future.
"niggadogg.com" was a website I wrote to poke fun of the infamous "da-drew", who would always come on IRC and spout a bunch of nonsensical pseudo-ebonics. It generates the kind of sentences that he might have said.
This was actually an interesting experiment in first-order Markov chains, where a sentence is constructed using word-sequence probabilities - the next word is based taking the preceding word and choosing a word based on its probability of appearing next in the sample corpus (around 4,500 lines of "sanitised" da-drew quotes from IRC).
This form queries all the nameservers for the root you've specified to find out what their records show for the NS of the domain in question. This is useful if you have submitted nameserver changes and you don't know whether they are yet in any or all roots. It returns a list of what each root (gtld, cctld etc) nameserver is serving as NS records. Repetitive, automated or abusive use of this page is strictly prohibited. If you want to run this yourself, download the source.
This page describes how to set up Windows Messenger to communicate
with an Asterisk server using SIP. It assumes Messenger version 4.7
(available here) and a working installation of Asterisk. This page was written in 2003 and some content may not be relevant to more recent versions of either software.
Some notes on Cisco IP phones (specifically the 7940/7960s I have).
This article examines the construction of a scroller control, enabling selection from a group of items where the currently selected element is visible and new elements are scrolled in to replace it. It makes use of the CSS clip property to control the scrolling. This code could also be used as a basis for other scrolling transitions, such as in a slideshow.
This tool lets you quickly subnet IPv4 networks, visualise them, and split or join them with a single click. It also shows the address range, subnet mask, and number of hosts for each subnet. You can save and load your arrangement using bookmarks.
Access the Visual Subnet Calculator.
This was written in 2002, though I still use it constantly. One day I intend to make an equivalent for IPv6.
This utility allows you to see the contents of a shared memory segment created using the shm_* functions in PHP. Unlike the shmop functions, which allow you to read and write raw data in a shared memory segment, these are designed for PHP only and consist of serialized PHP variables in a linked list.
This program converts MRTG .log files to the correct .rrd format for Cricket.
I haven't used MRTG since 2002, when this script was written, so I make no guarantees as to its functionality, nor can I help with any problems.
This is based on code by Wrolf Courtney, Russ Wright and Alan Lichty.
This is a quick reference chart CSS cursor styles. I made it a number of years ago, but still find it occasionally useful.