Text to speech mp3s for Fanfiction.net

Tue 25 March 2014

Ever since my first Kindle broke, I've had a version of this script knocking about to replace its TTS functionality. It takes a url to a fanfiction.net story and spits out nicely tagged mp3s.

It breaks pretty much every time fanfiction.net updates, so piping curl | html2text | espeak ...

Continue reading »

Twee Mode for Emacs

Mon 24 March 2014

Twee is the command line variant of Twine, a piece of software to write and publish CYOA-style stories to the web.

Twine is a GUI editor where you can visualise and manipulate the relationships between different story chunks on a graph. It's a neat piece of software. But despite ...

Continue reading »

Backup Reddit Posts

Thu 20 March 2014

Most of the writing I do online takes the form of Reddit comments. And most of the interesting things I discover (and later forget) usually worm their way into one post or another.

So I wanted full text local search of my Reddit comment history. Scraping Reddit comments is fairly ...

Continue reading »

Keylogger for XWindows

Sun 16 March 2014

Any sufficiently privileged user can connect to X and read all keystrokes. So if, for example, this script is running as the currently logged in user, it can read that user's keystrokes when they type in their passwords.

There's the easier way to get user passwords, of course ...

Continue reading »