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
| type Msg | |
| = Select Int | |
| | Fetch (Result Http.Error WordListWithIndex) | |
| | SplitWord Int Int | |
| | SubMsg WordDetail.Msg | |
| viewInitialSearch : InitialSearch -> Html Msg | |
| viewInitialSearch initialSearch = | |
| let |
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 | |
| brew install elm | |
| brew install Caskroom/cask/atom | |
| apm install linter | |
| apm install language-elm | |
| apm install linter-elm-make | |
| git clone https://github.com/charliebevis/elm-architecture-tutorial.git | |
| cd elm-architecture-tutorial/ |
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
| require 'rubygems' | |
| require 'mechanize' | |
| FIRST_NAME = 'FIRST_NAME' | |
| LAST_NAME = 'LAST_NAME' | |
| PHONE = 'PHONE' | |
| EMAIL = '[email protected]' | |
| PARTY_SIZE = 2 | |
| SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' } |
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
| require 'net/http' | |
| require 'open-uri' | |
| uri = URI('http://kfai.org/jet-set-planet') | |
| body = Net::HTTP.get(uri) | |
| body.scan(/https?:\/\/[\S]+.mp3/).each do |link| | |
| filename = link.match(/([^\/]+$)/) |