Skip to content

Instantly share code, notes, and snippets.

View pungoyal's full-sized avatar

Puneet Goyal pungoyal

View GitHub Profile

Havelock [Thu], Fri, Sat, [Sun]

Visit

  • Elephant Beach: Take a motor boat from the Havelock jetty. ~ 45 minutes. Snorkeling there.
  • Radhanagar Beach.
  • Neil Island.
  • Leave Sunday to Port Blair 4:30PM @ Makruzz cruz
  • Ask resort for jungle treks.
@pungoyal
pungoyal / hack.sh
Created March 7, 2013 08:45 — forked from erikh/hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
  1. the default index.html does not work well in prodution mode, so do not borther to config that, just delete it and go on.

  2. To put things in production mode, do

     rails g scaffold items name:string
     rake db:migrate RAILS_ENV=production
     rm public/index.html
     #change route.rb point root to items#index
     rake assets:precompile
     sudo service nginx restart
    

./config/unicorn_init.sh stop