Public Gists by faithfulgeek

Gravatar
Sun Nov 01 18:52:05 -0800 2009
1
2
3
require 'hpricot'
 
class NakedRack
Gravatar
Thu Oct 15 17:05:57 -0700 2009
1
2
3
> This is a Shortwave configuration file
> http://shortwaveapp.com/
>
Gravatar
Thu Oct 15 11:27:42 -0700 2009

      
Gravatar
Sun Aug 30 19:02:50 -0700 2009
1
2
3
Feature: Wiki Documents
  In order to manage wiki content
  As a user
gist: 138922 7/1/09 LATEST RUBY 1.9! Eas...
Gravatar
Wed Jul 01 10:20:45 -0700 2009
1
2
3
#!/bin/bash
 
set -e
Gravatar
Mon Jun 15 19:46:28 -0700 2009
1
2
3
h3. Introduction
 
h3. Forward
Gravatar
Thu Jun 11 18:10:50 -0700 2009
1
2
3
module TraceCalls
 
    def following(*syms, &block)
Gravatar
Tue Jun 02 08:16:54 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
w3_dir = ARGV[0]
Gravatar
Tue May 19 14:39:50 -0700 2009
1
2
3
#!/bin/bash
 
set -e
Gravatar
Sun May 17 17:53:37 -0700 2009
1
2
3
#!/bin/bash
 
set -e
Gravatar
Mon Apr 13 20:08:03 -0700 2009
1
2
3
nnoremap <leader>m :call RunTestsForFile('')<cr>:redraw<cr>:call JumpToError()<cr>
 
function! RunTests(target, args)
Gravatar
Tue Feb 17 08:29:26 -0800 2009
1
2
3
#!/usr/bin/env ruby
#
# usage: script/passenger_restarter
Gravatar
Sun Jan 04 11:48:55 -0800 2009
1
2
3
---
:verbose: true
:update_sources: true
Gravatar
Mon Dec 22 14:43:51 -0800 2008
1
2
3
# Test from @jimweirich - make this test pass using Bindings
# hint: implement the ref method
def test_ref
Gravatar
Wed Dec 17 14:19:17 -0800 2008
1
2
3
# Add this as an initializer or to environments/development.rb for nicer logger output (thanks epitron for helping with this idea)
# Usage: logger.red "Blah"
# Shows messages in your log with a red background and bold, white text
Gravatar
Thu Dec 11 18:23:55 -0800 2008
1
2
3
require 'rubygems'
require 'spec'
 
Gravatar
Thu Nov 27 20:57:54 -0800 2008
1
2
3
class InternetEnabledPersonForgery < NameForgery
  dictionaries :top_level_domains
 
Gravatar
Tue Nov 25 17:28:59 -0800 2008
1
2
3
  describe "handling GET /groups/not_found.xml 404" do
 
    def do_get
Gravatar
Thu Nov 20 15:14:23 -0800 2008
1
2
3
" These commands MUST go in your .gvimrc otherwise it will not work!
" Found at http://www.nabble.com/Mapping-%EF%A3%BF%2BT--td20023721.html
macmenu &File.New\ Tab key=<nop>
Gravatar
Mon Nov 17 08:32:52 -0800 2008
1
2
3
======================================================= BAD
Scenario: User selects a group on the news widget
  Given there are articles for each group