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
$ rails new cuctest | |
$ cd cuctest | |
$ emacs Gemfile | |
#add following | |
group :development, :test do | |
gem 'rspec-rails', ">= 2.0.0.beta" | |
gem 'cucumber-rails' | |
gem 'database_cleaner' | |
end |
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
# for ubuntu 12.10 | |
# | |
################################## | |
# initial task | |
################################## | |
# 1. install ubuntu on your virtual box | |
# 2. install Guest Addition | |
# 3. shutdown ubuntu and open virtualbox settings. | |
# 4. 「一般」→「高度」→「クリップボードの共有」→「双方向」 | |
################################## |
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
#!/usr/bin/env ruby | |
# This update hook enforces the following policies | |
# 1) release and master branches are fast-forward only | |
# 2) feature branches cannot contain merges | |
$refname = ARGV[0] | |
$oldrev = ARGV[1] | |
$newrev = ARGV[2] |
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
################################## | |
# usage | |
################################## | |
# 1. cd /usr/local/src | |
# 2. wget https://gist.github.com/raw/3677821/c20a62a45a0d92be6190a319d7b98bdbf8dbeadb/global.sh | |
# 3. sudo sh global.sh ${version} | |
################################## | |
cd /usr/local/src |
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
ubuntuのapache2で | |
NameVirtualHost *:80 has no VirtualHosts | |
のエラーが出たら、ports.confのNameVirtualHostを#でコメントアウトする |
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" |
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" |
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
#!/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 | |
cd /usr/local/src | |
git clone https://github.com/muratayusuke/tig.git | |
cd tig | |
make | |
make install install-doc | |
cp tig /usr/local/bin |
OlderNewer