Skip to content

Instantly share code, notes, and snippets.

View taea's full-sized avatar
🏠
Working from home

ken_c_lo / TAEKO AKATSUKA taea

🏠
Working from home
View GitHub Profile
@taea
taea / file0.txt
Last active February 18, 2016 10:06
Git と sed で一括置換 ref: http://qiita.com/ken_c_lo/items/40ce94ee4388976556ba
$ git ls-files *.sass|LC_ALL=C xargs sed -E -i '' 's/\+border-radius\((.+)\)/border-radius: \1/g'
@taea
taea / gist:8592584
Created January 24, 2014 05:46
rubymotionで rakeがうまくいかない時

rake clean して compile し直す

or

bundle install --path でインストールし直す

$ brew install hub
@taea
taea / hub-pull-request.md
Last active January 2, 2016 18:59
はぶ
brew install postgresql
createuser -S #{プロジェクト名}
gem i pg
@taea
taea / gist:8129657
Last active January 1, 2016 10:09
カマス
vi `brew --prefix mysql`/my.cnf
innodb_file_format=Barracuda
brew update
brew upgrade
RUBY_CONFIGURE_OPTS="--with-readline-dir=$(brew --prefix readline) --with-openssl-dir=$(brew --prefix openssl)" rbenv install 2.1.0

mysqlの再起動

mysql探す

launchctl list | grep mysql

なんか出てくる

console上で` をつけると実行結果をアレしてくれる

vi `brew --prefix mysql`/my.cnf

とかやる

rake タスク探す

rake -T db