Public Gists by CodeOfficer

Gravatar
Sat Feb 28 14:49:00 -0800 2009
1
2
3
require '../lib/liquid'
 
class User
gist: 70314 jays presenter pattern
Gravatar
Wed Feb 25 09:48:06 -0800 2009
1
2
3
# from: http://pastie.org/47453
# http://blog.jayfields.com/2007/03/rails-presenter-pattern.html
 
Gravatar
Mon Feb 23 17:11:46 -0800 2009
1
2
3
# Install logrotate on OS X:
# sudo port clean --all logrotate && sudo port install logrotate
# Add e.g. this to your crontab:
Gravatar
Fri Jan 23 14:45:31 -0800 2009
1
2
3
# SUPER DARING APP TEMPLATE 1.0
# By Peter Cooper
 
Gravatar
Mon Jan 19 12:09:18 -0800 2009
1
2
3
class Page < ActiveRecord::Base
  
  acts_as_taggable_on :tags
Gravatar
Sat Dec 13 10:15:38 -0800 2008
1
2
3
class CreateTextContainers < ActiveRecord::Migration
  def self.up
    create_table :text_containers do |t|
Gravatar
Wed Oct 01 14:30:59 -0700 2008
1
2
3
 def update
  @instructor = Instructor.find(params[:id])
    
Gravatar
Mon Aug 11 12:23:52 -0700 2008
1
2
3
Traceroute has started ...
 
traceroute: Warning: google.com has multiple addresses; using 64.233.167.99