This file contains 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
#!/usr/bin/env python | |
import httplib | |
import json | |
c = httplib.HTTPConnection('public-2013.legitbs.net') | |
c.request("GET", "/leaderboard") | |
j = json.loads(c.getresponse().read()) | |
print sorted(j, key=lambda x: int(x["score"])) |
This file contains 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
\begin{tikzpicture}[% | |
>=triangle 60, % Nice arrows; your taste may be different | |
start chain=going below, % General flow is top-to-bottom | |
node distance=9mm and 45mm, % Global setup of box spacing | |
every join/.style={norm}, % Default linetype for connecting boxes | |
] | |
% ------------------------------------------------- | |
% A few box styles | |
% <on chain> *and* <on grid> reduce the need for manual relative | |
% positioning of nodes |
NewerOlder