voidfuchsia.com

  • photography
  • code
Home › code

Precursor - simple functions/scripts to grab random numbers from Random.org

voidfuchsia — Sun, 02/08/2009 - 16:34

Precursor is just a set of scripts and functions I use to grab random numbers from Random.org for use in other scripts.

I use it to create a central repository of true random numbers, but feel free to find alternate uses for it.

'lib' contains functions.pl, which has the two functions that grab random numbers, and Random.org's quota for your ip.

'bin' contains getrandom.pl, which gets a random number of random numbers and organizes it into a single line, as well as 'InterpretRandomness.pl' which is just a demo script for interpreting a multiple-line random number logfile.

'winservices' contains two batch files - one which runs the script to grab random numbers, and another which copies the log of random numbers from var/log to var/cache for instances when one of my scripts may be using the logfile at the same time that I am retrieving new numbers.

AttachmentSize
precursor.zip4.13 KB
‹ CLShell.pl - A simple perl craigslist search tool up
  • Login or register to post comments

Navigation

  • Recent posts

User login

  • Create new account
  • Request new password

  • photography
  • code