This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p195.tar.bz2 | |
tar xvjf ruby-2.0.0-p195.tar.bz2 | |
cd ruby-2.0.0-p195/ | |
./configure --prefix=/usr/local | |
make | |
make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table> | |
<thead><tr><th>foo</th></tr></thead> | |
<tbody> | |
{{#each item in controller}} | |
<tr><td>{{item.name}}</td></tr> | |
{{else}} | |
<tr><td>You have no documents. How about you {{#linkTo create}}create one now{{/link}}?</td></tr> | |
{{/each}} | |
</tbody> | |
</table> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def find_links(page) | |
links = find_links() | |
links.each do |link| | |
find_links() | |
end | |
end |