- 300000ms = 5 minute session duration (durSession)
- You can derive these or I'll get you the data:
description = I will get these from Sonja
fixImagePath = "" or "img/x.png"
name = "Stop Signal"
slug = "stopsignal"
icon = "stopsignal.png
| module Foo exposing (..) | |
| type Msg | |
| = Uno | |
| | Dos | |
| | Tres | |
| update msg foo = |
| module Main exposing (..) | |
| import Html exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Html.Events exposing (..) | |
| type alias Model = Int | |
| type Msg = NoOp |
| -- UNBOUND TYPE VARIABLES ---------------------------------------- Messaging.elm | |
| Type `Msg` must declare its use of type variable a | |
| 12|>type Msg | |
| 13|> = MessagesResp (WebData a) | |
| You probably need to change the declaration like this: | |
| type Msg a = ... |
| # cat ~/.ssh/id_rsa.pub | ssh root@$1 'cat >> .ssh/authorized_keys' | |
| # ssh-copy-id root@$1 | |
| ssh root@$1 'curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | |
| cat ~/.vimrc | ssh root@$1 'cat > .vimrc' | |
| cat ~/.tmux.conf | ssh root@$1 'cat > .tmux.conf' |
Recreate the rainbow: http://codepen.io/terabaud/pen/GWvJem
c = a.getContext("2d")
w = a.width = (innerWidth/30)|0
h = a.height = (innerHeight/30)|0
z = 0
function L(t){
with(Math)
for(y0=h;y0--;)
| module Decoder exposing (..) | |
| import Json.Decode exposing (Decoder, string, int, float, dict, list, bool, map, value, decodeValue, decodeString) | |
| import Json.Decode.Pipeline exposing (decode, required, optional, hardcoded) | |
| maybe : String -> Decoder a -> Decoder (Maybe a -> b) -> Decoder b | |
| maybe name decoder = | |
| optional name (map Just decoder) Nothing |
| # This is a small program for sweet pea. Lala, I love you a lot. | |
| secret = ['o', 'y', ' ', 'u', 'r', 'a', ' ', 'e', 'y', 'm', 'd', ' ', 'r', 'a', 'e', 'j', 'l', 'e', 'n', 'i'] | |
| kiss = "" | |
| for love in range(len(secret)): | |
| if love % 2: | |
| kiss += secret[love] | |
| kiss += secret[love-1] |
npm install -g elm)elm-repl on the command lineThank the creator of Elm and BDFL, Evan Czaplicki.
I would highly recommend reading the guide and writing elm code before watching any videos.