Skip to content

Instantly share code, notes, and snippets.

View modsognir's full-sized avatar

Jared Fraser modsognir

View GitHub Profile
@imjasonh
imjasonh / markdown.css
Last active February 12, 2024 17:18
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
@acook
acook / strings.rb
Last active August 29, 2015 13:55
All you never wanted to know about Strings in Ruby.
# the simple stuff
string = 'uninterpolated string'
string = "interpolated\nstring"
# if you have all kinds of quotes in your strings, these are available if you must
string = %q{uninterpolated string}
string = %Q{interpolated\nstring}
#heredocs!
string = <<END