- Log in to dayone.me
- Log in to dayone.me with apple auth
- Forgot password?
- Create account
- Link Apple ID
- Unlink Apple ID
- Change Password
- Change Email Address
- Add email address (apple only accounts)
This file contains 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
/* Prom is a library that provides | |
<$> (map) | |
and | |
>>= (bind, or flatMap) | |
for promises. | |
*/ | |
open Prom; | |
/* | |
A Handler is a more functional and type-safe way of dealing with composable "middleware" in the express chain. |
This file contains 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 queryBuilder; | |
type t = (. string) => queryBuilder; | |
type querySql('options) = { | |
. | |
"method": string, | |
"options": 'options, | |
"bindings": array(string), | |
"sql": string, |
This file contains 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
Verifying my Blockstack ID is secured with the address 18Fj9tXaLucYW57miX6oteLJaN8AHcgDkq https://explorer.blockstack.org/address/18Fj9tXaLucYW57miX6oteLJaN8AHcgDkq |
This file contains 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 Model.Lenses exposing (..) | |
-- other imports omitted | |
import Monocle.Optional as MO | |
import RemoteData | |
entryInList : String -> MO.Optional (List Entry) Entry | |
entryInList id = | |
{ getOption = List.Extra.find (\entry -> entry.id == id) |
Theme:
- UI Theme : https://atom.io/themes/atom-material-ui
- Color Scheme : https://atom.io/themes/one-light-syntax
Plugins:
- Format : https://atom.io/packages/elm-format
- Elm Language : https://atom.io/packages/language-elm
- Elmjutsu : https://atom.io/packages/elmjutsu
This file contains 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.Attributes exposing (..) | |
import Html.Events exposing (..) | |
import Html.App exposing (beginnerProgram) | |
type alias Model = | |
{ showSelect : Bool | |
, selectVal : Maybe String |
This file contains 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 (text) | |
import Json.Decode exposing (Decoder, decodeString, list, int) | |
-- Define a "recipe" (decoder) | |
-- Execute the recipe (decoder) | |
-- Result x a = Err x | Ok a | |
num = "4" | |
nums = "[1,3,5,6,7]" |
This file contains 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
# Requires siver-searcher to be installed | |
FILES=$(ag "<search term here, can be regex>" -l --js) | |
for i in $FILES; do | |
echo -e "<stuff to prepend here>\n$(cat $i)" > $i | |
done |
This file contains 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 Inversions (countInversions, mergeAndCount) where | |
import List.Extra exposing (splitAt) | |
import List exposing (length, sort, foldl, concat, head) | |
import Maybe.Extra exposing (isNothing, map2) | |
mergeAndCount : List Int -> List Int -> ( List Int, Int ) | |
mergeAndCount left right = | |
let |