2011-11-01から1ヶ月間の記事一覧

Review Board でレビューが届いたら IRC に通知して欲しい

参考&パクリ元 net-ircを利用したecho_botの解説 - OLNRのおもてさん RubyでSMTPサーバを作る(1) - バリケンのRuby日記 - Rubyist Ruby で MIME エンコードと MIME デコード 僕たちが待ち望んでいたRubyスクリプトをデーモン化する方法 - (rubikitch loves …

php の中でヒアドキュメントで SQL 書きたいお

php の中で SQL 書きたいお(改) この記事はうんこ ;; mmm-mode (require 'mmm-mode) (setq mmm-global-mode 'maybe) (set-face-background 'mmm-default-submode-face "navy") (mmm-add-classes '((mmm-php-sql-mode :submode sql-mode :face mmm-code-submo…

RBTools 0.3.4: Work around for Issue 1113: post-review tool cannot handle revisions with deleted files in Subversion

概要 リビジョン間の差分をレビュー依頼しようとすると、svn delete されたファイルがあるときに死ぬのをなんとかする。 参考 というか丸パクリ Issue 1113 - reviewboard - post-review tool cannot handle revisions with deleted files in Subversion - W…

CentOS 5.6 に Review Board 入れて日本語化

参考にしたものたち Installing on Linux | Documentation | Review Board mod_wsgiでDjangoを動かすまでを淡々と記録する - スコトプリゴニエフスク通信 mysql-python(mysqldb)のインストールで「error: Setup script exited with error: command 'gcc' fai…

なんかhowm+bhlで auto-fill-mode が ON になっててウザイ

bhl-mode-hook で (turn-on-auto-fill) が指定されてる。 customizable なのでこいつを解除する。

httpd.init で pid ファイル作られなくて stop できない

daemon --pidfile=hoge は pidfile を指定するだけ。 実際に作るのは起動するプロセス。 httpd.conf で pidfile 指定する。

emacs でカッコhp自動挿入して欲しいなあ php でも動くといいなあ

EmacsWiki: joseph-autopair.el ;; (joseph-autopair-toggle-autopair) ;;enable joseph-autopair. って書いてあるけど実際は (toggle-joseph-auto-pair-mode) なので注意。 ;; joseph-autopair (require 'joseph-autopair) (toggle-joseph-auto-pair-mode) …

grep-find のデフォルト値

setq しても意味ない。 ;; これは意味ないぽい (grep-compute-defaults) (setq grep-find-command "find . -type f '!' -wholename '*/.svn/*' -print0 | xargs -0 -e grep -nH -e ") custom-set-variables する。 (custom-set-variables '(grep-find-comman…

grep-find の出力が文字化けする

Meadow/Emacs memo: 全文検索 ― 日本語 grep出力バッファが SJIS になっている場合 -Os をつける。 find . -type f ! -wholename '*/.svn/*' ! -wholename '*/tplc/*' -name '*.php' | xargs lgrep -Os -nH 'hoge'

auto-install でエラー

error in process filter: eq: Wrong type argument: listp, "*auto-install http://www.emacswiki.org/cgi-bin/emacs?action=index;raw=1 *" error in process filter: Wrong type argument: listp, "*auto-install http://www.emacswiki.org/cgi-bin/emacs…