This file contains 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
@mixin keyframe($animation_name) { | |
@-webkit-keyframes $animation_name { @content } | |
@-moz-keyframes $animation_name { @content } | |
@-o-keyframes $animation_name { @content } | |
@keyframes $animation_name { @content } | |
} |
This file contains 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
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut sit amet arcu mauris, a sodales purus. Quisque id tortor orci. Cras scelerisque, leo vitae tempor bibendum, nisi dui dapibus lectus, vitae eleifend magna dolor a erat. Nulla facilisi. Pellentesque odio diam, dictum ac placerat eget, auctor id tellus. Aliquam non pretium justo. Vivamus massa mi, mollis ut sollicitudin imperdiet, euismod ac sapien. Praesent fringilla molestie enim id porta. Ut nec turpis ligula. Integer sit amet consequat elit. Aenean interdum, nunc id sodales hendrerit, velit augue feugiat elit, non facilisis lacus massa quis libero. Aliquam purus erat, tincidunt sit amet ullamcorper quis, ultricies nec eros. Vestibulum sed nisl sed tellus malesuada lacinia. Ut feugiat augue ut urna posuere eu eleifend sem ultricies. | |
In at tincidunt ipsum. Fusce dolor arcu, gravida ac vulputate in, consequat ut velit. Nam blandit hendrerit ligula, a varius felis condimentum vitae. In id lacinia lacus. Proin sed mauris lacus. Pellentesque magna est, f |
This file contains 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
.index a:link { | |
text-decoration: none; | |
color: #3f3e3d; | |
position: relative; | |
z-index: 1; | |
} | |
.index li:before { | |
content: counter(li, decimal-leading-zero) '. '; | |
counter-increment: li; |
This file contains 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
left = Bacon.fromEventTarget(document, 'keyup').map('.keyCode').filter((x) -> x is 37).map [-1,0] | |
up = Bacon.fromEventTarget(document, 'keyup').map('.keyCode').filter((x) -> x is 38).map [0,1] | |
right = Bacon.fromEventTarget(document, 'keyup').map('.keyCode').filter((x) -> x is 39).map [1,0] | |
down = Bacon.fromEventTarget(document, 'keyup').map('.keyCode').filter((x) -> x is 40).map [0,-1] | |
keys = Bacon.mergeAll(up,down,left,right).log() |
This file contains 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
module Main where | |
import Graphics.Element exposing (show) | |
import Json.Decode as Json exposing (decodeString, list, int, oneOf, string, (:=), object5, maybe, succeed) | |
type alias ID = Int | |
type alias Model = | |
{ entries : List Entry | |
, nextID : ID | |
} |
This file contains 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
module Main where | |
import Graphics.Element exposing (show) | |
import Json.Decode as Json exposing (decodeString, list, int, oneOf, string, (:=), object5, succeed) | |
type alias ID = Int | |
type alias Entry = | |
{ name : String | |
, birth : Int | |
, death : Int |
This file contains 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
(=>) = (,) | |
update : Msg -> Model -> (Model, Cmd Msg) | |
update msg model = | |
case msg of | |
NoOp | |
-> model | |
=> Cmd.none | |
Init res |
This file contains 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
import Html exposing (Html) | |
import Html.App as Html | |
import Html.Attributes as Attr | |
import WebGL exposing (..) | |
import AnimationFrame exposing (..) | |
import Basics.Extra exposing (never) | |
import List.Extra exposing (andThen) | |
import Time | |
import Window | |
import Mouse |
This file contains 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
import Html exposing (Html) | |
import Html.App as Html | |
import Html.Attributes as Attr | |
import WebGL exposing (..) | |
import AnimationFrame exposing (..) | |
import Basics.Extra exposing (never) | |
import List.Extra exposing (andThen) | |
import List exposing (concat) | |
import Time | |
import Window |
This file contains 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
Running "amberc:all" (amberc) task | |
Warning: amber_dir needs to be a valid directory Use --force to continue. | |
Aborted due to warnings. | |
grunt exec error: | |
3 | |
bstro:amber-scratch bstro$ npm -g list | |
/Users/bstro/n/lib | |
├─┬ amber-cli@0.15.0 | |
│ ├── amber@0.15.1 |