Skip to content

Instantly share code, notes, and snippets.

View phil-lopreiato's full-sized avatar

Phil Lopreiato phil-lopreiato

View GitHub Profile
{"2010arc": [{"declines": [], "picks": ["frc254", "frc233", "frc3357"]}, {"declines": [], "picks": ["frc330", "frc25", "frc1622"]}, {"declines": [], "picks": ["frc33", "frc148", "frc201"]}, {"declines": [], "picks": ["frc1124", "frc968", "frc2062"]}, {"declines": [], "picks": ["frc604", "frc341", "frc3256"]}, {"declines": [], "picks": ["frc3280", "frc359", "frc71"]}, {"declines": [], "picks": ["frc1519", "frc1918", "frc70"]}, {"declines": [], "picks": ["frc1730", "frc234", "frc1218"]}], "2010mn2": [{"declines": [], "picks": ["frc71", "frc1986", "frc2667"]}, {"declines": [], "picks": ["frc171", "frc537", "frc2041"]}, {"declines": [], "picks": ["frc2823", "frc3102", "frc3026"]}, {"declines": [], "picks": ["frc3291", "frc2512", "frc2225"]}, {"declines": [], "picks": ["frc2418", "frc876", "frc1816"]}, {"declines": [], "picks": ["frc2220", "frc2143", "frc2535"]}, {"declines": [], "picks": ["frc1764", "frc2472", "frc1675"]}, {"declines": [], "picks": ["frc3292", "frc1652", "frc2977"]}], "2010tx": [{"declines": [],
@phil-lopreiato
phil-lopreiato / resultsSince2011.txt
Last active January 12, 2016 22:42
Percentage of FRC Teams winning their events as top seed
[u'2011arc', u'2011az', u'2011ca', u'2011co', u'2011ct', u'2011cur', u'2011da', u'2011dc', u'2011dmn', u'2011dt', u'2011fl', u'2011ga', u'2011gal', u'2011gg', u'2011gl', u'2011gt', u'2011hi', u'2011il', u'2011in', u'2011is', u'2011kc', u'2011la', u'2011li', u'2011ma', u'2011md', u'2011mi', u'2011mn', u'2011mn2', u'2011mo', u'2011nc', u'2011new', u'2011nh', u'2011nj', u'2011nv', u'2011ny', u'2011oc', u'2011oc1', u'2011oh', u'2011ok', u'2011on', u'2011on2', u'2011or', u'2011pa', u'2011pit', u'2011roc', u'2011sac', u'2011sc', u'2011sdc', u'2011sj', u'2011stx', u'2011swm', u'2011tn', u'2011tx', u'2011ut', u'2011va', u'2011wa', u'2011wa2', u'2011wat', u'2011wc', u'2011wi', u'2011wor', u'2011ww', u'2012arc', u'2012az', u'2012ca', u'2012caf', u'2012co', u'2012ct', u'2012cur', u'2012da', u'2012da2', u'2012dc', u'2012dmn', u'2012dt', u'2012fl', u'2012ga', u'2012gal', u'2012gg', u'2012gl', u'2012gt', u'2012hi', u'2012il', u'2012in', u'2012is', u'2012kc', u'2012la', u'2012li', u'2012ma', u'2012md', u'2012mi', u'2012migl
@phil-lopreiato
phil-lopreiato / arc.csv
Created April 24, 2015 15:40
2015 CMP Schedules
qm1 2914 360 207 1706 2907 2363
qm2 5464 115 1700 135 3357 1640
qm3 3103 4207 3238 691 1310 5048
qm4 4451 217 857 2383 2655 2619
qm5 2220 1538 2338 378 122 2013
qm6 3322 2974 5571 201 5667 5581
qm7 4977 3996 3278 623 51 68
qm8 2342 3284 1572 5212 108 314
qm9 5692 3602 1023 1322 280 4213
qm10 4364 5162 1701 41 931 5505
@phil-lopreiato
phil-lopreiato / convert.py
Created April 24, 2015 00:13
Hacky 2015cmp Results Script
import xlrd
import csv
def clean(cell):
bad_chars = ['(', ')', '*']
val = str(cell.value)
val = val.translate(None, ''.join(bad_chars))
return int(float(val))
@phil-lopreiato
phil-lopreiato / arc.csv
Last active August 29, 2015 14:19
2015cmp Results. Formatted <match>, <red teams>, <blue teams>, <red score>, <blue score>
qm1 2914 360 207 1706 2907 2363 97 91
qm2 5464 115 1700 135 3357 1640 53 134
qm3 3103 4207 3238 691 1310 5048 33 10
qm4 4451 217 857 2383 2655 2619 128 138
qm5 2220 1538 2338 378 122 2013 126 31
qm6 3322 2974 5571 201 5667 5581 108 24
qm7 4977 3996 3278 623 51 68 144 129
qm8 2342 3284 1572 5212 108 314 91 68
qm9 5692 3602 1023 1322 280 4213 93 140
qm10 4364 5162 1701 41 931 5505 52 7
@phil-lopreiato
phil-lopreiato / arc.csv
Last active August 29, 2015 14:19
2015 FRC CMP Preliminary Qual Schedules For TBA
qm1 2914 360 207 1706 2907 2363
qm2 5464 115 1700 135 3357 1640
qm3 3103 4207 3238 691 1310 5048
qm4 4451 217 857 2383 2655 2619
qm5 2220 1538 2338 378 122 2013
qm6 3322 2974 5571 201 5667 5581
qm7 4977 3996 3278 623 51 68
qm8 2342 3284 1572 5212 108 314
qm9 5692 3602 1023 1322 280 4213
qm10 4364 5162 1701 41 931 5505
@phil-lopreiato
phil-lopreiato / arc.csv
Last active August 29, 2015 14:19
2015 FRC CMP Preliminary Qual Schedules
Thu 8:30 Qualification 1 1 1706 2907 2363 2914 360 207
Thu 8:37 Qualification 2 2 135 3357 1640 5464 115 1700
Thu 8:44 Qualification 3 3 691 1310 5048 3103 4207 3238
Thu 8:51 Qualification 4 4 2383 2655 2619 4451 217 857
Thu 8:58 Qualification 5 5 378 122 2013 2220 1538 2338
Thu 9:05 Qualification 6 6 201 5667 5581 3322 2974 5571
Thu 9:12 Qualification 7 7 623 51 68 4977 3996 3278
Thu 9:19 Qualification 8 8 5212 108 314 2342 3284 1572
Thu 9:26 Qualification 9 9 1322 280 4213 5692 3602 1023
Thu 9:33 Qualification 10 10 41 931 5505 4364 5162 1701
@phil-lopreiato
phil-lopreiato / Archimedes-teams.csv
Last active August 29, 2015 14:19
2015 CMP Teams
41 51 68 108 115 122 135 188 201 207 217 234 280 314 360 378 503 623 691 836 857 931 1023 1089 1310 1322 1538 1572 1640 1648 1700 1701 1706 1714 1785 2013 2220 2338 2342 2363 2383 2522 2605 2619 2655 2848 2907 2914 2974 3103 3238 3278 3284 3322 3357 3602 3996 4010 4201 4207 4213 4334 4364 4451 4977 5048 5162 5212 5403 5464 5505 5536 5571 5581 5667 5687 5692
@phil-lopreiato
phil-lopreiato / GroupPresentation1.tex
Created March 29, 2015 23:52
latex file for MATH3632 Group Problem #1
\documentclass{amsart}
\usepackage{amssymb,amsmath,latexsym,times,tikz, enumitem}
\pagestyle{empty}
\begin{document}
\hrule
\vspace{1pt}
@phil-lopreiato
phil-lopreiato / 2015njfla_matches.csv
Created March 10, 2015 02:07
2015 Mt. Olive matches
2015 njfla q 1 http://www.youtube.com/watch?v=9JMpH3JwEBw
2015 njfla q 2 http://www.youtube.com/watch?v=K3H943Y7ejA
2015 njfla q 3 http://www.youtube.com/watch?v=xq-me-urTog
2015 njfla q 4 http://www.youtube.com/watch?v=baoiIwxA2y0
2015 njfla q 5 http://www.youtube.com/watch?v=X4FMkTNWNrY
2015 njfla q 6 http://www.youtube.com/watch?v=Q4EIbBtWVzg
2015 njfla q 7 http://www.youtube.com/watch?v=oZOPWCOJiMw
2015 njfla q 8 http://www.youtube.com/watch?v=IaCWUdWgIdo
2015 njfla q 9 http://www.youtube.com/watch?v=_i1gPyGjsRU
2015 njfla q 10 http://www.youtube.com/watch?v=11t2IMpg_AM