Skip to content

Instantly share code, notes, and snippets.

# ~/.inputrc
# Filename completion regardless of case
set show-all-if-ambiguous On
set completion-ignore-case on
# Search history backwards and forwards with Esc-p and up/down arrows
"\ep": history-search-backward
"\e[A": history-search-backward
"\e[B": history-search-forward
@jseifer
jseifer / gist:38813
Created December 22, 2008 00:35 — forked from peterc/gist:33337
# SUPER DARING APP TEMPLATE 1.0
# Originally By Peter Cooper
# Modified by Jason Seifer
# Link to local copy of edge rails
inside('vendor') { run 'ln -s ~/Source/rails rails' }
# Delete unnecessary files
run "rm README"
run "rm public/index.html"
# This is my Rails Envy mp3 tagger script because I'm too lazy to do it every week manually.
require 'rubygems'
require 'id3lib'
require 'optparse'
require 'pp'
app = Hash.new
opts = OptionParser.new do |opts|
# Mephisto to Wordpress converter
#
# Create your database credentials in mephisto.yml and wordpress.yml
# then run ruby converter.rb
#
require 'rubygems'
require 'activerecord'
require 'activesupport'
require 'yaml'
@jseifer
jseifer / gist:66362
Created February 18, 2009 14:35
Turn off webrat's auto open of failed tests
Webrat.configure do |config|
config.mode = :rails
config.open_error_files = false
end
@jseifer
jseifer / .caprc
Created February 20, 2009 16:06 — forked from siebertm/.caprc
# ever wanted capistrano talk to you?
# this is used with ext/multistage and only works on a mac
require 'capistrano_colors'
before :deploy, :say_begin_deploy
after :deploy, :say_end_deploy
task :say_begin_deploy do
`say deploying #{ARGV[0]}`
end
On Feb 20, 2009, at 4:24 PM, "Olusegun A.A" <xxxxxx@gmail.com> wrote:
** CRAIGSLIST ADVISORY --- AVOID SCAMS BY DEALING LOCALLY
** Avoid: wiring money, cross-border deals, work-at-home
** Beware: cashier checks, money orders, escrow, shipping
** More Info: http://www.craigslist.org/about/scams.html
Hello,
Do you still have this item available for sale at the moment? Get back asap.
@jseifer
jseifer / gist:68367
Created February 22, 2009 06:40
Regenerate all rdocs in hanna
gem install mislav-hanna
rdoc: --inline-source --line-numbers --format=html --template=hanna
sudo gem rdoc --all --no-ri