NVIDIA Driver
- Open the
Additional Drivers application - Select
NVIDIA driver metapackage from nvidia-driver-570 (proprietary, tested) - Reboot
- Run
nvidia-smito ensure it worked
Nvidia Docker Container Toolkit
- This toolkit allows nvidia drivers and docker containers to play nice.
- NOTE: Do not perform the experimental packages step
- Follow NVIDIA’s guide
- don’t forget the Configure Docker section at the end
-
Run sample docker to ensure it’s working
1
sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi`
Programming
Linters
Here are the linters I generally use:
| Language | Version | Linters/Analyzers |
|---|---|---|
| C++ | C++17 | cppcheck, cpplint, clang format |
| C | C11 | cppcheck, cpplint, clang format |
| CMake | 3.28.1 | lint_cmake |
| Python | 3.10.12 | flake8, pep257, pylint, mypy |
| JavaScript | 14.x | ESLint |
| Rust | 1.72.1 | cargo test, cargo clippy |
| Dockerfile | 25.0.2 | hadolint |
| XML | – | xmllint |
| YAML | – | yamllint |
Optional
- fzf: Command line fuzzy finder
1
2
git clone https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
1
2
3
- `alt-c`: **built-in goto**, very useful
- `ctrl-t`: copies file names over
- `ctrl-r`: reverse history
- Navi: Interactive command line cheat sheet tool
- bring up navi (TODO: need configuration)
- type something +
ctrl-g
- type something +
- bring up navi (TODO: need configuration)