This file contains hidden or 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
### BEGIN INIT INFO | |
# Provides: Xvfb | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: | |
# X-Start-Before: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Loads X Virtual Frame Buffer | |
### END INIT INFO |
This file contains hidden or 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
#include <Servo.h> | |
Servo MyServo; | |
void setup() | |
{ | |
// encoder pin on interrupt 0 (pin 2) | |
attachInterrupt(0, encoderPinChangeA, CHANGE); | |
// encoder pin on interrupt 1 (pin 3) | |
attachInterrupt(1, encoderPinChangeB, CHANGE); |
This file contains hidden or 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
#!/usr/bin/python | |
##Gets Number of New Emails | |
##Daniel Loman 10/15/2013 | |
import getpass, imaplib, pickle | |
######################################################################################## | |
######################################################################################## | |
def GetNumberOfMessages(): | |
Mailbox = imaplib.IMAP4("server.address") | |
AuthenticationToken = pickle.load(open(AuthFileLocation,'rb')) | |
Mailbox.authenticate("NTLM", AuthenticationToken) |
NewerOlder