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

added rotating to image_science

October 24, 2007
4:04AM EDT
by court3nay

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

class PortalsController < ApplicationController

...

  member_actions :show, :index

October 23, 2007
12:14PM EDT
by court3nay

## portals_controller.rb 

class PortalsController < ApplicationController

  def show

October 08, 2007
8:08PM EDT
by court3nay

--- 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

Form.Validate = Class.create();
Form.Validate.prototype = {

  initialize: function(form) {
    this.form = $(form);

September 27, 2007
5:20PM EDT
by court3nay

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

September 26, 2007
7:10PM EDT
by court3nay

--- 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

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

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

#if defined __UCLIBC__
const
#endif
char *
gai_strerror(ecode)

August 24, 2007
3:16AM EDT
by court3nay

$ 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

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

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

module SetupApp
  def self.included(base)
    if base.class.name == 'Spec::DSL::EvalModule'
      base.before(:each) do 
        mock_store

Next page

Previous page