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
5292, | |
7125, | |
9326, | |
13400, | |
15343, | |
18051, | |
18563, | |
19059, | |
19068, | |
19376, |
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
"Color 1","ef3434" | |
"Color 2","577667" | |
"Color 3","6.28e+72" | |
"Color 4","4555f3" | |
"White","ffffff" | |
"Color 5","5.11e+28" | |
"Color 6","458af8" | |
"Color 7","b44e33" | |
"Color 8","7.23e+11" | |
"color 9","8.15e+02" |
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
function interval(duration, fn){ | |
this.baseline = undefined | |
this.run = function(){ | |
if(this.baseline === undefined){ | |
this.baseline = new Date().getTime() | |
} | |
fn() | |
var end = new Date().getTime() | |
this.baseline += duration |
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
require 'rubygems' | |
require 'mechanize' | |
agent = Mechanize.new | |
login = "https://#{subdomain}.airbrake.io/login" | |
page = agent.get(login) | |
# login | |
page.form.field_with(:id => "session_email").value = email | |
page.form.field_with(:id => "session_password").value = password |
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
Navionics Training Notes | |
# To clone: | |
$ git clone [email protected]:mojotech/navionics.git | |
# From ~/.gitconfig | |
[branch] | |
autosetupmerge = true | |
[alias] | |
b = branch |
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
commit 036a3ed9bc2778f6931a2039df309a7178fcf7e1 | |
Author: Chris Shoemaker <[email protected]> | |
Date: Fri Aug 14 17:28:19 2009 -0400 | |
Fix the clearance route precedence hack to account for reloading. | |
diff --git a/vendor/gems/thoughtbot-clearance-0.6.9/lib/clearance/extensions/rou | |
index 1a6c43b..6581346 100755 | |
--- a/vendor/gems/thoughtbot-clearance-0.6.9/lib/clearance/extensions/routes.rb | |
+++ b/vendor/gems/thoughtbot-clearance-0.6.9/lib/clearance/extensions/routes.rb |
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 cool |
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
1.upto(1000) {|n| | |
File.open("db/migrate/#{sprintf("%03.0f", n)}_t#{n}.rb", "w") {|f| | |
tmp = <<-code | |
puts #{n} | |
class T#{n} < ActiveRecord::Migration | |
def self.up; end | |
def self.down; end | |
end | |
code | |
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
Read this file please. NOW! Pretty please? |
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
njghjhg |