My development environment setup
sudo apt-get install ssh
sudo apt-get install vim
sudo apt-get install git
sudo apt-get install build-essential
(required to install CUDA)- Settings -> Displays -> Night Light -> Set the time to be the same
sudo apt install zsh
sh -c "$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Add the following to
.zshrc
to prevent git command autocompletion to be slow:
__git_files () {
_wanted files expl 'local files' _files
}
sudo apt-get install tmux
- Install tmux-config.
- Install miniconda 3.
- See this
- Copy this into
~/.vimrc
.
WSL2, Ubuntu 22.04.1
Create .wslconfig
at /mnt/c/Users/yenchenl
and fill in the following content:
# Settings apply across all Linux distros running on WSL 2
[wsl2]
# Limits VM memory to use no more than 64 GB, this can be set as whole numbers using GB or MB
memory=64GB
# Sets the VM to use 32 virtual processors
processors=32
# Sets amount of swap storage space to 32GB, default is 25% of available RAM
swap=32GB
Otherwise WSL wouldn't be able to access the full memory.
- Drivers
- CUDA Toolkit
- VSCode
- HWInfo
- MSI Afterburner
- GPU-Z
- Windows Power Toys
- Remap keys of magic keyboard.
- Click on the drop down menu -> Settings -> Open JSON file (left bottom)
- Add this line:
"wordDelimiters" : " ()\"':,;<>~!@#$%^&*|+=[]{}~?\u2502",
to select paths in the shell with double clicks.
- Follow COLMAP's instruction but install Ceres solver using its own instruction.
- Follow the instruction here
- Follow the instruction here
brew install wget
brew install tmux
- Install tmux-config.
- Install miniconda 3.
- Copy this into
~/.vimrc
.
- Download it here.