Skip to content

Instantly share code, notes, and snippets.

@technomalogical
technomalogical / skulleyes.ino
Last active October 27, 2015 22:11
"I wouldn't ring the doorbell" Halloween Decoration - Arduino Code
/*
* "I Wouldn't Ring The Doorbell" Halloween Prop Code
* Video: https://youtu.be/pO9J1Tid65o
*/
// include SPI, MP3 and SD libraries
#include <SPI.h>
#include <Adafruit_VS1053.h>
#include <SD.h>
@technomalogical
technomalogical / gist:903970
Created April 5, 2011 16:42
login and select menu in web app
def login(self,username,password):
sel = self.sel
sel.get(self.HOME)
elem = sel.find_element_by_id("userId")
elem.send_keys(username)
elem = sel.find_element_by_id("password")
elem.send_keys(password+Keys.ENTER)
def select_menu(self):
sel = self.sel