Post
Topic
Board Off-topic
Topic OP
randomly open random threads
by
reipay
on 24/03/2013, 11:06:53 UTC
Just for fun, a bash script that randomly opens your browser with a random thread of this forum at a random time:
Code:
#!/bin/bash
#Edit this for setting the correct browser:
browser=chromium-browser
while sleep $(($RANDOM/100))
do $browser https://bitcointalk.org/index.php?topic=$RANDOM
done
This should work nicely at any environment where $RANDOM returns a random number with a length from three to five. So I think it should work at any POSIX-compliant system if it has bash installed.