Skip to content

Instantly share code, notes, and snippets.

@dtsato
dtsato / gist:1285321
Created October 13, 2011 19:54
Speeding up Rails specs
# Add these lines to your spec_helper.rb to speed up specs:
Sass::Plugin.options[:always_check] = false
Sass::Plugin.options[:always_update] = false
@michiel
michiel / cors-nginx.conf
Created July 5, 2011 10:41
Wide-open CORS config for nginx
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
#