Public Gists by boffbowsh

Gravatar
Sat Nov 21 15:11:35 -0800 2009
1
2
3
From d585c7a4753ce48d46e1ba44c5e5c831811ed864 Mon Sep 17 00:00:00 2001
From: Paul Bowsher <paul.bowsher@gmail.com>
Date: Sat, 21 Nov 2009 23:06:39 +0000
Gravatar
Sat Nov 21 13:59:01 -0800 2009
1
2
3
/Users/boffbowsh/code/ruby/rubinius/spec/frozen/core/kernel/require_spec.rb
Kernel#require
- is a private method
gist: 214139 Allows you to store blobs o...
Gravatar
Tue Oct 20 03:03:50 -0700 2009
1
2
3
class ProductPage < ActiveRecord::Base
  has_many :text, :class_name => 'ProductPageContent' do
    def [] name
Gravatar
Thu Sep 24 02:19:10 -0700 2009
1
2
3
// Make 'this' available within ajax calls
Function.prototype.bind = function(thisArg){
  var self = this;
gist: 186886 deploy.rb.diff
Gravatar
Mon Sep 14 12:54:15 -0700 2009
1
2
3
diff --git a/config/deploy.rb b/config/deploy.rb
index b5ad582..bdb8592 100644
--- a/config/deploy.rb
Gravatar
Thu Sep 10 05:46:41 -0700 2009
1
2
3
#! /usr/local/bin/ruby
require 'rubygems'
require 'nokogiri'
gist: 175412 A command-line wrapper for ...
Gravatar
Wed Aug 26 02:09:01 -0700 2009
1
require 'rubygems';require 'active_support';require 'nokogiri';puts Nokogiri.HTML(ActiveSupport::JSON.decode(`curl -s -F url=#{ARGV.first} http://hurl.r09.railsrumble.com/`)['body']).content
Gravatar
Wed Jun 17 13:42:11 -0700 2009
1
2
3
#!/bin/sh
name=$1
if [ -z "$name" ] ; then
Gravatar
Mon Jun 15 08:50:59 -0700 2009
1
2
3
# Delete unnecessary files
run "rm public/index.html"
run "rm public/favicon.ico"
gist: 44720 Bootstrapping Kohana to jus...
Gravatar
Thu Jan 08 04:55:09 -0800 2009
1
2
3
function __autoload( $sClass )
{
// Your own autoload code goes here
gist: 2172 Put has_metadata.rb in lib,...
Gravatar
Thu Jul 24 08:14:27 -0700 2008
1
2
3
class Metadata < ActiveRecord::Base
set_table_name "meta_metadata"