File size: 1,981 Bytes
4258d75 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"private_outputs": true,
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"source": [
" [![](https://img.shields.io/static/v1?message=Open%20in%20Colab&logo=googlecolab&labelColor=5c5c5c&color=0f80c1&label=%20&style=for-the-badge)](https://colab.research.google.com/github/DEX-1101/sd-webui-notebook/blob/main/zrok_sign_up.ipynb)"
],
"metadata": {
"id": "RTurZjG73A7D"
}
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"cellView": "form",
"id": "_Pe73QvVseK2"
},
"outputs": [],
"source": [
"# @title chris perry asu\n",
"# @markdown Run this cell to install zork and open up a terminal for sing up.\n",
"# @markdown - After the terminal appear, type `zrok invite` and press `Enter`.\n",
"# @markdown - Fill your email, and press submit, use `Tab` to navigate.\n",
"# @markdown - Open up your email and they will send your an email about registration link.\n",
"# @markdown - Just follow the instruction. Should be easy. right...\n",
"# @markdown - In the end you will get `zrok enable <your_token>`.\n",
"# @markdown - Back to you notebook and paste the `token` there and GG.\n",
"\n",
"from IPython.display import clear_output\n",
"!pip install colab-xterm\n",
"%load_ext colabxterm\n",
"\n",
"%cd /usr/bin\n",
"!curl -sLO https://github.com/openziti/zrok/releases/download/v0.4.23/zrok_0.4.23_linux_amd64.tar.gz\n",
"!tar -xzf zrok_0.4.23_linux_amd64.tar.gz && rm -rf zrok_0.4.23_linux_amd64.tar.gz\n",
"\n",
"clear_output()\n",
"%xterm"
]
}
]
}
|