Public Gists by mcfearsome

Gravatar
Mon Jul 27 21:22:49 -0700 2009
1
2
3
# == Schema Information
#
# Table name: tracks
Gravatar
Fri Jul 10 11:01:12 -0700 2009
1
2
3
Host gv_solo
  Hostname 174.129.202.254
  IdentityFile /Users/mcfearsome/.ssh/gv_solo_key
Gravatar
Fri Jul 10 10:51:11 -0700 2009
1
2
3
DEBUG: STDERR:
DEBUG: ---- End output of chown -R gamervision:gamervision /data/Gamervision/releases/20090710174901 ----
DEBUG: Ran chown -R gamervision:gamervision /data/Gamervision/releases/20090710174901 returned 0
Gravatar
Fri Jul 10 09:54:08 -0700 2009
1
2
3
DEBUG: Executing cd /data/Gamervision/releases/20090710162413 && sudo -u gamervision RAILS_ENV=staging RACK_ENV=staging MERB_ENV=staging rake db:schema:load
DEBUG: ---- Begin output of cd /data/Gamervision/releases/20090710162413 && sudo -u gamervision RAILS_ENV=staging RACK_ENV=staging MERB_ENV=staging rake db:schema:load ----
DEBUG: STDOUT: (in /data/Gamervision/releases/20090710162413)
Gravatar
Wed Jul 08 08:46:37 -0700 2009
1
2
3
class Admin::ImagesController < Admin::BaseAdminController
  active_scaffold :image do |config|
    config.list.columns = [:image_collection, :title]
Gravatar
Thu Jul 02 12:43:36 -0700 2009
1
2
3
inside('vendor') { run 'ln -s ~/code/rails-edge rails' }
 
 
Gravatar
Tue Jun 16 10:57:13 -0700 2009
1
2
3
SystemStackError (stack level too deep):
  vendor/plugins/acts_as_paranoid/init.rb:4:in `belongs_to_without_deleted'
  vendor/plugins/acts_as_paranoid/init.rb:4:in `belongs_to_without_deleted'
Gravatar
Sun Jun 14 13:55:39 -0700 2009
1
2
3
(in /Users/mcfearsome/code/gamervision.com)
== CreateViddlerVideos: migrating ============================================
-- create_table(:viddler_videos)
Gravatar
Thu May 21 12:54:37 -0700 2009
1
2
3
class NewNotifications
  extend ActionView::Helpers::TagHelper
  extend ActionView::Helpers::UrlHelper
Gravatar
Mon May 18 21:49:24 -0700 2009
1
2
3
class KeyGenerator
  require "digest/sha1"
  def self.generate(length = 10)
Gravatar
Mon May 18 10:56:29 -0700 2009
1
2
3
function mategem {
  GEMDIR=`gem env gemdir`/gems
  mate $GEMDIR/`ls $GEMDIR | grep $1 | sort | tail -1`
Gravatar
Mon May 18 08:23:53 -0700 2009
1
2
3
# daring.rb
# from Peter Cooper
 
Gravatar
Fri May 15 11:02:28 -0700 2009
1
2
3
########
# RUBY #
########
Gravatar
Sat May 09 18:31:34 -0700 2009
1
git diff <$commit1>:path/file <$commit2>:otherpath/otherfile
gist: 109464 Saves changes on a git repo...
Gravatar
Sat May 09 18:26:18 -0700 2009
1
2
git diff --binary HEAD > tempPatch.diff
git reset --hard
Gravatar
Fri May 08 09:56:38 -0700 2009
1
2
3
require 'rubygems'
require 'utility_belt'
require 'alias'
Gravatar
Fri May 08 09:51:30 -0700 2009
1
2
3
require 'rubygems'
require 'utility_belt'
require 'alias'
Gravatar
Mon May 04 12:01:59 -0700 2009
1
2
3
if rails_env = ENV['RAILS_ENV']
  rails_root = File.basename(Dir.pwd)
 
Gravatar
Wed Apr 01 23:18:05 -0700 2009
1
cd "/Library/Application Support/SIMBL/Plugins" && curl -O http://ciaranwal.sh/files/TerminalColours.bundle.zip && unzip TerminalColours.bundle.zip
Gravatar
Wed Apr 01 23:04:44 -0700 2009
1
cd ~ && git clone git://github.com/mcfearsome/profile.git .profile.d