- zsh
- vim
- tmux
- git
- tig
- dotfiles
- bundlizer
- rbenv
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/sh | |
# | |
#---------------------------------------------------------------------------------------- | |
# Jenkins サーバへスクリプトの実行結果を通知するためのスクリプトです。 | |
# | |
# 以下のスクリプトを元にして、パイプで標準出力の結果を受け取るように修正しました | |
# https://github.com/akiko-pusu/misc/blob/master/misc/jenkins_wrapper.sh | |
# | |
# Usage: | |
# SCRIPT | jenkins_report.sh ${PIPESTATUS[0]} <jenkins_url> <job_name> |
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 | |
# | |
# 2nd_gig | |
# | |
# description: start, stop, restart 2nd_gig (Github IRC Gateway) | |
# | |
NAME=gig | |
USER=yono | |
DIR=/home/$USER/servers/2nd_gig |
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
package "postgresql" do | |
action :install | |
end | |
service "postgresql" do | |
supports :status => true, :restart => true, :reload => true | |
action [ :enable, :start ] | |
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
# A sample Gemfile | |
source "https://rubygems.org" | |
gem 'faker' | |
gem 'faker-japanese' | |
gem 'romankana' | |
gem 'pry' |
Installing VMware Workstation from http://www.vmware.com/jp/products/desktop_virtualization/workstation/overview
Installing Packer from http://www.packer.io/downloads.html
To build packer yourself, install golang 1.1. http://skywir3.wordpress.com/2013/05/15/how-to-install-go-golang-1-1-in-linux-from-source-tar-gz-file/
参考: http://naoty.hatenablog.com/entry/20111030/1319973849
そのままだと上手く行かなかったけど、factory_girl
じゃなくて factory_girl_rails
を require すればいいらしい。
db:seeds
じゃなくて fixtures:load
的なことをしたい場合は下記の gist 参考にしてやってみる(まだやってない)
https://gist.github.com/brenttheisen/1045588
使い分けとしては以下の様な感じになると思う。
~/.vagrant.d/Vagrantfile
を配置すると vagrant のデフォルト設定を変更できる。
メモリ設定がデフォルトだと 512 なんだけど 2048 にしたいとかそういう場合に使う