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

ROOMS=(
    monoidalmu
    loopinglambda
    phantomphi
    pointfreepsi
    typedtheta
    differentialdelta
    covariantkappa
    bifunctorialbeta
    existentialeta
    universalupsilon
)

for r in ${ROOMS[@]}; do
     curl -i 'https://uplcg.jaspervdj.be/rooms' \
         -H 'Content-Type: application/x-www-form-urlencoded' \
         --data-raw "id=$r&password=&deck=munihac2020"
done