pp_watchdog is a Perl script which monitors configured URLs, and searches for specified content in the response. If the content is not provided or the request times out, then a state in a statefile is incremented and a corresponding recovery-script is called. This script can be an individual recovery-script for the monitored Web server. An example is provided. The watchdog also sends an email notification to the admin. The script is safe to run as a cronjob if timeouts are used for the monitoring and a lockfile is used to prevent multiple instances. After a 4 unsucsessfull recover attempts, the script stops trying to respond to the broken server to prevent overloading the machine.
SortImagesGUI is a Java Swing application for sorting still images from digital cameras by capture date from the EXIF header. The images are sorted into subfolders by year, month, and day. Most of the EXIF-metadata are inserted into a MySQL database with the MD5 sum of the image file as a primary key. This makes it easy to find out if an image already exists.