Skip to content

Instantly share code, notes, and snippets.

View muratayusuke's full-sized avatar

Yusuke Murata muratayusuke

View GitHub Profile
# 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
@muratayusuke
muratayusuke / set up ubuntu with chef
Last active December 19, 2015 03:28
set up ubuntu with chef
#
# 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
candidates+="+${line/:*/} ${f}"
brew install tmux
brew install coreutils
@muratayusuke
muratayusuke / gist:5435399
Created April 22, 2013 14:09
~/.ssh/config
Host github.com
Compression yes
Ciphers arcfour256
@muratayusuke
muratayusuke / chef
Last active December 15, 2015 09:29
hello chef
# 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
#!/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
@muratayusuke
muratayusuke / sublimetext_32.sh
Last active December 10, 2015 21:59
sublinme text 2 install for Ubuntu 32
#!/bin/bash
#
# This script run as root
#
# Detail: http://www.sublimetext.com/
#
##################################
# usage
##################################
# $ wget https://gist.github.com/raw/4499194/sublimetext_32.sh
@muratayusuke
muratayusuke / skipfish.sh
Created November 11, 2012 02:48
skipfish - security scan tool
#!/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
@muratayusuke
muratayusuke / gist:3956881
Created October 26, 2012 04:59 — forked from byplayer/gist:3915865
VirtualBpx
# change IP range for NAT
VBoxManage modifyvm "YOUR_VM_NAME" --natnet1 "192.168.0/24"