Install pandoc on Mac OS X 10.8
$ brew install haskell-platform
local char_to_hex = function(c) | |
return string.format("%%%02X", string.byte(c)) | |
end | |
local function urlencode(url) | |
if url == nil then | |
return | |
end | |
url = url:gsub("\n", "\r\n") | |
url = url:gsub("([^%w ])", char_to_hex) |
$ brew install haskell-platform
from fabric.api import env, run | |
from fabric.contrib.project import rsync_project | |
try: | |
from fabfile_local import * | |
except ImportError, e: | |
environments = { | |
"dev": { | |
"hosts": ["localhost"], | |
}, |
#!/bin/bash | |
cd /tmp | |
wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem | |
wget http://rubyforge.org/frs/download.php/74596/ruby_core_source-0.1.5.gem | |
wget http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem | |
wget http://rubyforge.org/frs/download.php/63094/ruby-debug19-0.11.6.gem | |
export RBENV_INCLUDE=$HOME/.rbenv/versions/1.9.3-p0/include/ruby-1.9.1/ruby-1.9.3-p0 | |
gem install archive-tar-minitar |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.