Remote Explorer on VS code

Copy identity key to server

$ ssh-copy-id [HOST_ADDRESS]

Using Git

Set a Git username

$ git config --global user.name "[NAME_HERE]"
$ git config --global user.email "[EMAIL_HERE]"

clone with ssh

Generate a new SSH key and add it to the ssh-agent

$ ssh-keygen -t rsa -b 4096 -C "[EMAIL_HERE]"

Start the ssh-agent in the background and add the SSH private key to the ssh-agent

$ eval "$(ssh-agent -s)"
$ ssh-add ~/.ssh/id_rsa

Add the SSH key to the GitHub account See here

Conda Env

PyTorch, CUDA, PyTorch_Geometric

Cheat Sheet

Git Cheat Sheet: here

Conda Cheat Sheet: here

UNIX/LINUX Cheat Sheet: here

Chat-Rob

$ docker run -ti --name coolq -v richardchien:/home/user/coolq -p 8080:9000 -p 5700:5700 -p 6700:6700 -e COOLQ_ACCOUNT=1 -e VNC_PASSWD=12345678 -e COOLQ_URL=https://dlsec.cqp.me/cqa-xiaoi -e CQHTTP_USE_WS=yes -e CQHTTP_SERVE_DATA_FILES=yes -e FORCE_ENV=yes  richardchien/cqhttp:latest

Useful Unix Package

Command Description
grep Search for PATTERN in each FILE or standard input.
   
   

# salloc -p gpu –gres gpu:1 -c 10 –mem 40g -t 8:0:0

-std=c++11