Skip to content

Instantly share code, notes, and snippets.

Header 1

Header 2

Header 3 ### (Hashes on right are optional)

Header 4

Header 5

Markdown plus h2 with a custom ID ## {#id-goes-here}

Link back to H2

This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one

@illnino
illnino / Rails MongoMapper Template.rb
Created September 18, 2012 02:34 — forked from banker/Rails MongoMapper Template.rb
A Rails Template for using MongoMapper
# mongo_template.rb
# fork of Ben Scofield's Rails MongoMapper Template (http://gist.github.com/181842)
#
# To use:
# rails project_name -m http://gist.github.com/gists/219223.txt
# remove unneeded defaults
run "rm public/index.html"
run "rm public/images/rails.png"
run "rm public/javascripts/controls.js"
@illnino
illnino / dabblet.css
Created April 28, 2012 06:03 — forked from chriscoyier/dabblet.css
No space between inline-block
body {
font-family: sans-serif;
}
ul {
list-style: none
}
a{
text-decoration: none;
@illnino
illnino / gist:2069513
Created March 18, 2012 07:08 — forked from padolsey/gist:527683
JavaScript: detect ie
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// If you're not in IE (or IE version is less than 5) then:
// ie === undefined
// If you're in IE (>=5) then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE:
// if (ie) {}