Tags: shell scripts

Web-Font-Load [↗]

Install all Google Web Fonts onto your local machine.

There are some awesome fonts available from Google Fonts, but I’m not sure I’d want all them installed locally. Still, it’s nice to know that I can have them, if I change my mind.

hacker-scripts: Based on a true story [↗]

xxx: hangover.sh – another cron-job that is set to specific dates. Sends automated emails like “not feeling well/gonna work from home” etc. Adds a random “reason” from another predefined array of strings. Fires if there are no interactive sessions on the server at 8:45am.

Haha, I love these.

Time-lapse Shell Script For The Raspberry Pi

This is the shell script I use for creating time-lapse videos using a Raspberry Pi. It is designed to run as cron job, so it is somewhat fail-safe to power outages. The script assumes that the Pi has a couple of USB drives attached to it, for storing the images, but other than that, it should be fairly self-explanatory.

Note: the script is just responsible for taking the photos. There are some instructions for building the actual video with MEncoder at the top of the script.