index 日本語

Internet of Tomohiro

If you found my articles interesting or useful, please donate using following links:

About Google Colaboratory

It is like online compiler for Python language. You write python code, run it and get output.

For more info:

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:

How to enable GPU

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                                                 |

Enable Vim key bind plugin

Autovim Chrome plugin enable vim mode in Google colaboratory.

How to access Google Colaboratory using ssh

You can use real Vim/Neovim!

How to run OpenGL desktop programs on Google Colaboratory

by Tomohiro