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.
Havelock [Thu], Fri, Sat, [Sun]
Visit
Day 1: Arrival in Istanbul
- Transfer to the hotel
- Afternoon cruise along the Bosphorus
- Egyptian/Spice Market
Overnight : Istanbul
Day 2: Istanbul
- Byzantine Hippodrome
- Blue Mosque
- Grand Bazaar
⚡ mvn clean package exec:java -Dexec.mainClass="com.y2cf.messaging.App" | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building consumer 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ consumer --- | |
[INFO] Deleting /Users/puneet/work/hoppr/jms/consumer/target | |
[INFO] |
#!/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 | |
# |
the default index.html does not work well in prodution mode, so do not borther to config that, just delete it and go on.
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
sudo service docker stop | |
sudo iptables -t nat -F | |
sudo ifconfig docker0 down | |
sudo brctl delbr docker0 | |
sudo service docker start |
sudo apt-get curl install htop screen aptitude -y | |
# build essentials | |
sudo aptitude install vim zlib1g-dev libssl-dev openssl libreadline-dev sqlite3 libsqlite3-dev libxslt-dev libxml2-dev zsh git -y | |
# zsh | |
curl https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh | |
sudo chsh -s `which zsh` | |
# rbenv |
> Setup docker using vagrant - http://docs.docker.io/en/latest/installation/vagrant/ | |
> Run docker hello world - http://docs.docker.io/en/latest/examples/hello_world/#hello-world | |
echo "export LANG=\"en_US\"" | tee -a ~/.bash_profile | |
echo "export LC_ALL=$LANG.UTF-8" | tee -a ~/.bash_profile | |
apt-get install vim curl git htop screen aptitude -y | |
aptitude update | |
aptitude upgrade -y # optional | |
# reboot, perhaps? | |
# add a non-root user | |
adduser puneet # fill the details |
site :opscode | |
cookbook 'vim' | |
cookbook 'ntp' |