June 2009
3 posts
Looking for some +1's to get video_tag() into... →
4 tags
vijo doesn't overheat my cpu! (yet)
Here’s what I came up with during the Hack Day portion of the incredible Open Video Conference 2009 this weekend. It’s a VJ’ing tool written purely in HTML5 and JS.
Bear with me if it’s glitchy! It’s just a prototype.
go to vijo
Deprecating 'www' from Rails Requests with Metal
In ‘app/metal/deprecate_w_w_w.rb’:
# Allow the metal piece to run in isolation
require(File.dirname(__FILE__) + "/../../config/environment") unless defined?(Rails)
class DeprecateWWW
def self.call(env)
if env['HTTP_HOST'].slice!(/^www\./)
location = "#{env['rack.url_scheme']}://#{env['HTTP_HOST']}#{env['REQUEST_URI']}"
RAILS_DEFAULT_LOGGER.info...