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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Rewriting UR Links</title> | |
</head> | |
<body> | |
<h1>Rewriting UR Links</h1> | |
<p> | |
<a href="http://na8.salesforce.com/something">Link to http://na8.salesforce.com/something that opens in a new tab/window.</a> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Text to Link</title> | |
</head> | |
<body> | |
<h1>Text into Link</h1> | |
<table border="1" cellspacing="5" cellpadding="5"> | |
<tr><th>xyzzyb was just text</th></tr> |
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
gem 'redis' | |
gem 'redis-store', '1.0.0.rc1' |
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
(function( $ ){ | |
var settings = { | |
lat: 38.651198, | |
lng: -97.976074, | |
address: '', | |
minimumDetailZoom: 4, | |
defaultZoom: 4, | |
displayLitBuildings: false, | |
displayCentralOffices: false, | |
dslHeatmapActive: false, |
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
$(document).ready -> | |
$('form').submit -> | |
$(this).find('.ajax-loader').show() |
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
#!/bin/bash | |
main() { | |
if [ -z $1 ]; then | |
echo "Usage: expand-url URL" | |
exit 1 | |
fi | |
url=$1 | |
response $url | parse_redirect | |
} |
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
$ ruby rollout.rb | |
$ stalk jobs.rb |
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
# Ruby 1.8.7 | |
source "https://rubygems.org" | |
gem "json_pure" | |
group :test do | |
gem "rspec" | |
gem "vcr" | |
gem "webmock" |
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 FiatNil | |
def method_missing(*args) | |
nil | |
end | |
end |