Skip to content

Instantly share code, notes, and snippets.

View borisd's full-sized avatar

Boris Dinkevich borisd

View GitHub Profile
@borisd
borisd / gist:4390341
Last active December 10, 2015 05:48
ZSH
===============
- Typo correction:
crl google.com
- Really smart completion
kill [tab]
ls - [tab S]
- History accross sessions
@borisd
borisd / gist:3274046
Created August 6, 2012 12:23
Heroku SHARED DATABASE migration to PostgreSQL
if [ $# -eq 0 ] ; then
echo "No args given"
echo "Missing Heroku app name"
exit 1
fi
APP_NAME="--app ${1}"
echo "heroku addons:add heroku-postgresql:dev ${APP_NAME}"
heroku addons:add heroku-postgresql:dev ${APP_NAME}