Bitcoin Forum
May 04, 2024, 12:20:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: randomly open random threads  (Read 419 times)
reipay (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0



View Profile
March 24, 2013, 11:06:53 AM
 #1

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!