Skip to content

Instantly share code, notes, and snippets.

import Html exposing (text)
output = text << Debug.toString
{- this is the simple mean of the list of numbers given in l -}
{- you will want to browse the documentation at -}
{- https://package.elm-lang.org/packages/elm/core/latest/List -}
average : List Float -> Float
average l = 9999999.0
{- this is the L2 norm of the vector represented by l -}
#!/bin/bash
set -e
set -o pipefail
# rm -rf /workspace/home/dev
# apt update && apt -y install fish sudo curl && mkdir -p /workspace/home && useradd -d /workspace/home/dev -s /usr/bin/fish -G sudo -m dev && passwd dev
# sudo su - dev
# curl U -sSf | bash -s
sudo apt update
sudo apt install -y software-properties-common