Did you ever need a random integer in bash, /dev/urandom is just tantalizingly there but it's full bytes, and every easy bash snippet with modulo gives a biased distribution? Here's a bash function that only needs GNU userland (bash, bc, head, xxd)https://gist.github.com/analogist/c0e6c478f9f053e21c944cd761248451 …
0 replies
0 retweets
4 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.