Skip to content

Instantly share code, notes, and snippets.

Bill Turner billturner

Block or report user

Report or block billturner

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 Spacedust.dvtcolortheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>0 0 0 1</string>
<string>Menlo-Bold - 11.0</string>
<string>0 0 0 1</string>

Install the pre-release of bundler. When 1.0 is final the --pre flag will not be necessary.

$ gem install bundler --version=1.0.0.rc.2
Successfully installed bundler-1.0.0.rc.2
1 gem installed

Modify your Gemfile, and locally re-bundle you app with the new bundler options. If bundler complains about the Gemfile format, fix it according to the directions on If you have an old bundler gem defined in your Gemfile, make sure to un-pin it from 0.9.x.

$ echo >> Gemfile
$ bundle install --path vendor/bundle
View nginxhtml5.conf
user www www;
worker_processes 5;
error_log logs/error.log;
pid logs/;
worker_rlimit_nofile 8192;
events {
worker_connections 4096;
View watchr-runner.rb
if __FILE__ == $0
puts "Run with: watchr #{__FILE__}. \n\nRequired gems: watchr rev"
exit 1
# --------------------------------------------------
# Convenience Methods
# --------------------------------------------------
def run(cmd)
View gemspec
#!/usr/bin/env ruby
# Usage: gemspec [-s] GEMNAME
# Prints a basic gemspec for GEMNAME based on your git-config info.
# If -s is passed, saves it as a GEMNAME.gemspec in the current
# directory. Otherwise prints to standard output.
# Once you check this gemspec into your project, releasing a new gem
# is dead simple:
billturner / reset.sass
Created Jan 25, 2010 — forked from bak/reset.sass
A local copy of the handy sass version of reset.css - thanks bak!
View reset.sass
// Copyright 1995-2007 Eric A. and Kathryn S. Meyer
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
View harmony.rb
module Harmony
# Allows accessing config variables from harmony.yml like so:
# Harmony[:domain] =>
def self.[](key)
unless @config
raw_config = + "/config/harmony.yml")
@config = YAML.load(raw_config)[RAILS_ENV].symbolize_keys
You can’t perform that action at this time.