I hereby claim:
- I am jelmervdl on github.
- I am jelmervdl (https://keybase.io/jelmervdl) on keybase.
- I have a public key ASDlvfhRb9fmwrCVFH8xULpQEDrpkmSvASUyffQvJoxL-wo
To claim this, I am signing this object:
// ==UserScript== | |
// @name GCal links for De Oosterpoort | |
// @namespace http://ikhoefgeen.nl/userscripts | |
// @description Create Google Calendar events directly from De Oosterpoort website | |
// @include http://www.de-oosterpoort.nl/programma/* | |
// ==/UserScript== | |
var DeOosterpoort = {} | |
DeOosterpoort.findData = function(root) |
// ==UserScript== | |
// @name iCal links for De Oosterpoort | |
// @namespace http://ikhoefgeen.nl/userscripts | |
// @description Create iCal events directly from De Oosterpoort website | |
// @include http://www.de-oosterpoort.nl/programma/* | |
// ==/UserScript== | |
// Credits: | |
// Base64 encode / decode | |
// http://www.webtoolkit.info/ | |
// |
#chatFriendsOnline { | |
display: none | |
; | |
} | |
#fbTimelineHeadline .profilePicThumb, | |
#fbTimelineHeadline .profilePic { | |
border-radius: 50%; | |
} |
<?php | |
function send_mail_with_attachment($to, $subject, $message, $additional_headers, $file_handle, $file_name) | |
{ | |
if (!$file_handle) | |
throw new InvalidArgumentException("The provided file handle is not working"); | |
$fout = popen('sendmail ' . escapeshellarg($to), 'w'); | |
if (!$fout) |
I hereby claim:
To claim this, I am signing this object:
python ./turing.py ./binaryadd.txt "110110 101011"
def request_as_curl_command(request): | |
''' | |
Turns a requests' request object into something you can pase in your terminal. | |
Usage: | |
response = requests.request(...) | |
print(request_as_curl_command(response.request)) | |
''' | |
return "curl -X {method} -H {headers} -d '{data}' '{uri}'".format( | |
method=request.method, | |
headers=" -H ".join(["'{}'".format('{0}: {1}'.format(k, v).replace('\\', '\\\\').replace("'", "\\'")) for k, v in request.headers.items()]), |
class Agent | |
{ | |
// Like a struct, every agent object has a credits and a reference to the simulation | |
private String name; // Name of the agent | |
private int credits; // Number of credits the agent has | |
private Simulation sim; // Simulation the agent lives in |
<script> | |
var stream = new EventSource('/api/stream'); | |
stream.onmessage = function(e) { | |
console.info(e.data); | |
}; | |
</script> |
#!/bin/sh | |
brew install postgresql postgis | |
# Download the latest results from NLExtract (monthly updates) | |
wget "http://data.nlextract.nl/bag/postgis/bag-laatst.backup" | |
# Create a database and initialize postgis extension | |
createdb --encoding=UTF8 --template=template0 bag | |
echo "CREATE EXTENSION postgis;" | psql bag |