Last active
September 13, 2019 10:04
-
-
Save TjeuKayim/f619aefa78f7eff4c3bb0b1ce9a88810 to your computer and use it in GitHub Desktop.
random base64 chars
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
#!/bin/bash | |
# random base64 chars | |
python3 -c "import base64; import os; print(base64.urlsafe_b64encode(os.urandom(999)))" | |
# current time formatted like 2019-09-13T12:03:04.459360+02:00 | |
python3 -c 'import datetime;print(datetime.datetime.now().astimezone().isoformat())' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment