Google Colab is convenient but they shutdown after some inactivity. This is annoying if you are running some persistent process, like a server. So, how do we make them run for a while? I discovered this trick from oobabooba. First, paste the following code in a cell:...

read more