This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
device_name: 'Digoo Station' | |
external_location: 'Balcony' | |
rf_receiver_pin: '4' | |
digoo_sensor_channel: '2' | |
digoo_sensor_id: '9' | |
esphome: | |
name: digoo-station | |
comment: 'ESP station for environment monitoring' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hacky script for downloading videos from PyVideo and converting them to m4v | |
# format so they can be synced onto your apple device. Useful if you | |
# want to see everything that happened at PyCon while commuting. | |
# | |
# Requirements: | |
# * pip install requests BeautifulSoup | |
# * youtube-dl (from https://github.com/rg3/youtube-dl/) - add this to the | |
# directory where this script runs and ensure its execute bit is set. | |
# This was the only YouTube downloader I found that worked. It doesn't | |
# really have a good Python API so I call it through os.system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
TRUNK_HASH=`git show-ref --hash remotes/trunk` | |
REV=`git svn find-rev "$TRUNK_HASH"` | |
if [ "$#" -eq 0 ] | |
then | |
HASHES="$TRUNK_HASH..HEAD" | |
else | |
HASHES="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////////////////////////////////////////////////////////////////////////// | |
// | |
// Simple game where the mission is the correctly estimate the passage of a | |
// small amount of time | |
// | |
// Gareth Williams // SquareDisk // All round, different | |
// | |
#include "msp430g2211.h" |