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
# notifyme.py | |
''' | |
=== | |
3/25/2014 | |
Notifyme! - By Robert Cross ([email protected]) | |
Tested on IPython 0.13.1 and current master branch as of date above. | |
Distributed under the GPLv3 license | |
Default sound recorded by JamieBlam from Freesound.org | |
- License: http://creativecommons.org/licenses/by/3.0/ |
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
# coding: utf-8 | |
# In[1]: | |
from datetime import timedelta, datetime, tzinfo | |
from pytz import timezone | |
from icalendar import Calendar, Event, Alarm | |
import uuid | |
from os import chdir |
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/bash | |
function handleConditions { | |
Y=8 | |
W=false | |
SF=100 | |
SNOWING=true | |
case "$1" in | |
"Light Snow" ) | |
SF=100 |
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
// I've tested this with an arduino UNO and an arduino NANO | |
// With the nano I had to program externally, maybe the bootloader interferes? | |
// With an optical mouse you probably need to disconnect power from the amiga pin 7 | |
// and power externally as the mouse port can only supply 50 mA | |
#include <ps2.h> | |
// grab the ps2 library here: https://playground.arduino.cc/uploads/ComponentLib/ps2.zip | |
// You may need to change a line in file "ps2.h" | |
// from '#include "WProgram.h"' | |
// to '#include "Arduino.h"' |