This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set up ubuntu | |
# http://blog.codeboutique.com/post/creating-debian-squeeze-box-for-vagrant | |
sudo su | |
apt-get update | |
apt-get upgrade | |
apt-get install build-essential module-assistant | |
m-a prepare |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# in host os | |
# | |
# create new box | |
host-os$ cd ~/projects/chef-repo | |
host-os$ git pull | |
host-os$ vagrant up | |
host-os$ vagrant ssh-config --host ubuntu1404 >> ~/.ssh/config | |
host-os$ knife configure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
candidates+="+${line/:*/} ${f}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install tmux | |
brew install coreutils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host github.com | |
Compression yes | |
Ciphers arcfour256 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setup vagrant | |
gem install vagrant | |
vagrant box add ubuntu https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box | |
vagrant init ubuntu | |
vagrant ssh-config --host melody >> ~/.ssh/config | |
vagrant up | |
vagrant gem install sahara | |
# setup knife-solo | |
git clone git://github.com/matschaffer/knife-solo.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script run as root | |
cd /usr/local/src | |
git clone https://github.com/muratayusuke/tig.git | |
cd tig | |
make | |
make install install-doc | |
cp tig /usr/local/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script run as root | |
# | |
# Detail: http://www.sublimetext.com/ | |
# | |
################################## | |
# usage | |
################################## | |
# $ wget https://gist.github.com/raw/4499194/sublimetext_32.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script run as root | |
# | |
# Detail: http://code.google.com/p/skipfish/wiki/SkipfishDoc | |
# | |
################################## | |
# usage | |
################################## | |
# 1. wget https://raw.github.com/gist/4053495/skipfish.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change IP range for NAT | |
VBoxManage modifyvm "YOUR_VM_NAME" --natnet1 "192.168.0/24" |