Skip to content

Instantly share code, notes, and snippets.

@wlaurance
Created October 10, 2014 00:57
Show Gist options
  • Save wlaurance/1f8f3855a37c90751b60 to your computer and use it in GitHub Desktop.
Save wlaurance/1f8f3855a37c90751b60 to your computer and use it in GitHub Desktop.
#!/bin/bash
URL="https://quill-writer.firebaseapp.com/#/"
PROMPTS="1 2 3 4 5"
USERS="1 2"
newRandomThing()
{
echo "`od -vAn -N4 -tu4 < /dev/urandom | md5`"
}
for p in $PROMPTS;
do
echo "URLS for Prompt $p"
SESSION=`newRandomThing`
for u in $USERS;
do
USER=`newRandomThing`
echo "$URL?uid=$USER&sid=$SESSION&activityPrompt=$p"
done
echo "========================"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment