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
import random | |
import string | |
import subprocess | |
from PIL import Image | |
from PIL import ImageFont | |
from PIL import ImageDraw | |
codes = [] | |
for i in range(1, 251): |
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
#include <SPI.h> | |
#include <Ethernet.h> | |
#include "DHT.h" | |
#define DHTPIN 2 | |
#define DHTTYPE DHT11 | |
DHT dht(DHTPIN, DHTTYPE); | |
byte mac[] = { |
Lock Picking 101 is an East Troy Computer Club meetup event held on May 21, 02015 located on the historic village square of East Troy, Wisconsin. http://etcc.io/
The Current State of Home Automation was held on July 30th, 02015 located on the historic village square of East Troy, Wisconsin. http://www.meetup.com/East-Troy-Computer-Club/events/224055214/
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
# Depends on the OS X "say" command | |
import time, datetime, subprocess, math, sys | |
def say(s): | |
subprocess.call(['say', str(s)]) | |
def seconds_until(dt): | |
return time.mktime(dt.timetuple()) - time.time() |
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 -*- | |
import datetime as dt | |
import dateutil.parser as dparser | |
import urllib2 | |
from BeautifulSoup import BeautifulSoup | |
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | |
print "<articles>" | |
# Loop through each prediction and bet URL. |
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
# PROJECT_NAME.conf - run PROJECT_NAME gunicorninstances | |
# | |
# This runs gunicorn_django for PROJECT_NAME; to install: | |
# * sudo ln -s <this file> /etc/init/PROJECT_NAME.conf | |
# * sudo initctl reload-configuration | |
# to use: | |
# * sudo start/stop/restart/reload/status PROJECT_NAME | |
# | |
# For a full list of configuration options: http://gunicorn.org/configure.html |