[colug-432] Random Generator
george.g.larson at gmail.com
Sun May 25 21:57:52 EDT 2014
On Sun, May 25, 2014 at 9:50 PM, George Larson <george.g.larson at gmail.com>wrote:
> curl -s
Oh, sorry. If it can't be more than 20 chars then:
curl -s '
| head -$(( (RANDOM % 25)+1 )) | tail -1
We're using 'random.org' which uses atmospheric noise to do randomness. We
grab more lines than needed (i.e., 25) then we list the first X
(pseudorandom from shell) and then take the last one of those.
Basically, it's what I described here: [
-= c0d3 :: j0rg3 - all code, no cruft <http://j0rg3.com> =-
- send me a private message <https://keybase.io/j0rg3> -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the colug-432