Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
for f in $(find jpm/cloud0/ -type f)
do
if [ -e `echo $f | sed 's/^jpm\/cloud0/jpm\/cloud1/'` ]
then
#echo "Testing $f" >&2
diff $f `echo $f | sed 's/^jpm\/cloud0/jpm\/cloud1/'`
fi
done
@MatthaeusHarris
MatthaeusHarris / gist:1337815
Created November 3, 2011 21:22
Multiple sites on multiple ports on one machine
{
"webhosts": {
"example.com": {
"aliases": ["www.example.com"],
"docroot": "/var/www/example.com",
"ports": [80,443]
},
"foo.example.com": {
"aliases": ["www.foo.example.com"],
"docroot": "/var/www/foo.example.com",