2011-04-17
By Xyne
This section of the site is just a collection of various scripts and configs that I have written. Each script should contain a description of itself and its usage at the top of the file. Some of these may eventually end up in the projects section.
I will try to keep this up-to-date, but this list is static while the one to the right is dynamic, so if there is a discrepancy between the two, this one is wrong.
This was originally posted on the forum. It provides a way to create a drop-down or pop-up terminal that you can quickly toggle (similar to terminals in some games such as Quake, whence the name).
Here is the latest version.
bbcode_gradient.py applies BBCode color gradients to text on STDIN. It accepts multiple hexadecimal colors as arguments and distributes the gradients evenly between each sequential pair. If the single argument "rainbow" is given, then it will apply a gradient that passes through all hues of the HSV color space.
Usage examples:
bbcode_gradient.py '#ff0000' '#00ff00' '#0000ff' < /path/to/foo.txt
echo "woooooooooooooooooooooooooooooooooot" | bbcode_gradient.py rainbow
chess_imager.py is a CLI tool for generating chessboard representations. It supports the following:
It is mostly a wrapper for the first but it may be expanded in the future.
Image from Steve Eddins' Chess Imager:
Unicode representation:
♖♘♗♕♔♗♘♖ ♙♙♙♙♙♙♙♙ ♟♟♟♟♟♟♟♟ ♜♞♝♛♚♝♞♜