common/README.md

44 lines
1.2 KiB
Markdown
Raw Normal View History

# Configurations and Setups
2021-01-02 23:30:57 -08:00
Common configuration files for:
* Vim
* Spacemacs
2021-01-02 23:30:57 -08:00
* Docker images
* Fish shell
## Setup
Execute `setup-home.sh` to create symbolic links. Note that macOS users will
need to install `coreutils` to provide the `grealpath` utility.
2021-01-16 13:26:52 -08:00
## Docker Images
* `hub-jupyter` and `hub-jupyter-spark` are images based on cudnn docker image
2021-01-16 13:26:52 -08:00
for jupyter. To use them with GPU, add the following to
`/etc/docker/daemon.json` and restart the docker daemon:
```json
...
"runtimes": {
"nvidia": {
"path": "/usr/bin/nvidia-container-runtime",
"runtimeArgs": []
}
}
```
* `latex` docker contains tools for compiling `latex`. It is usually not used
* due to the stability of latex.
* `route` docker is used to setup a socks5 proxy server using `ssh`.
2021-01-16 20:28:18 -08:00
## Bin
2021-01-16 20:28:18 -08:00
The `bin/` folder contains dockerised scripts. They should be symbolically
linked into `/usr/local/bin` via `symlinks-bin.sh`, which has to be executed as
root.
## Spacemacs
After setting up dependencies, execute `M-x pdf-tools-install` to have
`pdf-tools`. Note that spacemacs adds cache lines to the `.spacemacs` file so
it is copied over and not version controlled. The individual configurations are
however version controlled.