Skip to content

Instantly share code, notes, and snippets.

View svanscho's full-sized avatar
🚀

Sander Van Schoote svanscho

🚀
View GitHub Profile
@svanscho
svanscho / ambisphere.ino
Last active August 29, 2015 14:07
ArduinoAmbisphere
#include <SPI.h>
#include <Ethernet.h>
//********************************************************************************
// Webserver section
//********************************************************************************
// MAC address from Ethernet shield sticker under board
byte mac[] = { 0x90, 0xA2, 0xDA, 0x00, 0x6D, 0x7E };
IPAddress ip(10, 26, 12, 200); // IP address, may need to change depending on network
EthernetServer server(80); // create a server at port 80
from appscript import app
from datetime import datetime
import urllib2
import os
import uuid
import sh
def removeOldPicture():
try: