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 | |
JS_PATH="_js" | |
FINAL_JS="scripts.js" | |
SASS_PATH="_sass" | |
FINAL_CSS="." | |
sha=0 | |
previous_sha=0 |
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
/*csslint box-model: false, box-sizing: false, universal-selector: false */ | |
/* | |
All projects | |
should have nice | |
ASCII ART! | |
http://patorjk.com/software/taag/ |
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
var ಠ_ಠ = eval, | |
ლ_ಠ益ಠ_ლ = 42, | |
λ = function() {}, | |
oneQuarter = "¼", | |
oneHalf = "½", | |
threeQuarters = "¾"; | |
// ☺ | |
// ¯\_(ツ)_/¯ | |
// ಠ~ಠ |
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
""" | |
Install twisted (pip install twisted) and PIL (pip install PIL), and run the script. | |
On your gateway, run the following commands: | |
iptables -t nat -A PREROUTING -i br0 -s ! 192.168.0.20 -p tcp --dport 80 -j DNAT --to 192.168.0.20:8080 | |
iptables -t nat -A POSTROUTING -o br0 -s 192.168.0.0/24 -d 192.168.0.20 -j SNAT --to 192.168.0.1 | |
iptables -A FORWARD -s 192.168.0.0/24 -d 192.168.0.20 -i br0 -o br0 -p tcp --dport 8080 -j ACCEPT | |
Substitute 192.168.0.20 for the computer running the proxy. | |
""" |
OlderNewer