Colab, Ngrok,VSC, Google drive, Step by Step
Part 1: Colab+Ngrok+VSCode+Google Drive
This is what I am setting for my development:
Use browser ONLY to:
- 1) coding via Vscode,
- 2) save via Google drive,
- 3) version control via GitHub,
- 4) train ML model via colab
In part 2, I will do:
- Use Hugging face to host my cervical segmental demo
- Jetson Xavier to run the inference.
Get a free Ngrok account/Authtoken:
Go to following Ngrok website and create a free account.
ngrok - secure introspectable tunnels to localhost
ngrok is the fastest way to put anything on the internet with a single command.
Copy following Authtoken…
Install / Run ngrok on Colab:
Get the the ipynb file from github…. https://github.com/paulxiong/ngrok_colab/blob/master/ngrok_vsc_colab.ipynb
Modify password(123456) if you wish:
Modify the token you just got above:
Run the whole ipynb file just downloaded from GitHub above.
This cell keep running, copy and paste the command line to your local pc, run it in your terminal:
ssh -L 9999:localhost:9999 email@example.com -p 17108
Then in your browser, you should be able to see the VSC like this: