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

Status Boards

East Troy Computer Club Meetup
Wednesday, Feb 18th, 02013
7pm @ 2894 On Main, East Troy, WI

Many thanks to 2894 On Main for staying open extra late just for us!

Potential agenda

View gist:9145109
bkeating / gist:10936636
Created Apr 16, 2014
Turn your web browser into a notepad
View gist:10936636
data:text/html, <html contenteditable>
bkeating / gist:10937264
Created Apr 16, 2014
Instant HTTP server via Python
View gist:10937264
python -m SimpleHTTPServer 8080
# -*- coding: utf-8 -*-
from flask import Flask, jsonify, render_template, request
app = Flask(__name__)
from subprocess import check_output
def add_numbers():
"""Add two numbers server side, ridiculous but well..."""
# -*- coding: utf-8 -*-
import datetime as dt
from django.db import models
from django.contrib.auth.models import User
class CommonFields(models.Model):
title = models.CharField(max_length=140)
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 <>
// 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
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 / 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 /
Created Sep 2, 2014
East Troy's 2894 On Main cafe [food] menu for Hubot.
# Description:
# East Troy's 2894 On Main cafe [Food] menu for Hubot.
# Dependencies:
# "cheerio: "0.7.0"
# Configuration:
# None
# Commands:
You can’t perform that action at this time.