Skip to content

Instantly share code, notes, and snippets.

View atmos's full-sized avatar
🌴
On vacation

Corey Donohoe atmos

🌴
On vacation
View GitHub Profile
MERB_ROOT = "/data/ninja/current"
MERB_ENV = 'production'
APPLICATION = 'ninja'
USER = 'cpanel'
ENV['HOME'] = '/home/cpanel'
%w{5000 5001 5002}.each do |port|
God.watch do |w|
w.uid = USER
w.gid = USER
begin
gem 'vlad', '=1.2.0.2'
require 'vlad'
rescue LoadError
abort "Failed to load vlad"
end
Vlad.load :scm => :git
% git clone git://github.com/atmos/vlad.git
% cd vlad
% rake install_gem
upstream ninja_upstream {
server 127.0.0.1:4567;
}
server {
listen 80;
server_name ninja.ci.atmos.org 127.0.0.1;
root /data/integrity/current/public;
# merb/merb-auth/strageies.rb
Merb::Slices::config[:"merb-auth-slice-password"][:no_default_strategies] = true
Merb::Authentication.activate!(:default_openid)
class User
include DataMapper::Resource
property :id, Serial
property :name, String, :nullable => false
property :email, String, :nullable => false
property :identity_url, String, :nullable => false
validates_is_unique :identity_url
validates_is_unique :name
Last login: Thu Oct 30 23:49:11 on ttys001
History is curious stuff
You'd think by now we had enough
Yet the fact remains I fear
They make more of it every year.
mbp% gem list merb-gen
*** LOCAL GEMS ***
class Merb::Authentication
def self.maintain_session_keys=(keys)
@maintain_session_keys = keys
end
end
Merb::Authentication.maintain_session_keys = [:authentication_strategies, :last_oidreq]
source ~/.vim/vimrc
let g:NERDTreeMapOpenSplit = 'i'
set nu
set sts=2
colorscheme vibrantink
let g:fuzzy_ignore = "gems/*:coverage"
set columns=145
set lines=48
set gfn=Monaco:h12
mbp% rake install_gem
(in /Users/atmos/p/insinuate)
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/gempackagetask.rb:13:Warning: Gem::manage_gems is deprecated and will be removed on or after March 2009.
rm -r doc
rm -r pkg
=== CLEANING NATIVE TARGET Insinuate WITH CONFIGURATION Release ===
Checking Dependencies...
Clean.Remove clean /Users/atmos/p/insinuate/app/build/Release/Insinuate.app