Skip to content

Instantly share code, notes, and snippets.

View botandrose's full-sized avatar

Micah Geisel botandrose

View GitHub Profile
@botandrose
botandrose / elm-slider.elm
Last active April 3, 2016 17:42 — forked from NickAger/elm-slider.elm
Understand how components work in Elm - An Elm version of https://jqueryui.com/slider/
module Slider where
import Html exposing (..)
import Html.Attributes exposing (class, style)
import Mouse
import Signal
-- MODEL
@botandrose
botandrose / README.md
Last active August 29, 2015 14:10 — forked from radarek/README.md
@botandrose
botandrose / Questions
Created August 8, 2011 20:52
Frozen Rails Give-away
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
#!/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