Last active
June 26, 2023 02:49
-
-
Save QIN2DIM/60655825baf2dea880b6a8b05cb8dffa to your computer and use it in GitHub Desktop.
Install tuic-serve on Ubuntu
This file contains hidden or 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
| {} |
This file contains hidden or 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
| {} |
This file contains hidden or 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
| from uuid import uuid4 | |
| import secrets | |
| print(f"secrets={secrets.token_hex()[:16]}") | |
| print(f"UUID={uuid4()}") |
This file contains hidden or 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
| python3 -c "from uuid import uuid4;print(uuid4())" | |
| python3 -c "import secrets;print(secrets.token_hex()[:16])" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment