Entries from 2012-11-01 to 1 month

HTTP Header escape

irb> requre 'uri' irb> header="%xxxx%xxxx ... %xxxx" irb> URI.unescape(h)

proxy

http://www.cybersyndrome.net/country.html

unicorn sinatra short tutorial

http://spitfiresky.com/blog/getting-started-with-sinatra.html##NOTE Ruby 1.9.2 doesn't automatically include "." in the $LOAD_PATH. To workaround this, modify config.ru by stating require './sinatratestapp' instead of require 'sinatratesta…

jekyll

Jekyllは、ブログのような静的サイトを構築するためのRuby製ファイルジェネレータです。Jekyllはあくまでファイルジェネレータであり、Railsのように、コマンド一つでサイトの基礎を全部構築してくれるフレームワークではありません。むしろSinatraの思想に…

Unicorn

http://unicorn.bogomips.org/Unicorn/Configurator.htmlLighting fast, zero-downtime deployments with git, capistrano, nginx and Unicorn http://ariejan.net/2011/09/14/lighting-fast-zero-downtime-deployments-with-git-capistrano-nginx-and-unico…

Ruby Sinatra Padrino Server Deploy

Unicorn passenger Thin Mongrel nginx nginx or appache (webserver) ↓ Unicorn or passenger (Rack plugin for webserevr) ↓ ruby shotgun applicationhttp://blog.livedoor.jp/faulist/archives/1306666.html https://github.com/blog/517-unicorn http:/…