Simple and safe random getters to copy-paste
string randomBytes( int $length )
int randomInt ( int $min , int $max )
string randomUuid ( void )| #! /usr/bin/env bash | |
| ### | |
| # | |
| # install_mysql.sh | |
| # | |
| # This script assumes your Vagrantfile has been configured to map the root of | |
| # your application to /vagrant and that your web root is the "public" folder | |
| # (Laravel standard). Standard and error output is sent to | |
| # /vagrant/vm_build.log during provisioning. |
| # snippet is placed into public domain by | |
| # anatoly techtonik <techtonik@gmail.com> | |
| # http://stackoverflow.com/questions/8151300/ignore-case-in-glob-on-linux | |
| import fnmatch | |
| import os | |
| import re | |
| def findfiles(which, where='.'): |