Skip to content

Instantly share code, notes, and snippets.

View yangtheman's full-sized avatar
🏠
Working from home

yangtheman

🏠
Working from home
View GitHub Profile
@yangtheman
yangtheman / phoenix_heroku_reset_db.md
Created December 21, 2017 07:39 — forked from ventsislaf/phoenix_heroku_reset_db.md
Reset database on Heroku running Phoenix app

Note: Don't do this on a production evniroment!

Get the heroku database name:

heroku pg:info

Name can be found in the reponse from the command above. For example: Add-on: soaring-newly-1337.

@yangtheman
yangtheman / kidsruby_installer.sh
Created January 17, 2012 06:26 — forked from patrickgombert/kidsruby_installer.sh
Kids Ruby Ubuntu Installer
#!/bin/bash
echo "Installing Kids Ruby!"
sudo apt-get install git
# rbenv
cd
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo `export PATH="$HOME/.rbenv/bin:$PATH"` >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile