My Recent Pastes (169 and counting)
Pastes by court3nay (169 and counting)
Below are the 15 most recent pasties by court3nay.
October 31, 2007
3:08PM EDT
by court3nay
View
Includes file attachment.
added rotating to image_science
October 24, 2007
4:04AM EDT
by court3nay
View all 17 lines
task :backup, :roles => :db, :only => { :primary => true } do # the on_rollback handler is only executed if this task is executed within # a transaction (see below), AND it or a subsequent task fails. filename = "/tmp/#{application}.dump.#{Time.now.to_f}.sql.bz2" text = capture "cat #{deploy_to}/#{shared_dir}/system/database.yml"
October 23, 2007
12:32PM EDT
by court3nay
View all 12 lines
class PortalsController < ApplicationController ... member_actions :show, :index
October 23, 2007
12:14PM EDT
by court3nay
View all 48 lines
## portals_controller.rb class PortalsController < ApplicationController def show
October 08, 2007
8:08PM EDT
by court3nay
View all 29 lines
--- a/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb +++ b/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb @@ -103,8 +103,10 @@ module Technoweenie # :nodoc: delegate :content_types, :to => Technoweenie::AttachmentFu
September 29, 2007
6:31PM EDT
by court3nay
View all 47 lines
Form.Validate = Class.create();
Form.Validate.prototype = {
initialize: function(form) {
this.form = $(form);
September 27, 2007
5:20PM EDT
by court3nay
View all 37 lines
module Spec module Rails module Matchers class HaveValidAssociations def matches?(model)
September 26, 2007
7:10PM EDT
by court3nay
View all 9 lines
--- lib/acts_as_state_machine.rb 2007-09-26 16:02:54.000000000 -0700 +++ lib/acts_as_state_machine copy.rb 2007-09-26 16:00:55.000000000 -0700 @@ -42,7 +42,6 @@ def initialize(opts)
August 24, 2007
6:33AM EDT
by court3nay
View all 18 lines
## giston/spec/giston_command_line_spec.rb require File.dirname(__FILE__) + '/spec_helper.rb' $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "../../lib")) require 'giston/version'
August 24, 2007
6:30AM EDT
by court3nay
View all 16 lines
require File.dirname(__FILE__) + '/spec_helper.rb' $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "../../lib")) require 'giston/command_line' $config = File.expand_path(File.dirname(__FILE__) + '/fixtures/.giston')
August 24, 2007
3:51AM EDT
by court3nay
View all 11 lines
#if defined __UCLIBC__ const #endif char * gai_strerror(ecode)
August 24, 2007
3:16AM EDT
by court3nay
View all 55 lines
$ make arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c array.c arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c bignum.c arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c class.c arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c compar.c
August 24, 2007
2:14AM EDT
by court3nay
View all 91 lines
slippy:/tmp/ruby/ruby-1.8.6/ruby-1.8.6 courtenay$ make rbconfig.rb updated arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c array.c arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c bignum.c arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c class.c
August 24, 2007
1:46AM EDT
by court3nay
View all 528 lines
slippy:/tmp/ruby/ruby-1.8.6/ruby-1.8.6 courtenay$ make rbconfig.rb unchanged arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c array.c arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c bignum.c arm-apple-darwin-cc -g -O2 -fno-common -DRUBY_EXPORT -I. -I. -c class.c
August 23, 2007
6:25PM EDT
by court3nay
View all 12 lines
module SetupApp def self.included(base) if base.class.name == 'Spec::DSL::EvalModule' base.before(:each) do mock_store
