How to run Visual Studio Code in Google Cloud Shell
# Install code-server
export VERSION=`curl -s https://api.github.com/repos/cdr/code-server/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")'`
wget https://github.com/cdr/code-server/releases/download/$VERSION/code-server-$VERSION-linux-x86_64.tar.gz
tar -xvzf code-server-$VERSION-linux-x86_64.tar.gz
cd code-server-$VERSION-linux-x86_64
# Start the server
./code-server --auth none --port 8080
# Click on Web Preview -> Preview on port 8080
If you get a 404, remove ?authuser=0 from the url. So for example, just
https://8080-dot-YOURID-dot-devshell.appspot.com/
instead of
https://8080-dot-YOURID-dot-devshell.appspot.com/?authuser=0
Also in C++:
- brew install vscode
- github pages with favicon
- doskey permanent
- noetic catkin tools install
- upgrade grails 2 to 3 transactional
- tr new line
- mongodb install in ubuntu
- install vmware tools ubuntu
- install docker desktop on server 2019
- github/hacksofteare
- using home brew install vs code
- git commit --amend choose editor
- git see all tracked files
- linux memory usage
- check all background process in linux
- install vim
- xargs example with curl
- linux failed to save insufficient permissions vscode
- git crash course
- rename username ubuntu 20.04
- ubuntu software not showing apps 20.04
- powershell arry initialize add
- tar.gz terminal
- echo time bash mac