Skip to content

Instantly share code, notes, and snippets.

Amitai Burstein amitaibu

Block or report user

Report or block amitaibu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Main.elm
module Main exposing (..)
type alias Rocket =
{}
type alias Point =
{ x : Int, y : Int }
@amitaibu
amitaibu / Main.elm
Created May 15, 2017 — forked from anonymous/Main.elm
contacts page
View Main.elm
module Main exposing (..)
import Html exposing (Html, div, li, text, ul)
import Json.Decode as Json exposing (Decoder, andThen, at, fail, int, list, map, nullable, string, succeed)
import Json.Decode.Pipeline exposing (custom, decode, hardcoded, optional, required)
import String exposing (join)
main : Html a
main =
@amitaibu
amitaibu / Main.elm
Created May 14, 2017 — forked from anonymous/Main.elm
contacts page
View Main.elm
module Main exposing (..)
import Html exposing (Html, div, li, text, ul)
main : Html a
main =
div []
[ div [] [ text <| "Showing contacts for language " ++ toString model.language ]
, viewContacts model.language model.contacts
View gist:3e3583b108ee3101bedb87d2037c8220
type alias WrappedItemKeyedbyUUids = Dict UUID (WebData Item)
type alias WrappedItems = Dict ItemId (WebData Item)
type alias Item
View test.elm
type alias Item =
{
label : String
image : String
startingPrice : WebData Int
}
items : Dict ItemId (WebData Item)
View gist:a86e75496af7be366274497cc162c4b3
$output = $handler->post('', $request);
$bid = entity_load('bid', $output[0]['id'], TRUE);
$this->assertEqual($bid->amount, 200);
View gist:1daf2420ef5e2abfbe710374ee97df5d
type Vocab
= VocabMen String
| VocabWomen
type alias VocabMen =
{ name : string
}
type alias VocabWomen =
{ name : string
You can’t perform that action at this time.