Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
from copy import deepcopy
from random import shuffle
X = 10
Y = 12
grid = [[None for i in range(X)] for j in range(Y)]
indices = [(i,j) for j in range(Y) for i in range(X)]

Keybase proof

I hereby claim:

  • I am drewhutchison on github.
  • I am drewhutchison (https://keybase.io/drewhutchison) on keybase.
  • I have a public key whose fingerprint is 3ADF 948C 679A 928F 09E2 7A5C 3BF7 1436 3D84 2556

To claim this, I am signing this object:

#!/usr/bin/python
#---------------------------------------------------------------------------
#
# Pirates
#
# We need to find the number of pirates to talk to before we loop.
# Each pirate will refer us to another pirate, eventually we will find a
# pirate that directs us back to the original pirate, and we can exit.
#
function myfunction(e) {
ScriptProperties.setProperty('StaffRosterID', "0Ag1z3a5NEg8HdDl1WDlGYVBLZjRKTDA5aFlPQkM5Q3c");
ScriptProperties.setProperty('Request Folder', "0Bw1z3a5NEg8HYm43SEhXMUZFclk");
ScriptProperties.setProperty('Academic Year', "1415");
ScriptProperties.setProperty('FYEAD', "[email protected]");
var timestamp = e.values[1];
var name = e.values[3];
var complex = e.values[6];
var title = e.values[7];
@drewhutchison
drewhutchison / members.json
Last active March 25, 2016 01:01
denver-devs rolodex schema proposed draft
[
{
"picture": "http://placehold.it/32x32",
"website": "https://example.com",
"name": {
"first": "Amber",
"last": "Aguilar"
},
"company": "OVIUM",
"email": "[email protected]",