Scripts
You have been replaced by a very small shell script
I like scripts quite a bit. Perl, shell, PHP, they all can be very useful. I know if I am going to end up doing something multiple times,
I'd much rather write a script and have a computer do the work for me. Here are a few of the scripts I've written - nothing too exciting,
but hopefully they can be a push in the right direction if you're trying to do something similar.
VMware
start_vmware.sh was written to create a uniform environment for people running VMware. This way,
multiple people could use the same system-wide VMware configuration files without having to know what is going on behind the scenes.
With just one command users could start up VMware, and have it boot up an OS and be ready to go.
yum
yumgroups.pl is used to create the yumgroups.xml file which is used by yum to keep groups of
packages on your server. This script doesn't use any of the XML libraries since I didn't want to have a dependency on them, so it
just uses 'print' statements to output the XML, which isn't pretty but it works. You can have this script scan through a directory
to find RPMs to include in your groups, and you can specify packages on the command line.
MySQL
mysql_backup.sh was a script that a friend of mine requested so that they could backup their
phpBB database automatically. If you setup your crontab to call this script every few days or so, it will collect dated compressed
backups of your database for you. This could be used to backup any MySQL database, not just one for phpBB. Everything is configured
using variables, so it should be pretty easy to change in order to fit your needs.
Simple Machines Forum
smf_referral_mod.tar.gz is a mod written for use with SMF 1.0.5. It adds the ability for your members to refer new people to your forum and earn points for each person they refer, and for posts made by their referrals. Referral ratings are shown next to posts, and in users' profiles. All of the points are configurable via the admin interface.