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
import SimpleHTTPServer | |
class CORSHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
def send_head(self): | |
"""Common code for GET and HEAD commands. | |
This sends the response code and MIME headers. | |
Return value is either a file object (which has to be copied | |
to the outputfile by the caller unless the command was HEAD, | |
and must be closed by the caller under all circumstances), or |
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
require 'irb/completion' | |
require 'pp' | |
IRB.conf[:AUTO_INDENT]=true | |
if defined?(Rails) && !Rails.env.nil? | |
ActiveRecord::Base.logger = Logger.new(STDOUT) | |
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
/* This is an **unofficial** [SCSS](http://sass-lang.com/) port of preview 2 | |
of the [Deco Grid System](http://deco.gs/). The Deco Grid System was | |
originally written by [Alexander Limi](http://limi.net/) and released under | |
a [public domain/BSD](http://twitter.com/limi/status/10865858377154560) | |
license. | |
This port was created by [Jonathan Wilde](http://www.speedbreeze.com/). | |
Jonathan doesn't deserve much credit, though, since Alexander Limi did all | |
of the hard work. ;) This file is licensed under the same terms as the | |
original Deco Grid System CSS. |