Public Gists by jseifer

Gravatar
Sat Oct 24 10:38:14 -0700 2009
1
2
3
#! /usr/bin/env ruby
#
# Save in your path as "isreg" and chmod +x. Then: isreg domain.com
Gravatar
Wed Jul 22 07:43:17 -0700 2009
1
2
3
# Find and replace in textmate to fix merge conflicts.
# As shown this takes the second capture group
#
Gravatar
Fri Jul 10 13:37:00 -0700 2009
1
2
3
#!/bin/bash
export PATH="/opt/rubyee/bin:/opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql83/bin/:/usr/local/bin:/usr/local/sbin:~/.bin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin"
/opt/rubyee/bin/ruby $*
Gravatar
Wed Jun 24 10:37:44 -0700 2009
1
2
3
# Export old iphone address book backup to vcards so you can reimport.
# Use a tool like the Backup extractor (http://supercrazyawesome.com/)
# to get the backup created, then grab Library/AddressBook/AddressBook.sqlitedb
Gravatar
Fri Apr 10 12:39:51 -0700 2009
1
2
3
sudo port install beanstalkd
sudo port install memcached
 
Gravatar
Tue Apr 07 19:43:13 -0700 2009
1
2
3
# Allow the metal piece to run in isolation
require(File.dirname(__FILE__) + "/../../config/environment") unless defined?(Rails)
 
Gravatar
Tue Apr 07 19:40:23 -0700 2009
1
2
3
def call(env)
  @metals.keys.each do |app|
    result = app.call(env)
Gravatar
Sat Feb 21 23:13:27 -0800 2009
1
sudo gem rdoc --all --no-ri
Gravatar
Sat Feb 21 23:12:56 -0800 2009
1
rdoc: --inline-source --line-numbers --format=html --template=hanna
gist: 68367 Regenerate all rdocs in hanna
Gravatar
Sat Feb 21 22:40:35 -0800 2009
1
gem install mislav-hanna
Gravatar
Fri Feb 20 14:03:03 -0800 2009
1
2
3
On Feb 20, 2009, at 4:24 PM, "Olusegun A.A" <xxxxxx@gmail.com> wrote:
 
** CRAIGSLIST ADVISORY --- AVOID SCAMS BY DEALING LOCALLY
Gravatar
Fri Feb 20 08:06:51 -0800 2009
1
2
3
# ever wanted capistrano talk to you?
# this is used with ext/multistage and only works on a mac
 
gist: 66362 Turn off webrat's auto open...
Gravatar
Wed Feb 18 06:35:33 -0800 2009
1
2
3
Webrat.configure do |config|
  config.mode = :rails
  config.open_error_files = false
Gravatar
Sun Jan 11 11:12:51 -0800 2009
1
2
3
# Mephisto to Wordpress converter
#
# Create your database credentials in mephisto.yml and wordpress.yml
Gravatar
Fri Jan 09 12:16:44 -0800 2009
1
2
3
# This is my Rails Envy mp3 tagger script because I'm too lazy to do it every week manually.
 
require 'rubygems'
Gravatar
Sun Dec 21 16:35:10 -0800 2008
1
2
3
# SUPER DARING APP TEMPLATE 1.0
# Originally By Peter Cooper
# Modified by Jason Seifer
Gravatar
Mon Aug 18 07:05:44 -0700 2008
1
2
3
# ~/.inputrc
 
# Filename completion regardless of case