aboutsummaryrefslogtreecommitdiff
path: root/scripts/create-rooms.sh
blob: a9e39233847f176a1a0795f64a0a30dafad4fedd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
set -o nounset -o pipefail -o errexit

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

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