My Recent Pastes (192 and counting)
Pastes by court3nay (192 and counting)
Below are the 15 most recent pasties by court3nay.
May 07, 2008
2:35PM EDT
by court3nay
View more (50 lines)
#!/usr/bin/env ruby require 'rubygems' gem 'tinder' require 'tinder'
April 10, 2008
12:46PM EDT
by court3nay
View more (53 lines)
Index: app/models/comment.rb===================================================================--- app/models/comment.rb (revision 189)+++ app/models/comment.rb (working copy)@@ -36,7 +36,6 @@
April 06, 2008
3:31PM EDT
by court3nay
View more (91 lines)
/* reset your styles first, plz */ ul, li { margin: 0; padding:0; list-style:none;
March 19, 2008
6:37PM EDT
by court3nay
View more (55 lines)
#!/usr/bin/env ruby # Campfire bot for a Gitosis repository. # Put this in /home/git # Symlink this file into post-update in your repositories/name/hooks # Change LOGIN and PASSWORD
February 29, 2008
9:49PM EDT
by court3nay
View more (11 lines)
class User COMMA = "','" # oh yeah, I went there. has_many :active_campaigns, :class_name => "Campaign",
February 13, 2008
4:33PM EDT
by court3nay
View more (38 lines)
class GalleryController < Application before_filter :login_required protected def gallery
January 18, 2008
2:20PM EDT
by court3nay
View more (17 lines)
#!/bin/bash ## USAGE: add_to_server.sh remote_server ## This script will add your ssh dsa public key to remote_server's authorized_keys list,
December 21, 2007
6:53PM EDT
by court3nay
View more (37 lines)
module Spec module Rails module Matchers class HaveValidAssociations def matches?(model)
December 19, 2007
4:09PM EDT
by court3nay
View more (12 lines)
Last login: Wed Dec 19 13:01:44 on ttyp2 Welcome to Darwin! slippy:~ courtenay$ curl -I http://gems.rubyforge.org HTTP/1.1 200 OK Date: Wed, 19 Dec 2007 21:08:49 GMT
November 29, 2007
12:27AM EDT
by court3nay
View more (33 lines)
## model class Asset < ActiveRecord::Base has_attachment :storage => :file_system,
November 20, 2007
2:04PM EDT
by court3nay
View more (8 lines)
alias wtf="tail -f log/development.log" alias rs="rake spec" alias gc="git commit" alias gca="git commit --all" alias gd="git diff --color"
November 07, 2007
4:56PM EDT
by court3nay
View more (38 lines)
## controller protected def find_scenario(id = params[:id])
November 07, 2007
3:06PM EDT
by court3nay
View more (27 lines)
## controller class FooController < ApplicationController protected
November 02, 2007
3:09PM EDT
by court3nay
View more (23 lines)
## Nonworking code def sidebar_box(name, &block) content_tag :div, :class => "sblock" do content_tag :div, :class => "sblock-cnt" do
