I hereby claim:
- I am alijnclarke on github.
- I am wasitdns (https://keybase.io/wasitdns) on keybase.
- I have a public key ASDN3OwVfGMRWZbhmudPsOeFB8WilBWhK5rVBrP9eXGWWAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# IMPORTANT SETUP INSTRUCTIONS: | |
# | |
# 1. Go to http://www.dropbox.com/developers/apps (log in if necessary) | |
# 2. Select "Create App" | |
# 3. Select the following settings: | |
# * "Dropbox API app" | |
# * "Files and datastores" | |
# * "(No) My app needs access to files already on Dropbox" | |
# * "All file types" | |
# * (Choose any app name) |
const int ledPin = 13; // the pin that the LED is attached to | |
int incomingByte; // a variable to read incoming serial data into | |
void setup() { | |
// initialize serial communication: | |
Serial.begin(9600); | |
// initialize the LED pin as an output: | |
pinMode(ledPin, OUTPUT); | |
} |
def filename(type): | |
''' Function to generate the correct name for the two files outputted by quakes.py | |
this function takes the parameter type as the identifier for the output required ''' | |
global name | |
if type == "write": | |
name = 'quakes-' + str(sys.argv[1] + '-' + str(sys.argv[2]) + '.loc') #Concatinates string | |
elif type == "html": |