$ sudo tcpdump -i en0 -s 0 -B 524288 -w ~/Desktop/local.pcap
parse package
$ tcpdump -s 0 -n -e -XX -vvv -r ~/Desktop/local.pcap
$ sudo tcpdump -i en0 -s 0 -B 524288 -w ~/Desktop/local.pcap
$ tcpdump -s 0 -n -e -XX -vvv -r ~/Desktop/local.pcap
$ git checkout -b myFeature devCreates MyFeature branch off dev. Do your work and then
$ git commit -am "Your message"Now merge your changes to dev without a fast-forward
$ git checkout dev $ git merge --no-ff myFeature
$ git push origin dev $ git push origin myFeatureRefs http://stackoverflow.com/questions/4470523/git-create-a-branch-from-another-branch
$ ssh-keygen -t rsa -C "your_email@example.com"# Creates a new ssh key, using the provided email as a label
$ openssl rsa < id_rsa > id_rsa_withpass Enter pass phrase:************ writing RSA key
useradd tai passwd -u -f tai usermod -g wheel tai mkdir /home/tai/.ssh mv authorized_keys /home/tai/.ssh/ chown tai:tai /home/tai/.ssh chown tai:tai /home/tai/.ssh/authorized_keys chmod 700 /home/tai/.ssh chmod 600 /home/tai/.ssh/authorized_keys
sudo visudo
VirtualHost *:80> DocumentRoot /your_path ServerName domain.local.com # ErrorLog /var/log/apache2/error.log <Directory /your_path> Options All +Indexes +FollowSymLinks AllowOverride All Order allow,deny Allow from all Require local </Directory> </VirtualHost>
sudo gem install rails
sudo gem install passenger sudo passenger-install-apache2-module
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.2 PassengerRuby /usr/bin/ruby1.8
<VirtualHost *:80> alias /iapps /home/taind/svn/branch/irorio/irorio-api/public ServerName irorio.local.jp DocumentRoot /home/taind/svn/branch/irorio/irorio DirectoryIndex index.php SetEnv APPLICATION_ENV development <Directory /home/taind/svn/branch/irorio/irori> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> <Location /iapps> PassengerBaseURI /iapps PassengerAppRoot /home/taind/svn/branch/irorio/irorio-api </Location> <Directory /home/taind/svn/branch/irorio/irorio-api/public> Options -MultiViews Allow from all </Directory> RailsEnv development #RailsBaseURI /iapps </VirtualHost>