Skip to content

Instantly share code, notes, and snippets.

View zbruhnke's full-sized avatar

Zach Bruhnke zbruhnke

View GitHub Profile
@zbruhnke
zbruhnke / heroku_taps_replacement
Created January 14, 2014 02:46
heroku_pg_pull and heroku_pg_push -- for those of us who miss heroku pg:pull and heorku pg:push
# Postgres equivalent to heroku db:pull.
# Pulls latest heroku pgbackups dump into local database
#
# Usage:
#
# $ heroku_pg_pull [appname] [local database name]
#
function heroku_pg_pull(){
echo "! WARNING: Data in the local database '$2' will be destroyed."
echo " Type '$2' to overwrite data in local database '$2'"
### Keybase proof
I hereby claim:
* I am zbruhnke on github.
* I am zbruhnke (https://keybase.io/zbruhnke) on keybase.
* I have a public key whose fingerprint is D289 EC75 92AE 5868 B371 52A3 179D B65F 995A 3C23
To claim this, I am signing this object: