This file contains 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
#rbenv | |
export RBENV_ROOT="/usr/local/rbenv" | |
PATH="$RBENV_ROOT/bin:$PATH" | |
#phpenv | |
export PHPENV_ROOT="/usr/local/phpenv" | |
PATH="$PATH:$PHPENV_ROOT/bin" | |
export PATH | |
eval "$(rbenv init -)" |
This file contains 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
# URLにアクセスするためのライブラリの読み込み | |
require 'open-uri' | |
# Nokogiriライブラリの読み込み | |
require 'nokogiri' | |
# スクレイピング先のURL(青山駅の例) | |
url = 'http://www.igr.jp/wp/timetable/aoyama' | |
charset = nil |
This file contains 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 --config |
This file contains 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
$ node -v | |
v0.10.32 |
This file contains 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
:so $VIMRUNTIME/syntax/hitest.vim |
This file contains 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 -g terminal-overrides 'xterm:colors=256' |
This file contains 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 backspace=indent,eol,start |
This file contains 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
bundle config build.nokogiri --use-system-libraries |
This file contains 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
bind -x '"\C-r":peco-history' |
This file contains 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
# カレントディレクトリの中にあるディレクトリを番号指定で移動するcd listの定義 | |
function cdl { | |
local -a dirlist opt_f=false | |
local i d num=0 dirnum opt opt_f | |
while getopts ":f" opt ; do | |
case $opt in | |
f ) opt_f=true ;; | |
esac | |
done | |
shift $(( OPTIND -1 )) |
NewerOlder