aboutsummaryrefslogtreecommitdiff
path: root/scripts/create-rooms.sh
blob: 76b47bb2782bb3f397a03013a26251f0aa4badba (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
set -o nounset -o pipefail -o errexit

for ((r=1; r <= 20; r++)); do
    echo $r
    curl 'https://uplcg.jaspervdj.be/rooms' \
        -H 'Content-Type: application/x-www-form-urlencoded' \
        --data-raw "id=room$(printf "%02d" "$r")&password=&deck=icfp2020"
done