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
import requests | |
# vote:vote-emo6 | |
# componentId:3221789 | |
# language:nl | |
headers = { | |
'Accept':'application/json, text/javascript, */*; q=0.01', | |
'X-Requested-With': 'XMLHttpRequest', | |
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11', |
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
<?php | |
if(isset($_POST['u'])) { | |
$p = parse_url($_POST['u']); | |
$v = parse_str($p['query']); | |
Header("Location: $redirect_uri"); | |
} | |
?> | |
<form method=post><input name=u><submit></form> |
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
#!/bin/sh | |
echo "iPhone:" | |
curl -I -H "User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; nl-nl) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5" $1 | |
echo "Desktop:" | |
curl -I -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3" $1 |
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
import pyqrcode | |
import csv | |
stickers = csv.reader(open('/Users/ivo/Downloads/stickers.csv', 'rb'), delimiter=',', quotechar='|') | |
for row in stickers: | |
name = row[0] | |
uri = row[5] | |
try: | |
qr_image = pyqrcode.MakeQRImage(uri) | |
qr_image.save(name + '.png') |
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
import os | |
# Automatically set the __all__ variable with all | |
# the available plugins. | |
plugin_dir = "plugins" | |
__all__ = [] | |
for filename in os.listdir(plugin_dir): | |
filename = plugin_dir + "/" + filename |
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
Perry rent! | |
2 ] 301.752532005 | 301.752532005 | 0.00487242096068 | |
3 ] 304.067573786 | 2.31504178047 | 0.635092366057 | |
4 ] 305.694137812 | 1.62656402588 | 0.903908692488 | |
5 ] 306.961749792 | 1.26761198044 | 1.15987020048 | |
6 ] 309.262540817 | 2.30079102516 | 0.639026033134 | |
7 ] 310.732558012 | 1.47001719475 | 1.0001688192 | |
8 ] 311.912728786 | 1.18017077446 | 1.24580729645 | |
9 ] 314.012543917 | 2.09981513023 | 0.700188002606 | |
10 ] 315.621381998 | 1.60883808136 | 0.913867827294 |
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
<paper> | |
<katern number="1"> | |
<sheets> | |
<sheet> | |
<pages> | |
<page> | |
<number>1</number> | |
<pdf>178022.pdf</pdf> | |
</page> | |
</pages> |
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
#!/bin/bash | |
PASS=12324324 | |
for f in VODA*pdf | |
do | |
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPDFPassword="$PASS" -sOutputFile=nopass-$f -c .setpdfwrite -f $f | |
done |