aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJasper Van der Jeugt2020-08-25 12:45:57 +0200
committerJasper Van der Jeugt2020-08-25 12:45:57 +0200
commita3442974e9adb0eb95882a31aba1e3566426138c (patch)
treef2fead7fe45a6755ee345f5a60cc58c55a90ddf4 /scripts
parenta01ebb0da388dba35a230e5fd34593e197cdfc70 (diff)
Last minute scripts/create-rooms.sh changes
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