Skip to content

Instantly share code, notes, and snippets.

Rails CMS alternatives
======================
Note: project activity was checked on 11/26/09 for most of these projects, and the "last update" field has not been kept up to date since then.
Active projects:
---------------
adva-cms
repo: http://github.com/svenfuchs/adva_cms/
site: http://adva-cms.org/
Last update: 11/24/09
@craigmcnamara
craigmcnamara / nginx.conf
Created June 17, 2011 19:13 — forked from cmrosado/nginx.conf
the passenger file
user _www;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
module VerboseJob
module ClassMethods
def wrap_perform!
class << self
def perform_with_verbose(*args)
JobLogger.verbose { perform_without_verbose(*args) }
end
alias_method_chain :perform, :verbose \
unless instance_method(:perform) == instance_method(:perform_with_verbose)
tmp
log
doc
daemon
*.swp
@craigmcnamara
craigmcnamara / gist:5159445
Last active December 14, 2015 22:38 — forked from defunkt/gist:206253
Unicorn
# unicorn -c /data/github/current/config/unicorn.rb -E production -D
rack_env = ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'production'
# 16 workers and 1 master
worker_processes (rack_env == 'production' ? 16 : 4)
# Load rails+github.git into the master before forking workers
# for super-fast worker spawn times
preload_app true