This page contains my own hacks that I hope that someone else might
get some use out of. If you modify anything in any of these, I'm
interested in seeing your changes.
- Antiquarian bookstore database
This is a database of information about Swedish antiquarian
bookstores. It is put together by a script that fetches, parses, and
merges several web listings of antiquarian bookstores. The database
can be searched from the web or downloaded in text format and a couple
of different Palm Pilot database formats.
indexpage.pl generates one or more index pages and the
corresponding thumbnails for displaying images from a digital camera
or similar on the web. If there are more images available than will
fit on one page with the specified number of rows and columns,
indexpage.pl will generate more than one page, each with a navigator
to easily reach the other pages. There are lots of configuration
options to determine how the generated pages should look.
This is an IRC bot written in Perl. I use it in an IRC channel at
work to tell me intranet news, stock quotes, search the personnel
register, remind people, hold polls and other things. If you want to
use it, you might have to tweak it here and there, but it shouldn't be
very difficult. All the commands in it are written as plugins and
there is documentation on how to write your own plugins. If you do,
I'd like to see them.
lazy.pl is a script for automatically keeping programs up-to-date.
It reads a list of programs to look for and instructions on how to
install them. You can for instance tell cron to run lazy periodically.
It also keeps a list of what versions has been installed, so it won't
try to install the same version more than once. All versions it has
installed are listed.
Adventureland is a database of
information about interactive fiction. Mostly, it is interesting
for the information content, but all the relevant source code is also
available (it's an SGML database processed with Perl).
This is a Perl script that tries to convert Claris MacWrite II
files (a Macintosh word processor) into plain text.
This is a Perl script that converts Text 64 files (a Commodore 64
word processor) into plain text.
This is a quick-and-dirty attempt at an Emacs mode to edit Oracle
PL/SQL code. It is based on ADA mode and created by an elisp
illiterate. I used to use it, though. Now, I'm free from messing with
Enhanced is a cyberpunk text adventure game written in
TADS. You need a TADS interpreter to play, but that can easily be
downloaded from the Interactive
- A page about making Windows 95/NT more
This isn't really a hack, just a collection of information to make
- A Linux driver for the USBAT-02
CompactFlash reader for Kodak DC3800
This is information about a project to create a Linux USB driver
for this reader.
I have also tinkered with programs originally written by others.
XTicker is a Python program originally written by Andy Markebo
shows continously updated stock quotes (for Swedish stocks).
This is a very rudimentary Webmin module for configuring the
Linux port of the OpenBSD ftp server. I created the OpenBSD module,
but almost all the code is taken from the Webmin module for wuftpd.
This page is maintained by Hans Persson
Last modified .
I have a lot of web pages: Try some of the others:
about me |
Swedish sf |
you are what you read |
Ian McDonald |
Peter F. Hamilton |
Locus index |