Skip to content

Instantly share code, notes, and snippets.

@ozturkoktay
Last active September 5, 2020 19:49
Show Gist options
  • Save ozturkoktay/16ee2988574c74c41dbe922d6f29c9b2 to your computer and use it in GitHub Desktop.
Save ozturkoktay/16ee2988574c74c41dbe922d6f29c9b2 to your computer and use it in GitHub Desktop.
Wake up colab python notebook when training
/* Wake up colab python notebook when training */
function ClickConnect(){
console.log("Working");
document.querySelector("colab-toolbar-button").click()
}
setInterval(ClickConnect,60000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment