サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ノーベル賞
kuon.goyman.com
To use Unicorn instead of thin on heroku, do the following: Add gem "unicorn" to your Gemfile Add a Procfile Add config/unicorn.rb Procfile 1 web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb 2 worker: bundle exec rake jobs:work 1 preload_app true 2 worker_processes 4 # amount of unicorn workers to spin up 3 timeout 30 # restarts workers that hang for 30 seconds 4 after_fork do |server, wor
For one of my iPhone project, I had to view large images of about 2500×2500 pixels, which is tricky because UIImage and UIView doesn’t support size above 1024×1024. My approach was to create a smaller, lower resolution image of 512×512 for panning and zooming, and add a high resolution image of the size of the device screen. Let’s dig into the code! You don’t have to bother copying the code from t
このページを最初にブックマークしてみませんか?
『kuon.goyman.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く