This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this is just a test. it is only a test. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# test/spec/mini 3 | |
# http://gist.github.com/25455 | |
# [email protected] | |
# file:lib/test/spec/mini.rb | |
# | |
def context(*args, &block) | |
return super unless (name = args.first) && block | |
require 'test/unit' | |
klass = Class.new(defined?(ActiveSupport::TestCase) ? ActiveSupport::TestCase : Test::Unit::TestCase) do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake RUBYARCHDIR=/Users/chris/.gems/gems/insinuate-0.0.0-universal-darwin-9/lib RUBYLIBDIR=/Users/chris/.gems/gems/insinuate-0.0.0-universal-darwin-9/lib | |
/Users/chris/.gems/gems/rake-0.8.3/lib/rake/gempackagetask.rb:13:Warning: Gem::manage_gems is deprecated and will be removed on or after March 2009. | |
(in /Users/chris/.gems/gems/insinuate-0.0.0-universal-darwin-9) | |
=== BUILDING NATIVE TARGET Insinuate OF PROJECT Insinuate WITH CONFIGURATION Release === | |
Checking Dependencies... | |
Processing /Users/chris/.gems/gems/insinuate-0.0.0-universal-darwin-9/app/build/Release/Insinuate.app/Contents/Info.plist Info.plist | |
cd /Users/chris/.gems/gems/insinuate-0.0.0-universal-darwin-9/app | |
<com.apple.tools.info-plist-utility> Info.plist -genpkginfo /Users/chris/.gems/gems/insinuate-0.0.0-universal-darwin-9/app/build/Release/Insinuate.app/Contents/PkgInfo -expandbuildsettings -o /Users/chris/.gems/gems/insinuate-0.0.0-universal-darwin-9/app/build/Release/Insinuate.app/Contents/Info.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails_root = "/data/github/current" | |
20.times do |num| | |
God.watch do |w| | |
w.name = "dj-#{num}" | |
w.group = 'dj' | |
w.interval = 30.seconds | |
w.start = "rake -f #{rails_root}/Rakefile production jobs:work" | |
w.uid = 'git' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gh fetch schacon --learn | |
Fetching schacon/master | |
== git fetch schacon master:refs/remotes/schacon/master | |
== git update-ref refs/heads/schacon/master refs/remotes/schacon/master | |
== git checkout schacon/master | |
warning: refname 'schacon/master' is ambiguous. | |
Switched to branch "schacon/master" | |
$ gh fetch_all schacon --learn | |
== git fetch schacon | |
$ gh clone schacon/grit --learn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*****************************************************************************/ | |
/* | |
/* Common | |
/* | |
/*****************************************************************************/ | |
/* Global Reset */ | |
* { | |
margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Array | |
def second | |
self[1] | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test2 |