Berkshelfのバージョンが上がったらエラー
% bundle exec berks --version 3.1.4 % bundle exec knife solo cook vagrant Running Chef on vagrant-chef... Checking Chef version... Installing Berkshelf cookbooks to 'cookbooks'... ERROR: ArgumentError: wrong number of arguments (1 for 0)
以下でOK
% bundle exec knife solo cook vagrant --no-berkshelf
CentOS6.5のPHPのバージョン
$ cat /etc/redhat-release CentOS release 6.5 (Final) $ sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
$ yum info php | grep Version | awk '{print $3}' 5.3.3
$ yum --enablerepo=remi info php | grep Version | awk '{print $3}' 5.4.29
$ yum --enablerepo=remi-php55 info php | grep Version | awk '{print $3}' 5.5.13
syntasticでperlのsyntaxcheckが動かなくなった件
RTFC
3.4.0
https://github.com/scrooloose/syntastic/wiki/Changelog
Syntax checker changes:
Disable the perl checker by default, for security reasons (lcd047)
https://github.com/scrooloose/syntastic/wiki/Perl%3A---perl#security
let g:syntastic_enable_perl_checker = 1 let g:syntastic_perl_checkers = ['perl', 'podchecker']
うちの環境では、g:syntastic_perl_checkersも設定しないと動かんかった
Alignta 空白で整列
GitHub - h1mesuke/vim-alignta: Align Them All!
:'<,'>Alignta <<0 \ /2
選択範囲内をマージンをとらず、2つめの空白で整列
before
color main-head blue default bold color main-tag yellow default bold color main-local-tag yellow default color main-remote blue default color main-tracked blue default color stat-none default default color stat-staged green default color stat-unstaged red default color stat-untracked yellow default
after
color main-head blue default bold color main-tag yellow default bold color main-local-tag yellow default color main-remote blue default color main-tracked blue default color stat-none default default color stat-staged green default color stat-unstaged red default color stat-untracked yellow default
別ウィンドウでman表示
bind-key / command-prompt "split-window -p 60 'exec man %%'"
cli実行時にerror_reportingの設定を渡す
% /path/to/php -d error_reporting=6135 /path/to/legacy.php