Skip to content
Q: What's yellow, and equivalent to the Axiom of Choice?
A: Zorn's Lemon.
Teri's Digs

programs


I support free software, so the programs and scripts I have written are GPLed (LICENSE), which means you can do whatever you want with them, including make changes, as long as those changes are also released under the GPL.

Most scripts come with instructions detailing how to use them. Some of the programs are written in Java; You will need jsdk >= 1.2 to compile and run them. You can get it from Sun's site, here. Other programs are written in PHP, so you'll need a properly configured web server to use them.

Programs and scripts involving more than one file are packed into tarballs, Winzip should be able to open them for you if you use Windows.

GNU General Public License
GNU General Public License

Stand-alone software

UNG - 63.8 K
v20071119.1 - November 19, 2007
Active
Freshmeat project page
UNG (UNG's Not Gallery) is a PHP script for control freaks, tweakers, and other power users.

It browses subdirectories (uploaded manually via FTP/SCP/etc) of a specified location and creates a hierarchy of categories and pictures. It automatically creates thumbnails for images that don't have them already and has an optional comment system so people can discuss posted pictures.

I originally made this just for my own use, but I was told that other people may be interested in utilizing something like this, so I made the source available and started accepting patches from others.

The code is pretty messy- I wrote this in one go back when I was still new to PHP and haven't really gone over it to any great (well, any) extent since then. Add to that the modifications submitted by others, and you're left with a jumble of code that works by virtue of sheer stubbornness. Needless to say, The code is probably very redundant with tons of extraneous things. If it isn't, then forget I said that :)

To use it, just save the .txt file as a .php file on your webserver and change some configuration values. Instructions and Changelog are included near the top of the file.

Updated November 19, 2007:
  • Fixed a bug in the way exif data was handled for some images.
  • Fixed a bug wherein the cached image directory was browseable.


DOWNLOAD (63.8 K)
Comment...
One comment
MyComic - 18.58 K
v1.0.0 - August 26, 2007
Inactive
Freshmeat project page
Originally written back in 2002, this was designed as the backend for three separate webcomics run by friends ('Megadome All-Stars', 'Into the Black', and 'The Misadventures of Magus and Mog'). However, as is often the case with such things, all three of those webcomics eventually ceased to be.

After about a year, I decided it was time to clean up the code a (little) bit, fix some bugs, and make it available to the Internet at large. It's still rough around the edges, but I think it does a pretty nice job of administering a webcomic without needing a database. Not really very configurable at all, unless you know PHP- but some people may find it useful, nonetheless.

I believe that there are now more robust alternatives to this available on Freshmeat, but I am not familiar with any of them. You should probably shop around a bit before settling on this program, but it is possible that it will still suit your needs.

Updated August 26, 2007:
  • Changed all instances of HTTP_POST_VARS, HTTP_GET_VARS, and HTTP_POST_FILES to their current incarnations.
  • Added title configuration variable.
  • Added RSS feed for comics.
  • Renamed include files to have the 'comic_' prefix.
  • Updated contact information.


DEMO
(login with user: user{1|2|3} and passwd: user{1|2|3} to play with the admin page)
DOWNLOAD (18.58 K)       CHANGELOG
Comment...
8 comments
vcf2alias
November 2003
Inactive
This is a simple little script I made to convert vCards into Mutt alias files. I started making it in Perl, but the CPAN modules I needed didn't work as advertised. After a bit of searching, I ended up doing it in PHP, using a PEAR script.

Anyway, I don't know how useful this will be to anyone else, but since it is in PHP I figured I'd at the very least make it available to everyone.

I'm not really doing anything with this program anymore since I have started using a different address book program and now have no real use for vcards.

DEMO
You probably just want to use it, right?
DOWNLOAD (4.79 K)
Comment...
No comments
WeatherCheck - 50.97 K
v0.5 - July 2002
Defenestrated
Freshmeat project page
I wrote this because I was bored, but it could be considered useful (almost ^^). Using Java Swing, this program pops up a window asking you for a US zip Code. After entering the zip a new window will shortly appear (depending on network speed and somesuch) with your local forecast from The National Weather Service.

This program is badly in need of being updated. I am well aware that it doesn't work very well anymore, if at all. It was just a quick program from the start, so was never very robust. I don't really have any use for it anymore, so have stopped working on it.

   Screenshot 1       Screenshot 2       Screenshot 3   
DOWNLOAD (50.97 K)       CHANGELOG
Comment...
4 comments
SimpleChat - 15.54 K
August 2001
Inactive
I originally made this for my Internet Technology class, but it has been expanded upon a bit. The way it works is this: one person runs the chat server and specifies which port to allow connections on. Anyone who wants to join the chat then starts up the client (GUI) and connects to the server's hostname:port. People currently present in the chat are listed in a box on the right, you have the capability to send private messages, and the server occasionally pings the clients and disconnects them if it doesn't quickly get a response.

AFAIK, this is in perfect working order. Of course, it's not very useful or interesting, so no one (not even me) really cares....

   Screenshot 1       Screenshot 2   
DOWNLOAD (15.54 K)
Comment...
No comments

Add-ons/modules for other software

PSG Export Tool - 1.43 K
v0.1 - August 2007
Inactive
Will export all of your PSG posts, tags, and comments into the Movable Type Import / Export format. This will allow you to import this data into other blogging software, such as Moveable Type or Wordpress.

To use, you will need to configure it slightly - either copy the configuration array (which defines the location of your PSG files) from PSG's index.php, or include a file which sets that information (for me, that was blogadmin.php). You will also need to change the 'AUTHOR' field in the dump_post function to whatever you want these posts to be attributed to (assuming they are all by the same person, of course).

Known issues:
  • For some reason, when I imported the file generated here into Wordpress all of my comments had quotes and doublequotes escaped after import, despite them not appearing that way in the dump file. I fixed this by manually replacing those strings in the comments table in the Wordpress database.
  • Permalinks inside of posts to other posts will not work, natch.


DOWNLOAD (1.43 K)
Comment...
No comments
PSG Archives Module - 6.55 K
v1.2 - May 2003
Deprecated
An alternate way to display archives in PSG- just include it along with psg.php, add a few lines of code, and you can browse archives by month (similar to most other blogging software).

I am now an official PSG developer, so this, along with other changes I've made, have been incorporated into the main codebase. It would be wise to simply install a recent version, instead of applying the module here as-is.

This is only provided here for historical purposes.

DOWNLOAD (6.55 K)
Comment...
No comments