- Installer Tape (cf ressources et Google)
- JS ES6
- Html & CSS
| max="$1" | |
| date | |
| echo "url: $2 | |
| rate: $max calls / second" | |
| START=$(date +%s); | |
| get () { | |
| curl -s -o /dev/null -w %{http_code} --max-time 3 "$1" 2>&1 | tr '\r\n' '\\n' | awk -v date="$(date +'%r')" '{print $0"\n-----", date}' >> /tmp/perf-test.log | |
| } |
| # encoding: UTF-8 | |
| defmodule Score do | |
| @missed "-" | |
| @spare "/" | |
| @strike "X" | |
| def total(rolls) when is_bitstring(rolls) do | |
| rolls |> String.codepoints |> total |