Skip to content

Instantly share code, notes, and snippets.

View crigor's full-sized avatar

Christopher Rigor crigor

View GitHub Profile
@crigor
crigor / gist:297194
Created February 7, 2010 03:44 — forked from qrush/gist:296921
gemcutter => redis downloads spec
=================================
keys
----
downloads => global counter for all gem downloads
downloads:today => sorted set for downloads from today
downloads:rubygem:rails => counter for all rails downloads
downloads:version:rails-2.3.5 => counter for all rails 2.3.5 downloads
worker_processes 1;
events {
worker_connections 1024;
}
http {
passenger_root /opt/local/lib/passenger;
passenger_ruby /opt/local/bin/ruby;
#!/bin/bash
# Unattended REE/Passenger installation
# Source: http://weblog.brightlight-ict.nl/2008/12/unattended-passenger-ruby-enterprise-installation-on-ubuntu-8/
# 15/03/09 Updated to use latest r.e.e. and passenger 2.1 and rewrote bits thanks to the comments left on my blog. Thanks guys
if [ "$(whoami)" != "root" ]; then
echo "You need to be root to run this!"
exit 2
fi
require 'rubygems'
require 'sinatra'
require 'dm-core'
require 'lib/models'
require 'rfeedparser'
require 'rack-flash'
use Rack::Session::Cookie
use Rack::Flash
template: Hello, %s!
defaultName: Stranger
server:
applicationConnectors:
- type: http
port: 8033
adminConnectors:
- type: http
port: 8081

Keybase proof

I hereby claim:

  • I am crigor on github.
  • I am crigor (https://keybase.io/crigor) on keybase.
  • I have a public key whose fingerprint is 40D1 6E63 43E1 D567 8F77 D458 11EA 2C3D 7681 19FE

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am crigor on github.
  • I am crigor (https://keybase.io/crigor) on keybase.
  • I have a public key whose fingerprint is 456E C67F A711 AA43 4B99 A78A 1234 8C77 CEBE 1753

To claim this, I am signing this object: