logo.gif Source Code


Here are various programs and bits of code which I hope will be usefull to someone. They may be redistributed under the terms of the GNU General Public License, and come with ABSOLUTELY NO WARRANTY.


midge:

Midge is a text to midi system written in Perl. It produces type 1 (ie multitrack) midi files from ascii input. The input language and program options are documented in the manual page. Follow the link for more information.


binn:

Binn is a client for binary newsgroups, with a simple text mode interface. It is written in Perl and requires the Net::NNTP module.


jnewclass:

Jnewclass is a Perl script which generates a skeleton java class from information given on the command line, or via a java gui. It requires Perl >=5.6 and the java2 jdk or jre >=1.3.


WebTool:

This is a java application to speed up html coding. There is no wyswyg view, just the code, which you add tags to from the buttons and menus.

There are two versions, 1.x which runs on java 1.0, and 2.x which runs on java 1.1 and above, and has additional features.

Note: this requires a java interpreter - it will not run in a browser.

Features:

Platform issues:

Download:


CadPad

CadPad is a simple 2D CAD program for mechanical engineering drawings. This is an alpha release and is missing a few necessary features, but is already usable for simple drawings. CadPad requires java jdk 1.1 or higher.


joker:

Joker is a networked card game written in java. This is the first alpha release and it is still very basic, however, the two games currently supported, `knockout whist' and `Montana red dog' are playable.


Astroexp

Astroexp is a perl script which calculates exposure times for astrophotography. It accepts parameters on the command line or interactively, and is easily customisable using plain text configuration files.


qwlog:

This is a perl script to parse the output from the quakeworld client. You just redirect the output to a file and then cat the file through qwlog to filter out various information. For example:

The players names are regexp matches but you must match the start of the name, even if just with dots.


uptimes

Uptimes is a perl script which maintains and displays a `league table' of system uptimes. The update option, intended to be run from cron(1) reads the current uptime from uptime(1) and updates the log if neccesary. The default displays the uptimes table, highlighting the current uptime if it is in the table.


8queens.pl

This is a perl script which finds all the solutions to the 8 queens problem, a chess puzzle in which you have to place 8 queens on the board such that none can take any of the others.


rtrim

This is a small utility written in c, which removes blank spaces from the ends of lines in a text file, but not from the start of lines (I needed this for ascii-art). It also removes the carriage return from the line separator [ -r switch ] or adds it [ +r switch ], which I needed for moving files between linux and dos.

example usage:


ascii-tv

This is a java applet to display ascii-art animations. Follow the link for more information and downloading.


ascii art scripts

Some bash and perl scripts to generate ascii art patterns.


[home]