Internet of Tomohiro
If you found my articles interesting or useful, please donate using following links:
It is like online compiler for Python language. You write python code, run it and get output.
For more info:
https://research.google.com/colaboratory/faq.html
Any input line beginning with a ! is executed as Bash command. For example, !ls displays a content of a current directory. Because this command is also executed as root user, you don't need to use su or sudo commands. When you accidentally broke important files, you can reset virtual machine and restore storage.
For more info:
https://ipython.readthedocs.io/en/stable/interactive/reference.html#system-shell-access https://ipython.readthedocs.io/en/stable/interactive/shell.html
On menu, "Runtime" -> "Change runtime type" -> Set "Hardware accelerator" to GPU. If GPU was available, !nvidia-smi command print following message:
+-----------------------------------------------------------------------------+ | NVIDIA-SMI 418.67 Driver Version: 410.79 CUDA Version: 10.0 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 Tesla T4 Off | 00000000:00:04.0 Off | 0 | | N/A 64C P8 17W / 70W | 0MiB / 15079MiB | 0% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+
Autovim Chrome plugin enable vim mode in Google colaboratory.
https://chrome.google.com/webstore/detail/autovim/licohjbphilmljmjonhiifkldfahnmja?authUser=0&hl=en-US https://github.com/thomcom/autovim
How to access Google Colaboratory using ssh
You can use real Vim/Neovim!
How to run OpenGL desktop programs on Google Colaboratory
by Tomohiro