Skip to content

Instantly share code, notes, and snippets.

View nqthqn's full-sized avatar
🍐
pear programming

Nate nqthqn

🍐
pear programming
View GitHub Profile
@nqthqn
nqthqn / anti-snot.css
Created December 25, 2017 17:16
Remove yellow autofill from webkit form inputs
input:-webkit-autofill {
-webkit-box-shadow: inset 0 0 0px 9999px white;
}
@nqthqn
nqthqn / music.md
Created September 26, 2017 16:44
music
El Ten Eleven
Helios
Tortoise
The Octopus Project
Astronauts etc.
Stars Of The Lid
Elskavon
Solar Fields
Kye Kye
@nqthqn
nqthqn / Login.elm
Created September 14, 2017 04:22
routing issue
module Page.Login exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import Route
import Time exposing (Time)
-- Model
@nqthqn
nqthqn / design.md
Created September 6, 2017 15:45
ui tips
text-shadow: 0 1px 2px rgba(0,0,0,0.20);

try, button hover state: 1px shift up with the increased drop shadow spread

@nqthqn
nqthqn / pythontolearn.md
Last active September 4, 2017 16:44
python to learn
  • os, sys, and argparse
  • re
  • json, csv, and pprint
  • datetime and time
  • math, statistics, and random
@nqthqn
nqthqn / Port.elm
Last active April 11, 2018 21:12
File upload in elm
port upload : ( String, String, String ) -> Cmd msg
port status : (String -> msg) -> Sub msg
@nqthqn
nqthqn / Ports.elm
Created August 30, 2017 19:28
Porting to Js
port module Ports exposing (..)
import Json.Encode
type alias Key =
String
type alias Value =
@nqthqn
nqthqn / plugins.md
Created August 22, 2017 23:42
Elm Plugins for vscode
@nqthqn
nqthqn / Foo.elm
Created July 17, 2017 23:16
message wrapping
module Foo exposing (..)
type Msg
= Uno
| Dos
| Tres
update msg foo =
@nqthqn
nqthqn / Main.elm
Last active August 29, 2017 23:57
beginnerProgram boilerplate
module Main exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
type alias Model = Int
type Msg = NoOp