This file contains 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
private struct BoxInstance | |
{ | |
public Vector3 position; | |
public Vector3 dimensions; | |
public Vector3 rotation; | |
public Vector4 color; | |
public bool inUse; | |
//***************************************************************** |
This file contains 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
Mike, | |
Hello, I am from approximately two months in the future. On 10/22 at approx 2:34am CET a tachyon | |
field failure in the main resonating ring of the LHC causes a "temporal blowback". Shortly | |
thereafter, the resulting destruction of the strong nuclear force causes the world to vaporize in | |
seconds, while a few of us near the experiment are thrown into a temporal causality loop. While | |
the predestination event (or as we have come to call it "The Big Rewind") hasn't occurred yet to | |
you, for us it is about three years in our past. I came across your site looking to see if there | |
were any other scientists that may have theorized this phenomenon who may be of assistance in | |
preventing it. This brings me to my point, I have repeatedly checked your site for the past five |
This file contains 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
mattetti/googlecharts | |
topfunky/bong | |
why/shoes | |
leachim6/hello-world | |
andychilton/cil | |
jimweirich/rake | |
rtomayko/git-sh | |
apenwarr/gitbuilder | |
pieter/gitx | |
psychs/limechat |
This file contains 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
task :check_revision do | |
unless `git rev-parse HEAD` == `git rev-parse origin/master` | |
puts "" | |
puts " \033[1;33m**************************************************\033[0m" | |
puts " \033[1;33m* WARNING: HEAD is not the same as origin/master *\033[0m" | |
puts " \033[1;33m**************************************************\033[0m" | |
puts "" | |
end | |
end | |
This file contains 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
module StringTokenizer | |
VERSION = '0.0.1' | |
def tokenize(context) | |
self.gsub(/\$[^ ]*/) {|match| | |
context[match[1..-1].to_sym] | |
} | |
end | |
end | |
This file contains 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
# autocompletion for ruby_test | |
# # works with tu/tf aliases | |
# # see also ~/bin/ruby_test.rb | |
_ruby_tests() { | |
if [[ -n $words[2] ]]; then | |
compadd `ruby_test -l ${words[2]}` | |
fi | |
} | |
compdef _ruby_tests ruby_test | |
alias tu="ruby_test unit" |
This file contains 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 Test::Unit::TestCase | |
# assert_form posts_url, :put do | |
# assert_text_field :post, :title | |
# assert_text_area :post, :body | |
# assert_submit | |
# end | |
def assert_form(url, http_method = :post) | |
http_method, hidden_http_method = form_http_method(http_method) | |
assert_select "form[action=?][method=#{http_method}]", url do | |
if hidden_http_method |
This file contains 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
diff --git a/.gitignore b/.gitignore | |
index 5c3fc13..563a3bf 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -3,5 +3,3 @@ doc | |
coverage | |
.svn/ | |
pkg | |
-*.swp | |
-tags |
This file contains 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
--type-add=ruby=.haml,.rake,.rsel,.builder | |
--type-add=html=.html.erb,.html.haml | |
--type-add=js=.js.erb | |
--type-add=css=.sass | |
--type-set=cucumber=.feature | |
--ignore-dir=vendor | |
--ignore-dir=log | |
--ignore-dir=tmp | |
--ignore-dir=doc | |
--ignore-dir=coverage |
This file contains 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
#compdef gem gem1.9 | |
gem_general_flags=("(-h --help)"{-h,--help}"[Get help on this command]" | |
"(-V --verbose)"{-V,--verbose}"[Set the verbose level of output]" | |
"(-q --quiet)"{-q,--quiet}"[Silence commands]" | |
"--config-file[Use this config file instead of default]:file:_files" | |
"--backtrace[Show stack backtrace on errors]" | |
"--debug[Turn on Ruby debugging]" | |
$nul_arg | |
) |
OlderNewer