I hereby claim:
- I am superchink on github.
- I am bc (https://keybase.io/bc) on keybase.
- I have a public key whose fingerprint is E6D6 F154 0BA8 B9FC 0972 B5A7 307D 3176 FF53 1301
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
iPad | |
1024 × 690 In landscape on iOS 4.3 | |
1024 × 672 In landscape on iOS 5 | |
768 × 946 In portrait on iOS 4.3 | |
768 × 928 In portrait on iOS 5 | |
1024 × 660 Always showing bookmarks bar in landscape on iOS 4.3 | |
1024 × 644 Always showing bookmarks bar in landscape on iOS 5 | |
768 × 916 Always showing bookmarks bar in portrait on iOS 4.3 |
Homebrew (https://github.com/mxcl/homebrew/wiki/installation) | |
brew install postgres | |
brew install gdal --with-postgres (EDIT THE FORMULA FIRST, see https://github.com/mxcl/homebrew/issues/8301) | |
brew install postgis | |
edit /etc/paths to put /usr/local/bin on top, so that lion's psql doesnt win | |
PostGIS templates (based on https://wiki.archlinux.org/index.php/PostGIS) | |
createdb template_postgis -E UTF8 | |
createlang plpgsql template_postgis | |
psql -d template_postgis -f /usr/local/share/postgis/postgis.sql |
virtualenv --no-site-packages . | |
source bin/activate | |
bin/pip install Django psycopg2 django-sentry | |
bin/pip freeze > requirements.txt | |
bin/django-admin.py startproject sc-heroku-django | |
cat >.gitignore <<EOF | |
bin/ | |
include/ | |
lib/ | |
EOF |
# Usage: show <local-port> <subdomain> | |
function show() { | |
DOMAIN=".webhostology.com" | |
REMOTE="$2$DOMAIN" | |
ssh -tR 8080:127.0.0.1:$1 vps "sudo ssh -Nl \$USER -L $REMOTE:80:127.0.0.1:8080 localhost" | |
} |