I hereby claim:
- I am jchillerup on github.
- I am jchillerup (https://keybase.io/jchillerup) on keybase.
- I have a public key whose fingerprint is D01F 5D85 D858 F2E8 87A3 1533 8237 EBBE 7FAC C74B
To claim this, I am signing this object:
var socket = io.connect('http://HOSTNAME:8080'); | |
socket.on('reload', function (data) { | |
location.reload(); | |
}); | |
/* | |
socket.on('eval', function(data) { | |
eval(data.evalString); | |
}); |
I hereby claim:
To claim this, I am signing this object:
def y(x): | |
i = 0 | |
while x > i: | |
i += 1 | |
x -= i | |
return i-x, x | |
print(y(0)) |
import os, sys, re | |
import requests, json | |
slug = sys.argv[1].split('/')[-1] | |
metadata = requests.get("http://www.dr.dk/mu-online/api/1.3/page/tv/player/%s" % slug).json() | |
primary_asset_uri = metadata["ProgramCard"]["PrimaryAsset"]["Uri"] | |
primary_asset = requests.get(primary_asset_uri).json() |