Public Gists by hpoydar

Gravatar
Tue Oct 20 10:42:26 -0700 2009
1
2
3
module SeleniumHelpers
  # Execute JavaScript in the context of your Selenium window
  def run_javascript(javascript)
Gravatar
Mon Oct 12 10:36:37 -0700 2009
1
2
3
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 20090928
 
RUBY_GC_MALLOC_LIMIT = 36000000
Gravatar
Wed Sep 02 13:56:09 -0700 2009
1
2
3
namespace :heroku do
  
  desc "Prepare and deploy the application to heroku"
Gravatar
Thu Aug 20 15:20:31 -0700 2009
1
2
3
# Build ...
 
$ tar -xvf libical-0.43.tar
Gravatar
Mon Aug 10 15:51:53 -0700 2009
1
2
3
// PROBLEM:
 
// A Sammy app
Gravatar
Mon Jun 29 11:15:15 -0700 2009
1
2
3
common: &default_settings
 
 
Gravatar
Thu Jun 18 09:44:46 -0700 2009
1
2
3
DEBUG: Using local file for template:/tmp/chef-solo_test/cookbooks/testbook/templates/default/somservice.conf.erb
ERROR: template[/root/someservice.conf] (/usr/lib/ruby/gems/1.8/gems/chef-0.7.0/lib/chef/recipe.rb line 189) had an error:
different prefix: "/" and "."
Gravatar
Thu Jun 04 15:10:11 -0700 2009
1
2
3
#!/usr/bin/ruby
 
#
Gravatar
Tue Jun 02 08:52:22 -0700 2009
1
2
3
# AR model callback that uses paperclip and tempfile
 
 
Gravatar
Mon Jun 01 17:53:50 -0700 2009
1
2
3
// Code from processing-js that's failing in webkit only, FF runs it fine
 
function buildProcessing( curElement ){
Gravatar
Fri May 01 13:28:25 -0700 2009
1
2
3
function queryObject() {
  var pairs, pair;
  var query = new Array;
Gravatar
Wed Apr 22 10:24:11 -0700 2009
1
2
3
1)
ActionView::TemplateError in 'UserMailer notifications for specific events should send an email when creating an event'
You have a nil object when you didn't expect it!
Gravatar
Sat Mar 28 15:02:53 -0700 2009
1
2
3
# get the user record for which you'd like to import
tom = User.first
 
gist: 41299 A spec to make sure all vie...
Gravatar
Mon Dec 29 08:20:56 -0800 2008
1
2
3
require File.dirname(__FILE__) + '/../spec_helper'
require 'find'