My Recent Pastes (192 and counting)

Pastes by court3nay (192 and counting)

Pages: 1 3 4 5 13

Below are the 15 most recent pasties by court3nay.

May 07, 2008
2:35PM EDT
by court3nay

#!/usr/bin/env ruby

require 'rubygems'
gem 'tinder'
require 'tinder'

April 10, 2008
12:46PM EDT
by court3nay

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

/* reset your styles first, plz */
ul, li {
  margin: 0;
  padding:0; 
  list-style:none;

March 20, 2008
11:29AM EDT
by court3nay

ant test
Buildfile: build.xml

init:

March 19, 2008
6:37PM EDT
by court3nay

#!/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

class User

  COMMA = "','" # oh yeah, I went there.
  has_many :active_campaigns,
    :class_name => "Campaign",

February 13, 2008
4:33PM EDT
by court3nay

class GalleryController < Application
  before_filter :login_required

  protected
    def gallery

January 18, 2008
2:20PM EDT
by court3nay

#!/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

module Spec
  module Rails
    module Matchers
      class HaveValidAssociations
        def matches?(model)

December 19, 2007
4:09PM EDT
by court3nay

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

## model

class Asset < ActiveRecord::Base

  has_attachment :storage => :file_system, 

November 20, 2007
2:04PM EDT
by court3nay

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

## controller

protected

  def find_scenario(id = params[:id])

November 07, 2007
3:06PM EDT
by court3nay

## controller

class FooController < ApplicationController
protected

November 02, 2007
3:09PM EDT
by court3nay

## Nonworking code

  def sidebar_box(name, &block)
    content_tag :div, :class => "sblock" do
      content_tag :div, :class => "sblock-cnt" do

Next page