Skip to content

Instantly share code, notes, and snippets.

View chrisburnor's full-sized avatar

Chris B chrisburnor

View GitHub Profile
@chrisburnor
chrisburnor / LICENSE.txt
Created August 14, 2012 19:38 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
if exists("g:loaded_nerdtree_grep_menuitem")
finish
endif
let g:loaded_nerdtree_grep_menuitem = 1
if !executable("grep")
finish
endif
call NERDTreeAddMenuItem({
@chrisburnor
chrisburnor / Autotest File for Rails Tutorial
Created December 31, 2010 23:59
The ~/.autotest file for the Ruby on Rails Tutorial Sample App in Ch. 3
# -*- ruby -*-
# require 'autotest/growl'
#require 'win32console'
require 'test_notifier/runner/autotest'
require 'autotest/timestamp'
## This is to avoid the code below making autotest loop forever without
## waiting for "real" changes, got from
## http://stackoverflow.com/questions/31...
Autotest.add_hook :initialize do |at|
# Gemfile.lock is causing cucumber to run infinitely. Don't watch it.
@chrisburnor
chrisburnor / Rails_Tutorial_Sample_App_Gemfile
Created December 31, 2010 23:58
Gemfile for the Sample App in Ch. 3 of Rails Tutorial
# -*- ruby -*-
source 'http://rubygems.org'
gem 'rails', '3.0.1'
gem 'gravatar_image_tag'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development do
gem 'rspec-rails', '2.0.1'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'annotate-models'