aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/create-rooms.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/create-rooms.sh b/scripts/create-rooms.sh
index 76b47bb..a9e3923 100644
--- a/scripts/create-rooms.sh
+++ b/scripts/create-rooms.sh
@@ -1,9 +1,16 @@
#!/usr/bin/env bash
set -o nounset -o pipefail -o errexit
-for ((r=1; r <= 20; r++)); do
+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=room$(printf "%02d" "$r")&password=&deck=icfp2020"
+ --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