Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀

John W. Long jlong

🚀
View GitHub Profile
@jlong
jlong / SassMeister-input.scss
Created Jan 14, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
$sections: red, gold, orange, grey;
@each $i in $sections {
.section-#{$i} {
View gist:1118832
# This should be in view_helpers.rb:
def logged_in?
boolean_param(:logged_in)
end
# my template code
<% unless logged_in? %>
<script type="text/javascript" charset="utf-8">
alert('done')
View config.ru
#\ -p 4000
gem 'activesupport'
gem 'serve'
require 'serve'
require 'serve/rack'
# The project root directory
root = ::File.dirname(__FILE__)