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
#!/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 |
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) | |
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 -} |