Entries from 2017-05-18 to 1 day

Puma thread Rackup bundle

http://starzero.hatenablog.com/entry/2013/04/20/230833 http://qiita.com/kazuhiro4949/items/606c1d58afcfb06f14c4 http://qiita.com/soushiy/items/8de8dfef5183fc3b515ahttps://devcenter.heroku.com/articles/deploying-rails-applications-with-the-…

Serving static files/images with Sinatra

require 'sinatra'get '/' do #File.read(File.join('./public', 'index.html')) File.expand_path('index.html', settings.public_folder) end

Ruby web server Why not WEBrick

http://dev.classmethod.jp/server-side/ruby-on-rails/sinatra__make_api_server/Why not WEBrick By default WEBrick is single threaded, single process. This means that if two requests come in at the same time, the second must wait for the firs…

Sinatraで簡易APIサーバー

http://dev.classmethod.jp/server-side/ruby-on-rails/sinatra__make_api_server/

byobu cheat sheet

http://qiita.com/nmrmsys/items/03f97f5eabec18a3a18bTo start a new Byobu session with a specified name: byobu new -s To change the name of a pre-existing session: byobu rename -t include the session-name in status bar for byobu-tmux $tmux s…

Ubuntu 14.04 rvm "rack requires Ruby version >= 2.2.2"

update rvm rvm get latest