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 t(s,d){ | |
for(var p in d) | |
s=s.replace(new RegExp('{'+p+'}','g'),typeof d[p][1]=='f'?d[p]():d[p]); | |
return s; | |
} |
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
"SERVER_NAME" => "XXXX.letsfreckle.com", | |
"HTTP_HOST" => "XXXX.letsfreckle.com", | |
"HTTP_ACCEPT" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", | |
"HTTP_CACHE_CONTROL" => "no-cache", | |
"HTTP_USER_AGENT" => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.18) Gecko/20110319 Firefox/3.5.18", | |
"HTTP_KEEP_ALIVE" => "300", | |
"CONTENT_LENGTH" => "144", | |
"SERVER_PROTOCOL" => "HTTP/1.1", | |
"HTTPS" => "on", | |
"CONTENT_TYPE" => "application/x-www-form-urlencoded; charset=UTF-8", |
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
Bundler could not find compatible versions for gem "activesupport": | |
In Gemfile: | |
rails (= 3.0.5) depends on | |
activesupport (= 3.0.5) | |
hoptoad_notifier depends on | |
activesupport (3.0.4) |
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
source 'http://rubygems.org/' | |
gem 'rails', '= 3.0.5' | |
gem 'meta_where' | |
gem 'sprockets' | |
gem 'jsmin' | |
gem 'aws-s3' | |
gem 'pg' | |
gem 'utf8proc' | |
gem 'attr_encrypted', :git => 'git://github.com/spectator/attr_encrypted.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
$ rails s | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/dependency.rb:52:in `initialize': Valid types are [:development, :runtime], not nil (ArgumentError) | |
from /Users/thomas/.rvm/gems/ruby-1.8.7-p302@charm/gems/bundler-1.0.10/lib/bundler/resolver.rb:359:in `new' | |
from /Users/thomas/.rvm/gems/ruby-1.8.7-p302@charm/gems/bundler-1.0.10/lib/bundler/resolver.rb:359:in `search' | |
from /Users/thomas/.rvm/gems/ruby-1.8.7-p302@charm/gems/bundler-1.0.10/lib/bundler/resolver.rb:354:in `gems_size' | |
from /Users/thomas/.rvm/gems/ruby-1.8.7-p302@charm/gems/bundler-1.0.10/lib/bundler/resolver.rb:179:in `resolve' | |
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:95:in `sort_by' | |
from /Users/thomas/.rvm/gems/ruby-1.8.7-p302@charm/gems/bundler-1.0.10/lib/bundler/resolver.rb:175:in `each' | |
from /Users/thomas/.rvm/gems/ruby-1.8.7-p302@charm/gems/bundler-1.0.10/lib/bundler/resolver.rb:175:in `sort_by' | |
from /Users/thomas/.rvm/gems/ruby-1.8.7-p |
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
$ bundle install | |
Fetching git://github.com/spectator/attr_encrypted.git | |
remote: Counting objects: 465, done. | |
remote: Compressing objects: 100% (240/240), done. | |
remote: Total 465 (delta 249), reused 385 (delta 207) | |
Receiving objects: 100% (465/465), 66.07 KiB, done. | |
Resolving deltas: 100% (249/249), done. | |
Fetching git://github.com/mislav/will_paginate.git | |
remote: Counting objects: 2838, done. | |
remote: Compressing objects: 100% (1039/1039), done. |
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
MEM String 990393 | |
MEM Array 28910 | |
MEM Hash 20516 | |
MEM Float 8277 | |
MEM Proc 4983 | |
MEM NewRelic::TransactionSample::Segment 3866 | |
MEM Regexp 2238 | |
MEM Regin::Character 2188 | |
MEM Class 2099 | |
MEM SupportEmail 1397 |
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
# Two things are important to note: | |
# | |
# 1) The code is fugly, because it was a JavaScript/iPad experiment. | |
# I know that it is ugly, so pretty please don't comment on that part. | |
# 2) I tried to use as many CoffeeScript features as possible, | |
# including but not limited to list comprehensions, | |
# heredocs, destructuring assignment and also the "do" operator | |
# | |
# I welcome comments about stuff that is not CoffeeScripty enough, or what I should | |
# write differently. |
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
// tweet-sized, and does (approximately) the same thing | |
var t=document.all,l=t.length,w='-webkit-trans';while(l--)t[l].style.cssText+=w+'ition:all,20s;'+w+'form:rotate('+Math.random()+'rad)' |
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
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; .NET4.0C; BRI/2) |