Skip to content

Instantly share code, notes, and snippets.

View 4kategreen's full-sized avatar

Kate Green 4kategreen

View GitHub Profile
@4kategreen
4kategreen / spheroHokeyPokey
Created January 16, 2014 06:06
ng-conf team DSR's sphero hokey pokey dance
var Cylon = require('cylon');
Cylon.robot({
connection: { name: 'sphero', adaptor: 'sphero', port: '/dev/cu.Sphero-RRY-AMP-SPP' },
device: { name: 'sphero', driver: 'sphero' },
work: function(my) {
var on = false,
dir = 0,
beat = 0,
# git coloring and branch names
COLOR_RED="\033[0;31m"
COLOR_YELLOW="\033[0;33m"
COLOR_GREEN="\033[0;32m"
COLOR_OCHRE="\033[38;5;95m"
COLOR_BLUE="\033[0;34m"
COLOR_WHITE="\033[0;37m"
COLOR_RESET="\033[0m"
function git_color {
#!/usr/bin/env python3
import subprocess
import json
# bucket_template = 'fugue-e2e-s3-%s-logging'
def empty_all_buckets(bucket_template):
regions = get_regions()
for r in regions:
bucket_name = bucket_template % (r)