Skip to content

Instantly share code, notes, and snippets.

Benjamin Keating bkeating

Block or report user

Report or block bkeating

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bkeating
bkeating / pip-freeze.txt
Created Apr 28, 2015
pip-freeze.txt for djlongnow
View pip-freeze.txt
BeautifulSoup==3.2.1
Cheetah==2.0.1
Django==1.3.1
Fabric==1.4.0
GnuPGInterface==0.3.2
Jinja2==2.6
Landscape-Client==1.5.5.1
M2Crypto==0.20.1
Markdown==2.1.1
MySQL-python==1.2.3
@bkeating
bkeating / bpk_workshop_weather.ino
Created Mar 20, 2015
Ben's Workshop Weather. Arduino sketch to push DHT11 sensor data to data.sparkfun.com
View bpk_workshop_weather.ino
#include <SPI.h>
#include <Ethernet.h>
#include "DHT.h"
#define DHTPIN 2
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
byte mac[] = {
@bkeating
bkeating / etcc-meetup-012915.md
Created Jan 29, 2015
Computer Club Meetup notes for Getting Things Done with Python on Jan 29th 02015
View etcc-meetup-012915.md

Getting Things Done with Python

@bkeating
bkeating / rangen.py
Last active Aug 29, 2015
Generate a range of random 'codes' for Santa on the Square photo service
View rangen.py
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):
@bkeating
bkeating / sharing-freely-piratebox-(etccmeetup).md
Last active Aug 29, 2015
Sharing freely with a PirateBox (ETCC Meetup)
View sharing-freely-piratebox-(etccmeetup).md

Sharing freely with a PirateBox (ETCC Meetup)

Watch this space for notes related to this meetup.

Software Hit List (apps you need to try)

  • Fenix - A simple static desktop web server
  • Flux - Adjusts your computer screens color to make your life better
  • Evernote - Excellent digital filing cabinet
@bkeating
bkeating / sound_sensor.ino
Created Sep 2, 2014
Basic sound sensor sketch for Arduino
View sound_sensor.ino
/*
This is the code to make a LED blink with the music.
You have to set the threshold so it' sensible enough to make the led blink.
You connect an LED to PIN13 and the Sound Sensor to Analog Pin 0
*/
int led = 13;
int threshold = 500; //Change This
int volume;
@bkeating
bkeating / 2894Menu.coffee
Created Sep 2, 2014
East Troy's 2894 On Main cafe [food] menu for Hubot.
View 2894Menu.coffee
# Description:
# East Troy's 2894 On Main cafe [Food] menu for Hubot.
#
# Dependencies:
# "cheerio: "0.7.0"
#
# Configuration:
# None
#
# Commands:
@bkeating
bkeating / playing-with-css-(etccmeetup).md
Last active Aug 29, 2015
Playing with CSS (ETCC Meetup)
View playing-with-css-(etccmeetup).md

Playing with CSS (ETCC Meetup)

Watch this space for notes related to this meetup.

Software Hit List (apps you need to try)

@bkeating
bkeating / coinbase_auth_example.py
Created Aug 5, 2014
GET and POST to Your Coinbase.com account (via API + Secret Key). This is based on the example in their documentation. Adds expires support. Make sure API used has necessary permissions.
View coinbase_auth_example.py
# -*- coding: utf-8 -*-
#!/usr/bin/env python
import os
import hashlib
import hmac
import urllib2
import time
import json
@bkeating
bkeating / servo.ino
Created May 28, 2014
A simple servo sweep using PWM. Taken from an example in the Arduino IDE application.
View servo.ino
// Sweep
// by BARRAGAN <http://barraganstudio.com>
// This example code is in the public domain.
#include <Servo.h>
Servo myservo; // create servo object to control a servo
// a maximum of eight servo objects can be created
You can’t perform that action at this time.