Skip to content

Instantly share code, notes, and snippets.

@jiahut
Last active July 16, 2019 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jiahut/75fb165fcbe9f4cd1315c896983fd235 to your computer and use it in GitHub Desktop.
Save jiahut/75fb165fcbe9f4cd1315c896983fd235 to your computer and use it in GitHub Desktop.

generate uuid

cat /proc/sys/kernel/random/uuid

https://coderwall.com/p/t_sz3q/generate-uuid-at-shell-prompt

uuidgen

alias uuid="python -c 'import sys,uuid; sys.stdout.write(uuid.uuid4().hex)' | pbcopy && pbpaste && echo"

alias uuid="python -c 'import sys,uuid; sys.stdout.write(uuid.uuid4().hex)' | pbcopy && pbpaste && echo"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment