PhpStormをとりあえずLinuxに入れてチマチマ触っているのですが、いくつか設定変えたりしたのでメモメモ。
PhpStormのテーマインポート
phpStorm Themes | Color skins and editor fonts for JetBrains PHP IDE とかでDownloadしたテーマをインポートしたかったのでちょろっと調べた。
ちなみに今の所環境はLinux。
今回は一番最初にあったということで SOLARIZED DARK を入れてみる。
コマンド多めの方が楽なので SOLARIZED DARK の Download を右クリックしてURLコピーした後以下のコマンド実行する。
cd $HOME/.WebIde50/config/colors wget http://phpstorm-themes.com/wp-content/uploads/2012/12/Solarized-Dark.xml
後は再起動して普通に File > Settings > IDE Settings > Editor > Colors & Fonts で選ぶだけ。
第5世代 Apple iPod touch 32GB ブルー当たんないかなー
はてなブログ1周年おめでとう! id:hatenablog
貰えると信じてる!!
はてダの記事インポートしてみた
タイトルまま。 スターやブクマ・コメント含めたインポート機能が実装されたらしいので試しにインポートしてみた。
なんとなく
http://hamaco.github.com/でブログ書いてたりしてる。
最近VimのOctopreses関係のプラギン作ってる人がいたりして面白そうなので、もうちょっと色々触ってみたい。
PHP5.4で非互換・非推奨になった機能や関数をざっくりあぶり出すワンライナー(Sabel版)
via. http://d.hatena.ne.jp/shimooka/20120224/1330062199:title=
以前PHP5.3版でやったやつのPHP5.4版があったのでSabelでもやってみた。
SRC_DIR=/sabel find $SRC_DIR -iname \*.php -print0 | xargs -0 grep -iwE '(break|continue) +\$|get_magic_quotes_gpc|get_magic_quotes_runtime|set_magic_quotes_runtime|array_combine|(abstract|and|array()|as|break|case|catch|cfunction|class|clone|const|continue|declare|default|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|final|for|foreach|function|global|goto|if|implements|interface|instanceof|namespace|new|old_function|or|private|protected|public|static|switch|throw|try|use|var|while|xor) +(trait|callable|insteadof)|define_syslog_variables|import_request_variables|session_is_registered|session_register|session_unregister|mysqli_bind_param|mysqli_bind_result|mysqli_client_encoding|mysqli_fetch|mysqli_param_count|mysqli_get_metadata|mysqli_send_long_data|mysqli::client_encoding|mysqli_stmt::stmt|mysql_list_dbs|mcrypt_generic_end'
まさかの0箇所!これ実行ミスってたりしないよね……
brew updateしたらエラーでた
Macbook Airで brew update したら以下の様なエラーがでた。
error: pathspec 'master' did not match any file(s) known to git. Error: Failure while executing: git checkout -q master
こんな時は以下の用にして.git系のファイル飛ばしてやればいいらしい。
cd /usr/local rm -rf .git .gitignore
最後に書いてから
もう2週間も経つんですね……
ちなみに下の記事はなんだかんだであまり役に立ちませんでした。
タグだけ知ってもしょうがない。