how to run matab inside colab code example
Example 1: how to run colab in background
# ctrl + shift + i
# then in the console tab write this:
(setInterval(function(){ console.log("Connect pushed"); document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click(); },60000))
Example 2: how to run colab locally
jupyter notebook \
--NotebookApp.allow_origin='https://colab.research.google.com' \
--port=8888 \
--NotebookApp.port_retries=0