This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import sys | |
import pprint | |
FIRST_ROW = 6 | |
DATE_INDEX = 1 | |
EMAIL_INDEX = 7 | |
FARE_INDEX = 14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Lexicon(file){ | |
this.data = { | |
'a': { | |
'b': { | |
's': {} | |
} | |
} | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
SENTINEL = -1 | |
def lookandsay(num): | |
"""Return the look and say version of num.""" | |
num = str(num) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function start() | |
{ | |
if(frontIsClear()) | |
{ | |
move(); | |
} | |
else | |
{ | |
putBall(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This script creates a repository and sets it up with a post receive | |
# hook that checks out the code to the desired directory. | |
# | |
# Really nice for setting up an easy way to push code to a remote | |
# server without lots of overhead. | |
# | |
# After running this script simply add a remote locally like | |
# | |
# git remote add web ssh://you@server/path/to/repo.git |
NewerOlder