Skip to content

Instantly share code, notes, and snippets.

View nicklawls's full-sized avatar

Nick Lawler nicklawls

  • ExtraHop
  • Somerville, MA
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

PornShack
Browsing*
choose porn -> Wanking
Wanking
mom comes in -> BlueBalls
wank -> R U Cumming Bby?
Edging
R U Cumming Bby?
almost -> Wanking
so close -> Edging
@nicklawls
nicklawls / Main.elm
Created December 28, 2017 05:55
Deferred view
module Main exposing (..)
import Dashboard exposing (Fruit)
import Dialog
import Html exposing (..)
import Html.Attributes exposing (class)
import Html.Events exposing (onClick)
import OrderFruit
@nicklawls
nicklawls / Dashboard.elm
Created December 28, 2017 05:50
Deferred view
module Dashboard exposing (Model, State, Msg, init, update, view, Fruit)
import Html exposing (Html)
type alias State =
{ fruits : List Fruit
, selectedFruit : Maybe String
}
@nicklawls
nicklawls / Dashboard.elm
Created December 27, 2017 02:55
Exposed Guts
module Dashboard exposing (Model, Msg(..), init, update, Fruit)
type alias Model =
{ fruits : List Fruit
, selectedFruit : Maybe String
}
type alias Fruit =
@nicklawls
nicklawls / Main.elm
Created December 27, 2017 02:52
Before adding messages
module Main exposing (..)
import Dashboard exposing (Modal(..))
import Html exposing (..)
import Html.Attributes exposing (class)
import OrderFruit
main : Program Never Model Msg
main =
@nicklawls
nicklawls / Dashboard.elm
Created December 27, 2017 02:51
After adding modal
module Dashboard exposing (Model, Msg, init, update, view, Modal, viewModal, Modal(..))
import Dialog
import Html exposing (..)
import Html.Attributes exposing (class, type_, value)
import Html.Events exposing (onClick, onInput)
type alias Model =
{ fruits : List Fruit
@nicklawls
nicklawls / Main.elm
Created December 27, 2017 02:39
"Vanilla" Main.elm
module Main exposing (..)
import Dashboard exposing (Modal(..))
import Html exposing (..)
import Html.Attributes exposing (class)
import OrderFruit
main : Program Never Model Msg
main =
@nicklawls
nicklawls / Dashboard.elm
Last active December 27, 2017 02:37
Vanilla TEA "component" style
module Dashboard exposing (Model, Msg, init, update, view, Modal, viewModal, Modal(..))
import Dialog
import Html exposing (..)
import Html.Attributes exposing (class, type_, value)
import Html.Events exposing (onClick, onInput)
type alias Model =
{ fruits : List Fruit
@nicklawls
nicklawls / Dashboard.elm
Last active December 4, 2017 17:09
Regular TEA style elm application
module Pages.Dashboard exposing (Model, Msg, init, update, view)