Monthly Archives: December 2009

RailsをApache+FCGIでサブディレクトリで動かす方法

config/environment.rbにて config.action_controller.relative_url_root = "/subdir" via RailsBaseURI not working with Rails 2.2.2 routes? – Phusion Passenger Discussions | Google グループ.
Categories: HowTo's, Tips and Tricks | Tagged , | Leave a comment

Heartbeatの使い方

こないだ、バイトでHeartbeatを実験セットアップしました。 しかしHeartbeatの公式ドキュメントは情報が散り放題リンク切れ放題で悲惨なものでしたので、耐えきれず勝手にGoogle Docsにまとめてしまいまし [...]
Categories: HowTo's, Tips and Tricks | Tagged | Leave a comment

Google Readerで背面にタブを開くChrome拡張の開発をやめました

Google Readerの「v」で背面にタブを開くChrome拡張機能の開発をやめました。 理由は タブが二枚開くなどのバグがあったが原因究明に時間を費やしすぎる Chromeのバージョンが同じなのにこのPCと隣のP [...]
Categories: Things I Made | Tagged , , , | Leave a comment

Vimでペースト時にやたらとインデントされない方法

Puttyとかを経由してvimを使っているとき、クリップボードの中身をペーストするとものすごい勢いでインデントされて途方に暮れる。 そんなときは:set pasteする。この状態でインサートモードに入って貼りつければ綺麗 [...]
Categories: HowTo's, Tips and Tricks | Tagged | Leave a comment

Wordpressのメモリ消費を節約する

Wordpressを動かしてるこのサーバが重くてどうしようもなくなってきたので、メモリを節約するようチューニングしてみました。試してみたことをメモ。 サーバ環境: メモリ256MBの軟弱VPSです。 Ubuntu 9. [...]
Categories: HowTo's, Tips and Tricks | Tagged , | 2 Comments

Initial Thoughts on Spider for MySQL

Recently I had the chance to play with a storage engine for MySQL called Spider, so I’m jotting down some notes on what it is and what my initial thoughts were. Spider is not your typical storage engine: it allows you to redirect your data and queries to other MySQL instances depending on field values. That [...]
Categories: Ideas and Products | Leave a comment

Spider for MySQLを使ってみた

最近、バイトでSpiderという面白いMySQL用ストレージエンジンをこねこねすることがあったので、特徴と感想を簡単に紹介します。 Spiderは少し特殊なストレージエンジンで、データを行単位で別のMySQLサーバへ飛ば [...]
Categories: Ideas and Products | Tagged , | Leave a comment