Skip to content

Instantly share code, notes, and snippets.

@QIN2DIM
Last active June 26, 2023 02:49
Show Gist options
  • Select an option

  • Save QIN2DIM/60655825baf2dea880b6a8b05cb8dffa to your computer and use it in GitHub Desktop.

Select an option

Save QIN2DIM/60655825baf2dea880b6a8b05cb8dffa to your computer and use it in GitHub Desktop.
Install tuic-serve on Ubuntu

Download tuic-server on Ubuntu

SSL by Certbot

from uuid import uuid4
import secrets
print(f"secrets={secrets.token_hex()[:16]}")
print(f"UUID={uuid4()}")
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