This file contains hidden or 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
#!/usr/bin/env /YOUR/PATH/TO/node | |
var httpProxy = require('http-proxy'), | |
fs = require('fs'), | |
options; | |
require("http").createServer(function(req, res){ | |
res.writeHead(301, { | |
'Content-Type': 'text/plain', | |
'Location':'https://' + req.headers.host.replace(/^www\./, '') + req.url }); |
This file contains hidden or 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
#!/usr/bin/perl | |
# | |
# Useful for making maps like the one at http://backspace.com/mapapp/javascript_world | |
# | |
use XML::TreeBuilder; |
NewerOlder