Skip to content

Instantly share code, notes, and snippets.

@niwo
niwo / rpcm.conf
Created November 22, 2011 10:02 — forked from mguterl/gist:308216
Unicorn init.d script (chkconfig compatible) /etc/init.d/unicorn with example application configuration scripts
# starts all unicorns listed in /etc/unicorn/*.conf
# lives under /etc/unicorn/rpcm.conf
ENV=production
APP_ROOT=/opt/rpcm
@niwo
niwo / chromium_updater.rb
Created July 18, 2011 21:17 — forked from newtonapple/chromium_updater.rb
An automated Ruby script for grabbing the latest Mac Chromium build
#!/usr/bin/env ruby
# A simple Ruby script to update Chromium from dev build.
# Currently only works on Mac and Win32.
# If you want progress bar, sudo gem install ruby-progressbar
# Read more about progress bar here: http://github.com/nex3/ruby-progressbar/tree/master
# Usage:
# ruby chromium_updater.rb
require 'fileutils'