Skip to content

Instantly share code, notes, and snippets.

View ryan-senn's full-sized avatar

ryan senn ryan-senn

View GitHub Profile
@ryan-senn
ryan-senn / White Card course.md
Last active May 20, 2020 04:14
White Card course

Keybase proof

I hereby claim:

  • I am ryan-senn on github.
  • I am ryansenn (https://keybase.io/ryansenn) on keybase.
  • I have a public key whose fingerprint is EF28 259C 6074 8BAC 5F41 4FD9 7365 2C00 A7A0 AFD5

To claim this, I am signing this object:

049eb28abfdbfea6e99b57b2bd82912e3f0d0826b2336cad7d6607c4981931c9a0b4364f39e46eca2cda753cd815eef8347fd8da3c86fd84eaa926e5f7bcf7e585
@ryan-senn
ryan-senn / Styles.elm
Created November 1, 2017 06:58
CSS calc function
module Modules.TrainingPlan.Styles exposing (..)
import Styled exposing (..)
import Styled.Html exposing (..)
import Styled.Selectors
import Styled.Types exposing (..)
import Styles.Component exposing (Component)
import Styles.Modal
@ryan-senn
ryan-senn / ArrayTest.elm
Created July 6, 2017 01:09
array tests
module Helpers.ArrayTest exposing (suite)
import Test exposing (..)
import Expect exposing (Expectation)
import Array exposing (Array)
import Helpers.Array
@ryan-senn
ryan-senn / Array.elm
Last active July 5, 2017 05:16
Testing Array Helper
module Helpers.Array exposing (IndexError (..), getIndex)
import Array exposing (Array)
type IndexError
= NotFound
| NotUnique
module Decoders exposing (..)
import Json.Decode exposing (Decoder, list, dict, string, int, nullable, andThen, succeed, fail)
import Json.Decode.Pipeline exposing (decode, required)
import Json.Decode.Extra exposing (date)
import Dict exposing (Dict)
import Types exposing
( Data
@ryan-senn
ryan-senn / LoginMsg.elm
Last active December 31, 2019 13:21
Update nesting
module Modules.Auth.Login.Msg exposing (..)
import Http exposing (Error)
import Types exposing (User)
type LoginMsg
= LoginUpdateEmail String
| LoginUpdatePassword String
module Authentication.Login exposing (..)
import Html exposing (..)
import Html.Events exposing (..)
import Html.Attributes exposing (..)
import Authentication.Msg exposing (Msg)
import Common.LoadingButton exposing (loadingButton)
module Common.LoadingButton exposing (loadingButton)
import Html exposing (Html, button, span, text)
import Html.Events exposing (onClick)
import Html.Attributes exposing (classList)
import Msg exposing (Msg)
loadingButton : String -> String -> Bool -> Msg.Msg -> Html Msg.Msg