Skip to content

Instantly share code, notes, and snippets.

@bbarr
bbarr / resume.json
Last active September 5, 2019 17:54
{
"meta": { "theme": "onepage" },
"awards": [],
"education": [
{
"area": "Film Scoring",
"courses": [],
"endDate": "2006-09-01",
"gpa": "",
"institution": "Berklee College of Music",
@bbarr
bbarr / gist:cf28ca468bea18f5fc7b
Created May 8, 2015 20:22
tweet analysis funtimes
var Twitter = require('twitter');
var analyze = require('Sentimental').analyze
var R = require('ramda')
var client = new Twitter({
consumer_key: '',
consumer_secret: '',
access_token_key: '',
access_token_secret: ''
});
@bbarr
bbarr / coin_flip.lua
Created September 19, 2013 13:24
# airscript
-- Sample script to make an HTTP request with query parameters
local response = http.request {
url = 'http://www.random.org/integers/',
params = {
num=1, min=0, max=1, format='plain',
rnd='new', col=1, base=10
}
}
if tonumber(response.content) == 0 then
return 'heads'
var Person = function() {
// one at a time
this.key('fname', { default: 'John' });
// many!
this.keys({
fname: { default: 'John' }
});
}
@bbarr
bbarr / peat.rb
Created August 24, 2012 14:14 — forked from bryanwoods/peat.rb
Programmin' Peat!
# encoding: UTF-8
require 'fiber'
require 'cinch'
SIDES_OF_A_DIE = 6
class Staging
attr_accessor :locker
def initialize