Skip to content

Instantly share code, notes, and snippets.

View freakingawesome's full-sized avatar

Chad Gilbert freakingawesome

View GitHub Profile
import Html exposing (..)
import Html.App exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import Html.Attributes exposing (..)
import Http
import Task exposing (Task)
import Json.Decode as Json exposing ((:=))
type Msg
" Settings
set noautofocus
set cncpcompletion
set nosmoothscroll
set nohud
set autohidecursor
set typelinkhints
let scrollduration = 10
let searchlimit = 40

Keybase proof

I hereby claim:

  • I am freakingawesome on github.
  • I am freakingawesome (https://keybase.io/freakingawesome) on keybase.
  • I have a public key ASD6D3LL2YIHMoTgYePvQcQCSn0ngr3yjx4rGxEm0OxJ1wo

To claim this, I am signing this object:

import Html exposing (..)
import Html.Events exposing (..)
main : Program Never Model Msg
main =
Html.program
{ init = init
, view = view
, update = update
, subscriptions = \_ -> Sub.none
GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from C:\Users\CHAD~1.GIL\AppData\Local\Temp\ghci34580\ghci-script
Prelude> import Text.Parsec
Prelude Text.Parsec> import Text.Parsec.String
Prelude Text.Parsec Text.Parsec.String> :{
Prelude Text.Parsec Text.Parsec.String| parsePair :: Parser (String, String)
Prelude Text.Parsec Text.Parsec.String| parsePair = do
Prelude Text.Parsec Text.Parsec.String| a <- manyTill anyChar $ string "--"
Prelude Text.Parsec Text.Parsec.String| b <- many1 alphaNum
Prelude Text.Parsec Text.Parsec.String| pure (a, b)
type Record =
Record
InnerType
InnerType
InnerType
InnerType
InnerType
InnerType
InnerType
InnerType
@freakingawesome
freakingawesome / example.txt
Created March 30, 2017 15:18
so-43111085-repl-example.elm
> type Route = SettingsRoute (Maybe String) (Maybe String)
> parsePath (map SettingsRoute (s "blog" <?> stringParam "search" <?> stringParam "sortBy")) (Location "" "" "" "" "" "" "/blog" "?search=cats&sortBy=name" "" "" "")
Just (SettingsRoute (Just "cats") (Just "name")) : Maybe.Maybe Repl.Route
port module Spelling exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import String
main =
Html.program
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import Html.App exposing (program)
import Http
main =
program { init = init, view = view, update = update, subscriptions = \_ -> Sub.none }
type Msg
import Html exposing (text)
import Json.Decode as Json exposing (Decoder, (:=))
import Dict exposing (Dict)
type Player = Player Int PlayerContents
type alias PlayerContents =
{ name : String
, team : Team
}