Skip to content

Instantly share code, notes, and snippets.

View beatobongco's full-sized avatar

Beato Bongco beatobongco

View GitHub Profile
@beatobongco
beatobongco / resistance_band.py
Last active August 29, 2015 14:06
Resistance Band Calculator
import itertools
#config
thepool = [10,20,30,40,60,100]
HOWMANY = 5
# get all possible (mynum) piece combinations from a set of (stuff). Can repeat pieces
def get_combos(stuff, mynum):
returned_list = []
for subset in itertools.combinations_with_replacement(stuff, mynum):
call("9175255976", { "onAnswer": lambda event : say("Hello Marte")
})
@beatobongco
beatobongco / jsbin.vetopamo.css
Last active August 29, 2015 13:57
Game of Life interpretation in Javascript using radio buttons
.row{ height:10px; margin:5px;}
.innerSquare{
float:left;
height:5px;
width:5px;
margin:5px;
}