Skip to content

Instantly share code, notes, and snippets.

Joe Fiorini joefiorini

Block or report user

Report or block joefiorini

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View awesome.rb
require 'formula'
class Awesome < Formula
url 'http://awesome.naquadah.org/download/awesome-3.5.6.tar.bz2'
homepage 'http://awesome.naquadah.org/'
md5 '81c7353932dd067cc7a222d9ede1cdd7'
depends_on 'cmake'
depends_on 'lua'
depends_on 'imlib2'
@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.
@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
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
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 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"
@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 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.
View gist:5808
def what_is_gist
Sex::Pure
end
You can’t perform that action at this time.