Skip to content

Instantly share code, notes, and snippets.

@stephenR
stephenR / gist:5793976
Created June 17, 2013 00:19
Defcon CTF 2013 score
#!/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"]))
\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