nvidia-smi
nvcc --version
cat /proc/driver/nvidia/version
lspci | grep -i nvidia # verify that your GPU is CUDA-capable; basically list GPU device before CUDA is installed
git init
git add .
git commit -m "initial"
git remote add origin <remote repository URL>
git remote -v
git push origin master
curl https://gist.githubusercontent.com/jingxixu/100dd4a2fa4f17d42e7ec4dbd75d0dcb/raw > .gitignore
ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
sudo apt-get install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
catkin_create_pkg beginner_tutorials std_msgs rospy roscpp
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin init
catkin build # build all packages
catkin create pkg <package name>
catkin config # show build configurations
catkin list # show packages in the workspace
catkin clean # clean built products
catkin build --dry-run # show the package build order
catkin build --this # build the package under this working directory
catkin build <package name> # build a specific package and its dependencies
rospack depends1 <package>
rospack depends <package>
https://www.tecmint.com/install-zsh-in-ubuntu/
sudo apt install zsh
zsh --version
chsh -s $(which zsh)
- cmake:
cmake -version
- pip package:
pip list | grep <package>
- conda package:
conda list | grep <package>
- ubuntu:
lsb_release -a
- gcc:
gcc --version
- ubuntu:
uname -m && cat /etc/*release
sudo snap remove clion
rm -rf ./.CLion2018.3 ./.CLion2018.3/config/clion.key ./.java/.userPrefs/jetbrains/clion ./snap/clion
The launcher file jetbrains-pycharm.desktop
is located in one of
/usr/share/applications
~/.local/share/applications
Change Exec="/opt/pycharm-2018.3.4/bin/pycharm.sh" %f
to Exec=bash -i -c "/opt/pycharm-2018.3.4/bin/pycharm.sh" %f
-s
for making a link; -f
forces updating; -n
for folder
ln -sfn python3.7 python3
- compilation: compile each file separately, checking syntax error and declaration existence
- linking: find source code
meld <file1> <file2>
tar -xvzf ~/Downloads/<input file>.tar.gz -C <output folder>
ffprobe -v error -show_entries stream=width,height -of default=noprint_wrappers=1 <video>
ubuntu-drivers devices # Detect the model of your Nvidia GPU and the recommended driver using this command.
sudo ubuntu-drivers autoinstall # Auto install all recommended drivers.
conda env export > environment.yml
conda env create -f environment.yml