Software
From AlistairPhipps
Here are some scripts / utilities / plugins I've written over the years that others may find useful.
- Gajim Log Printer: A simple Python script to read a Gajim logs database (logs.db) and print its output to stdout. Useful to read logs if you no longer have access to Gajim. Released under the GNU GPL. Requires python 2+ and the pysqlite2 library.
- Gaim Log Recoverer: C++ source for a program to recover Gaim logs that have been recently deleted or are stored on a corrupted partition. Works by scanning the disk and looking for the unique Gaim log signature. Note that it can only recover the first portion of a fragmented log file. Only use this as a last resort, and if you know what you are doing. Even if you do use it, you will need to edit the source to change the image/partition location and destination partition, and because of the method of operation it is unlikely to recover all logs, and may recover some spurious corrupt portions of logs. A much better solution is to be careful what you "rm -rf". Released under the GNU GPL. Requires a C++ compiler, tested on Linux with ReiserFS only, but should not be FS dependent.
- Countdown Number Puzzle Solver: C source for a console program to solve Countdown number puzzles. Does so in a fairly brain-dead random fashion, but gives instant results on modern computers. Released under the GNU GPL. Requires a C compiler, tested on Windows and Linux.
- Times Polygon Word Puzzle Solver: Small Python script to solve The Times' Polygon Word Puzzles. Released under the GNU GPL. Requires Python and a word list, which it expects to find in /usr/share/dict/words by default.
- DirectX Screen Capture for Windows: C++ source for a Windows program to capture a screenshot using DirectX. Written for a friend in 2001 to allow capturing of an entire screen, including overlays which could not be captured using usual screen capture methods. The screen capture is triggered immediately and saves the output to TEST.BMP. Released under the GNU GPL. Requires a C++ compiler, tested on Windows.
- Math plugin for Vim: Sums the selected column of numbers when ",s" typed in Visual mode, or performs the mathematical operations given when ",m" typed. Either add the script to your Vim plugins directory, or load it by using "source math.vim", e.g. in your .vimrc. Released under the GNU GPL. Requires vim, and the UNIX bc command to be present in the path.
- MPD Playlist Fixer: This Perl script reads an m3u file with relative paths and writes an m3u with paths relative to your MPD library base. Useful for adding pre-existing M3U playlists to your collection of MPD-based playlists. Released under the GNU GPL. Requires Perl.
