2013-10-01から1ヶ月間の記事一覧
webスプレッドシート使いたいなー位で導入を考えてインストールしようとしたらうまく入らず。 いちばんのキモはここでした。 installer/src/codebase/spreadsheet.php内: $options['dhx_rel_path'] = $protocol.$_SERVER['SERVER_NAME'].$port.pathinfo($_S…
サーバを緊急メンテ状態にしたいとき、 ・バックエンド最前段の実装で設定を読んで動きを変える ・フロントエンドにメンテ設定送り込んで再起動 色々対応方法を考えたけど、redisに設定を入れ込んでフロントエンド側で 判断して動き変えられたら面白いかなと…
submoduleの辺りではまる… % git clone https://github.com/agentzh/echo-nginx-module.git % git clone git://github.com/matsumoto-r/ngx_mruby.git % cd ngx_mruby/ % git submodule init % git submodule update % git submodule foreach 'git pull orig…
ダブルクォートの混ざったkeyの対応が面倒だった… redis-cli --raw keys $1 | awk '{print "\x27" $1 "\x27"}'| xargs redis-cli del