Skip to content

Instantly share code, notes, and snippets.

View kitofr's full-sized avatar

Kristoffer Roupé kitofr

  • Stockholm, Sweden
View GitHub Profile
@kitofr
kitofr / Main.elm
Last active September 7, 2017 09:27 — forked from anonymous/Main.elm
ELM Date and time pickers > https://ellie-app.com/4b3Mgc3dyQGa1/0
module Main exposing (..)
import Html exposing (Html, text, input, div, button, br)
import Html.Attributes as Attr exposing (type_, step, value)
import Html.Events exposing (onInput, onClick)
import Date exposing (Date)
import Task
dateInput : List (Html.Attribute msg) -> List (Html msg) -> Html msg
@kitofr
kitofr / scout-chipher.rb
Created November 19, 2019 20:39
A ruby implementation of the scout chipher
# | S | C | O | U | T |
# s | A | B | C | D | E |
# c | F | G | H | I | J |
# o | K | L | M | N | O |
# u | P | R | S | T | U |
# t | V | Y | Å | Ä | Ö |
def alphabet
{
'A': 'Ss', 'B': 'Cs', 'C': 'Os', 'D': 'Us', 'E': 'Ts',