Public Gists by garner

Gravatar
Thu Mar 19 06:20:22 -0700 2009
1
2
3
  SQL (0.1ms) SET client_min_messages TO 'panic'
  SQL (0.1ms) SET client_min_messages TO 'notice'
 
Gravatar
Thu Mar 19 06:19:13 -0700 2009
1
2
3
  SQL (0.1ms) SET client_min_messages TO 'panic'
  SQL (0.1ms) SET client_min_messages TO 'notice'
 
Gravatar
Sun Dec 07 03:39:44 -0800 2008
1
2
3
.clear
  :clear both
 
Gravatar
Sun Dec 07 03:38:52 -0800 2008
1
2
3
/ http://meyerweb.com/eric/tools/css/reset
/ v1.0 | 20080212
 
Gravatar
Sun Dec 07 03:37:08 -0800 2008
1
2
3
# Be sure to restart your server when you modify this file.
 
# Compress generated stylesheets
Gravatar
Thu Oct 23 03:06:29 -0700 2008
1
2
3
class CreateResponses < ActiveRecord::Migration
  def self.up
    create_table :responses, :force => true do |t|
Gravatar
Thu Oct 23 01:50:29 -0700 2008
1
= yield :head
Gravatar
Wed Oct 22 03:06:38 -0700 2008
1
2
3
def time_ago(date)
  Haml::Engine.new("%abbr{:class => 'timeago', :title => self.iso8601}= self.to_s(:long)").def_method(date, :render)
  date.render
Gravatar
Mon Oct 20 02:14:37 -0700 2008
1
2
3
robby-russells-macbook-pro% sudo /opt/local/bin/port selfupdate
 
MacPorts base version 1.600 installed
Gravatar
Thu Oct 16 04:56:46 -0700 2008
1
2
3
class Admin::TicketMessagesController < Admin::AdminController
  make_resourceful do
    actions :all
Gravatar
Tue Oct 14 01:39:07 -0700 2008
1
2
3
class Question < ActiveRecord::Base
  validates_presence_of :type
  
Gravatar
Fri Aug 29 03:23:01 -0700 2008
1
2
3
$ sudo mv /opt/local/var/db/{,old.}postgresql83
 
$ sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/local/var/db/postgresql83/defaultdb/'
Gravatar
Thu Jul 31 07:21:56 -0700 2008
1
2
3
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang='en-gb' xmlns='http://www.w3.org/1999/xhtml'>