Skip to content

Instantly share code, notes, and snippets.

@matthieuprat
Last active August 29, 2015 14:24
Show Gist options
  • Save matthieuprat/4a8e32c5f3bc24ef9c3b to your computer and use it in GitHub Desktop.
Save matthieuprat/4a8e32c5f3bc24ef9c3b to your computer and use it in GitHub Desktop.
Generate an alpha-numeric random token
#!/bin/sh
until openssl rand -base64 40 | grep -v '+\|/'; do :; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment