Last active
August 29, 2015 13:57
-
-
Save eculver/9534167 to your computer and use it in GitHub Desktop.
One-liner to get a random character string for use in fixtures or mocking.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias randhash='python -c "import md5; from datetime import datetime; print md5.new(datetime.now().strftime(\"%s\")).hexdigest()"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment