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
Compact | |
Fast | |
Fine grained | |
Granular | |
Grip | |
Hard | |
Hard packed | |
Hard packed variable | |
Heavy | |
Icy |
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
#!/usr/bin/env ruby | |
# Usage: | |
# git clog # prints | |
# git clog -w # writes | |
# | |
# https://gist.github.com/2880525 | |
module Clog | |
extend self |
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
#!/usr/bin/env ruby | |
# ruby 1.8 hash (rocket) syntax | |
# this version goes out to @A_L and all the => homies | |
# Usage: | |
# git clog # prints | |
# git clog -w # writes | |
# | |
# https://gist.github.com/2880525 |
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
execute "gemrc" do | |
action :run | |
command "echo 'gem: --no-ri --no-rdoc' > /root/.gemrc" | |
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
var url = window.location.href; | |
var matched = url.match(/http:\/\/(.*?)\//); | |
if (matched != null) { | |
var current_host = matched[1]; | |
var admin_url = url.replace(current_host, 'thegames.nytsyn.com'); | |
window.location.href = admin_url; | |
} |
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
var url = window.location.href; | |
var matched = url.match(/http:\/\/(.*?)\//); | |
if (matched != null) { | |
var current_host = matched[1]; | |
var local_url = url.replace(current_host, 'localhost.nytimes.com:3000'); | |
window.location.href = local_url; | |
} |
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
var url = window.location.href; | |
var matched = url.match(/http:\/\/(.*?)\//); | |
if (matched != null) { | |
var current_host = matched[1]; | |
var local_url = url.replace(current_host, 'localhost:3000'); | |
window.location.href = local_url; | |
} |
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
export rvm_gemset_create_on_use_flag=1 | |
export rvm_project_rvmrc=1 | |
export rvm_trust_rvmrcs_flag=1 |
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
include CampaignCash | |
Base.api_key = "YOUR API KEY" |