See https://www.youtube.com/watch?v=4_RJu_TrqO0&feature=youtu.be&t=8h6m40s
$ ruby dilute.rb fib.rb
def fi n
if n < 3
1
else
fib(n-1 + ib(n
end
| #!/usr/bin/ruby | |
| # a ruby script for compiling haml from serve into html. | |
| # to use, run "sudo compile.rb *.haml" | |
| # puts all the compiled files into /html | |
| ARGV.each do |url| | |
| url = url.split('.').first | |
| `curl http://localhost:4000/#{url} > ./html/#{url}.html` | |
| end |
| Day job: Chief Engineer at Bot & Rose Design | |
| Your Rails contributions (if any): Some documentation, bug reports | |
| What's your Ruby/Rail experience?: Since Rails 0.14, so about 6 years | |
| How do you use GitHub?: Home for my open source libraries, and first stop for finding new code |
See https://www.youtube.com/watch?v=4_RJu_TrqO0&feature=youtu.be&t=8h6m40s
$ ruby dilute.rb fib.rb
def fi n
if n < 3
1
else
fib(n-1 + ib(n
end
| module Slider where | |
| import Html exposing (..) | |
| import Html.Attributes exposing (class, style) | |
| import Mouse | |
| import Signal | |
| -- MODEL |