Skip to content

Instantly share code, notes, and snippets.

@gbraad
Last active October 27, 2021 06:57
Show Gist options
  • Save gbraad/1fc6f4183f544f825e56129bc399a078 to your computer and use it in GitHub Desktop.
Save gbraad/1fc6f4183f544f825e56129bc399a078 to your computer and use it in GitHub Desktop.
VS Code on Google Colab

VS Code on Google Colab

This gist details in brief how to run ColabCode on Google's CoLab environment.

Prerequisites

Navigate to https://colab.research.google.com/ and create a new notebook

Add code and run

!apt-get install vim tmux powerline zsh
!git clone https://github.com/gbraad/dotfiles.git
!./dotfiles/install.sh

Install Colabcode

Add code and run

!pip install colabcode

Start the environment

Add code and run

from colabcode import ColabCode
ColabCode(port=10000, password="rh!14", mount_drive=False)
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment