Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
#########
# About #
#########
# This script uses a Raspberry Pi to sense for the presense or absense of water.
# If there is water, an email is sent and a buzzer goes off.
# When it's dry again, another email is sent, and the buzzer turns off.
@sixstringsg
sixstringsg / khas_is_a_slacker.sh
Created October 12, 2012 17:30 — forked from KhasMek/khas_is_a_slacker.sh
not another image manipulation script. xD
#!/bin/bash
#
# Image template creator and thumbnail maker.
#
# USAGE: ./make_lazy $CUSTOM_TITLE_NAME
# If CUSTOM_TITLE_NAME is blank, it will use the actual filename
# (with underscores and all).
# Currently supported formats are .png and .jpg.
#
# In addition to most normal linux apps, this script will
@sixstringsg
sixstringsg / make_lazy.sh
Created September 26, 2012 01:49 — forked from KhasMek/make_lazy.sh
A quick script to clean up image file names by removing blank spaces, capitals, redundancies, and adding authorship. It then creates thumbnails and xml entries for later use
#!/bin/bash
# Super lazy way to get all the thing together to add
# more wallpapers to the SwagPapers (or similar) apps.
#
# USAGE: ./make_lazy $AUTHORS_NAME $FIELD_TO_REMOVE
# FIELD_TO_REMOVE is useful when the original author has
# added an aokp prefix to the image. We already know this
# will be an aokp related image, and is unneeded.
# Currently supported formats are .png and .jpg.
#