Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
-# HTML5 doctype | |
!!! 5 | |
!!! strict | |
!!! XML | |
%html | |
-#ie conditionals | |
/[if IE] | |
%a{ href: "http://www.mozilla.com/en-US/firefox/" } |
$(document).on("page:load",function(){ | |
//do ALL THE THINGS :D | |
//see http://stackoverflow.com/questions/17386740/rails-4-turbolinks-and-jquery-dynamic-links-not-playing-nice | |
}); |
1.9.3p327 :013 > pets = %w(rex nibbles fred) | |
=> ["rex", "nibbles", "fred"] | |
1.9.3p327 :014 > puts pets.map do |pet| | |
1.9.3p327 :015 > pet.upcase | |
1.9.3p327 :016?> end | |
#<Enumerator:0x007f9b4d02a4f0> | |
=> nil | |
1.9.3p327 :017 > puts pets.map(&:upcase) | |
REX | |
NIBBLES |