Skip to content

Instantly share code, notes, and snippets.

View gist:106
%h1.title RetireHQ Privacy Policy
#terms.generic
%p Last updated: July 21, 2008
%h2 Data Collected by the RetireHQ Website
%p Your privacy is of paramount importance to us. We believe that by respecting your privacy we will earn the opportunity to build a lasting relationship with your business, your clients and your staff. Any information you provide to us will only be used for the purpose for which it was submitted. We collect your information primarily for contact and billing purposes. Under no circumstances will your information be shared with, or sold to, or disclosed to any third party, except where required by law.
View gist:5808
def what_is_gist
Sex::Pure
end
View passenger_restarter
#!/usr/bin/env ruby
#
# usage: script/passenger_restarter
#
# ** Fork of Jonathan Penn's server_restarter to work with Passenger.
# Joe Fiorini (http://www.faithfulgeek.org)
#
# Rails autoloading, while nice in theory, frequently doesn't work. Since Rails 2.3+
# is so fast when completely reloading the server, I wrote this script to listen to the
# given directories, and kill/restart the server when any file is changed.
@joefiorini
joefiorini / build_ruby19.sh
Created Jul 1, 2009 — forked from postmodern/build_ruby19.sh
7/1/09 LATEST RUBY 1.9! Easy to change version number. More robust.
View build_ruby19.sh
#!/bin/bash
set -e
RUBY_BASE="ruby-1.9.1-p129"
RUBY_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$RUBY_BASE.tar.bz2"
install_ruby19() {
create_src_directory
download_ruby19_source
View document.feature
Feature: Wiki Documents
In order to manage wiki content
As a user
I want see, create and edit wiki documents
#
Scenario: View document page
Given there is a document titled "TestDocument"
When I visit the "TestDocument" document page
Then I should see "TestDocument"
View waves.txt
> This is a Shortwave configuration file
> http://shortwaveapp.com/
>
> Some triggers copied from benpickles (http://gist.github.com/43371)
>
> Urls may contain the following replacement tokens:
>
> %s → search terms
> %r → URL of current page
> %d → domain part of the current URL
View waves.txt
> This is a Shortwave configuration file
> http://shortwaveapp.com/
>
> Some triggers copied from benpickles (http://gist.github.com/43371)
>
> Urls may contain the following replacement tokens:
>
> %s → search terms
> %r → URL of current page
> %d → domain part of the current URL
View gist:568925
speaker "Chris Hayes"
time "03:15"
blah blah blah - lots of blah blah blah
speaker "Debbie Stabenow"
time "04:56"
even more blah blah blah - tons of blah
@joefiorini
joefiorini / gist:1720014
Created Feb 1, 2012 — forked from sjltaylor/gist:1713820
My rspec fantasy
View gist:1720014
# Here is a normal set of specs...
describe 'some normal rspec' do
describe 'doing something with a Product and Users' do
before :each do
# setup etc
# preconditions could go here
@joefiorini
joefiorini / commitmessage.txt
Created Aug 22, 2012 — forked from cromwellryan/commitmessage.txt
An acceptable commit message?
View commitmessage.txt
Refactoring done earlier didn't execute acceptance tests.
This makes me wonder why we even have acceptance tests. The acceptance tests (and the bug they surfaced) are fixed. Ugh. Professionalism people. Please.