page of programs | ||||||||||
| code | ||||||||||
below is a collection of code, some old, some new, some useless, some useful, the only common thread is that it was written by me.
if not otherwise specified, consider the code released to the public domain.
| junkcode | |
| http://www.wienand.org/junkcode | |
| My junkcode repository is where I keep bits and pieces of code that don't quite make their own projects. Most of it is very me specific, but much of it may come in handy for someone else. This is mirrored automatically from my local CVS repository. | |
| gallery.py | |
| gallery.tar.gz | sample | |
| A very simple static HTML gallery generator written in Python. See the sample. Adobe Photoshop has a very similar gallery generator which this was mostly inspired by. | |
| bindecode | ||
| bindecode.py | screenshot.txt | ||
| A program to decode and describe the bits of a bitfield. Includes some important IA64 registers and can be easily expanded to include others. | ||
| gnome-notify | |
| gnome-notify.tar.gz | mouseover.png | gnome-notify_0.1-1_i386.deb | gnome-notify_0.1-1_ia64.deb | |
This pops up a notifer box very much like MSN does on windows to notify you of some event. You run gnome-notifer in the background and sends notifications with gnome-notify "message". The event is a HTML control so you can use a link and click on it, should you desire. To remove the notification box, you simply move your mouse in and out of the box to signal that you've finished with it (the border will change) and then it will disappear in a few seconds. The events will stack on your screen until you remove them. Based on gnome notifier by Miguel de Icaza. See the screenshot. | |
| htmltmpl-template | |
| README | htmltmpl-template.tar.gz | |
| htmltmpl-template is a templating system around a templating system! It's just a way that I use to keep simple sites in order with headers and footers and what not. You will need the htmltmpl Python libraries; this consists of a Makefile and some wrapper Python scripts. See the README for more info. | |
| xmerge | |
| README | xmerge.py | |
| xmerge is a program to merge multiple y axis values into a single x value, something I often have to do to get pretty graphs. It's a little hard to explain, so see the README file for a better explaination. | |
| filebackup | |
| filebackup.tar.gz | |
| I keep my mp3's in a simple directory heirarchy and needed a way to back them up. This script is based on a script called ImageBackup, and runs through directories making ISO's of the mp3's. It remembers which ones it has done, so when you add new albums you simply re-run the script. It will not break up directories, keeping albums on one CD. | |
| ipbench | |
| http://ipbench.sourceforge.net | |
| ipbench is a distributed benchmarking suite I have been slowing creating at work | |
| openupsmart | |
| http://openupsmart.sourceforge.net | |
| I bought an el-cheapo Dick Smith UPS which advertised "linux support". Turns out that "linux support" is a binary RPM that doesn't work, and it's not much good for my server which is an Alpha running NetBSD. So I sniffed the serial line of the Windows software to get the protocol and wrote a daemon to monitor it. | |
| Debian Wireless setup scripts | |
| this page | |
| some automated scripts that fit in with the Debian ifup/down interfaces to easily switch wireless locations. | |
| lkmld2html | |
| lkmld2html.tar.gz | sample page | |
| converts the digest format of the linux kernel mailing list to a html file. It is written in python, more as a way for me to learn python than anything else. It may work for other mailing list digests if they use the same thing as the lkml, i would be interested to hear if it does. | |
| metacity-setup | |
| metacity-setup.sourceforge.net | |
| i used to be the debian maintainer for this package, then when upstream disappeared i took over the sourceforge project. Since then I have retired this as the whole point of metacity is to be integrated with the gnome system and gnome-control-panel etc. All the settings can be easily changed with gconf-editor too. So I've fixed all the reported bugs in CVS, but no new development is happening. | |
| php indexer | |
| index.php.gz | sample page | |
| i have a tendency to use very cheap web hosting, where you get what you pay for. Sometimes they don't allow directory listing (probably a good thing, on the whole), so this index.php will more or less do that for you. See the sample page for an example. | |
| Perl/XML blog application | |
| journal.tar.gz | sample page | journal.xml | |
| see note above about cheap web hosting; generally I don't get a mysql database. Most of the blog applications required this (I've since found a few that don't) so I wrote this, which keeps everything in a simple xml file. But then I couldn't get the perl XML modules to work on the remote host, so I gave up anyway. Now I keep my diary somewhere else anyway. | |
| fasthosts.co.uk logalyser | |
| logalyser.py | sample page | |
| again see note about cheap webhosting. fasthosts.co.uk, who my web hosting used to resell, used a kind of strange log file format, so I wrote a little python script to analyse it. | |
| Upload file repository | |
| uploader.tar.gz | sample directory | |
| allows you to upload a zip file, the script will extract it and allow you access to it. pretty useless, but I did need it once when I was doing some dev work on a box I didn't have easy ftp access to. | |
| bourne shell | sed guides | |
| sh guide | sed guide | |
| while doing some dev work at a place where shell/sed weren't the native language of the locals, I wrote some quick reference guides in the only available tool, microsoft word. I can't find anything to convert these to an open format nicely, so they remain as is. | |
| Audrey | |
| My Audrey page | |
| Audrey is a ill-fated 3com web appliance type device that runs QNX on a fairly slow geode processor, has a nice little touch screen and an infrared keyboard. It's quite nice for streaming MP3's, but with it's tiny screen with limited colours it's useless for much anything else. I picked it up cheap from a US clearance website, got it relay shipped out to Australia via a friend, and it's been in service ever since. | |
| webcamd | |
| webcamd.tar.gz | sample screenshot | README | webcamd.c | webcamd.h | |
| The SGI Indy came with a pretty awesome (even today) camera that has a history of various hacking projects within SGI. So while I was an intern there, I decided it was my duty to hack my own IndyCam project, and this was it. It's a daemon that sits and listens for a web connection, and serves up images directly. It keeps a user specified history of shots and is fairly efficient. I learnt quite a bit about IRIX, the SGI video libraries and the HTTP protocol, which was really the point! You'll need a Indy running IRIX 6.5 (or higher, I guess) with an IndyCam obviously. | |
| my first ever (real) unix program | |
| timer.c | |
a little piece of history. This program will run a subprogram for a user specified time, and then send it a signal. Still to this day I don't know of the canonical unix application that does this. This is probably the worst code ever, for some reason I copied whole chunks of argv into separate buffers. but it works, and it took a fair bit of pouring over my unix systems programming book to get it going (and I still use it today!) | |
| LatexMultiMake | |
| multimake.tar.gz | README | |
| This Makefile makes it easier to create a PDF and PostScript output from the one input, images included (assuming you use EPS files). Using pdflatex it is much easier to get a pdf output without the crappy bitmapped fonts, but it requires PDF inputs of images. Using this Makefile, write your document, leaving out the graphicx package, run make all and it will create both a pdf and and a postscript output, converting all EPS files to pdf and including them properly. | |
| lockstat_applet | |
| lockstat_applet.tar.gz | screenshot | |
| another one of those projects that you do to both scratch an itch and learn something. My logitech wireless keyboard doesn't have any caps status lights, so I wrote a gnome applet to monitor the keylock status and put in the task bar. Jeremy Brenner also updated the applet, making it vertical and putting some new graphics on it [lockstat_applet-jb.tar.gz]. | |
| bit2html | |
| bib2html.tar.gz | example html (from input sample input). | |
| while procrastinating about something I wrote this very primitive bib2html converter. It's not very robust, but did what I needed it too at the time. | |
| ianw(a)wienand.org | © 2008 |