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
| console.log("foo"); |
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
| #Add an alias for your build commands for example: | |
| alias make='notify make' | |
| alias mvn='notify mvn' |
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
| #Add an alias for your build commands for example: | |
| alias make='notify make' | |
| alias mvn='notify mvn' |
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
| import Array | |
| import Debug | |
| import Random | |
| import Matrix | |
| planetNames : Array.Array String | |
| planetNames = Array.fromList [ | |
| "Terra", | |
| "Vulcan", | |
| "Omicron Persei 8", |
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
| import Html exposing (..) | |
| import Html.Events exposing (onClick) | |
| import Http | |
| import Json.Decode as Json exposing((:=)) | |
| import StartApp.Simple as StartApp | |
| type alias Model = | |
| { name : String | |
| , amount : Int |
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
| public class Comment { | |
| private final String author; | |
| private final String body; | |
| public Comment(String author, String body) { | |
| this.author = author; | |
| this.body = body; | |
| } |
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
| { "_id" : "7183414623122970455", "name" : "Bob", "items" : [ { "id" : 29 }, {"id" : 37 } ], "itemCount" : 2 } | |
| { "_id" : "-1843045741878739623", "name" : "Jim", "items" : [ { "id" : 93 }, { "id" : 51 }, { "id" : 42 }, { "id" : 11 } ], "itemCount" : 4 } | |
| ... |
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
| import Html exposing (div, button, text) | |
| import Html.Events exposing (onClick) | |
| import StartApp.Simple as StartApp | |
| import Random exposing (Seed) | |
| type alias Model = { seed : Seed, values : List Int } | |
| initialModel : Model | |
| initialModel = | |
| { seed = (Random.initialSeed 0), |
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
| module InitialValues where | |
| import Graphics.Element exposing (..) | |
| port timestamp : Int | |
| main = | |
| show ("Hello" ++ (toString (timestamp + 2))) |
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 alias Answer = | |
| { name : String, | |
| imgUrl : String | |
| } | |
| decodeAnswers : Json.Decoder (List Answer) | |
| decodeAnswers = | |
| let | |
| imageUrlDecoder = ("url" := Json.string) |
OlderNewer