* TODO - Add example test project * TODO - Add style and code format in .spacemacs # Install spacemacs ```sh sudo apt install -y emacs tmux git git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d wget -O ~/.spacemacs https://gist.github.com/tykurtz/41c6d7b0930b9f8b107265ab895114a4/raw/b5f5fb35f1defc081a1ce2c8ec8a1c2fbaca6c80/.spacemacs ``` # Install ccls (code completion, navigation, etc.) ```sh sudo apt install -y libllvm8 llvm-8-dev libclang-8-dev clang-8 ninja-build clang cmake mkdir ~/source_builds cd ~/source_builds git clone --depth=1 --recursive https://github.com/MaskRay/ccls cd ccls cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -G Ninja sudo cmake --build Release --target install ``` # Install dap dependencies ```sh # Nodejs curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt install -y nodejs sudo apt install -y lldb ``` # Download dap adapter from [here](https://marketplace.visualstudio.com/items?itemName=webfreak.debug) ```sh mkdir -p ~/.extensions unzip ~/Downloads/webfreak.debug-0.23.1.vsix -d ~/.extensions/webfreak.debug ``` # Add to ~/.bashrc ```sh # Combines multiple compile_commands.json into a single file at project root. ccls-ros-merge(){ cat ./**/**/compile_commands.json > compile_commands.json && sed -i -e ':a;N;$!ba;s/\n\]\[\n/,\n/g' compile_commands.json } alias cb="catkin build; ccls-ros-merge" ``` # Install python dev tools ## https://docs.python-guide.org/ sudo apt install -y python3.7 python-pip pip install --user virtualenv pip install --user virtualenvwrapper echo "export WORKON_HOME=~/.virtual_envs" >> ~/.bashrc echo "export PATH=$PATH:~/.local/bin/" >> ~/.bashrc echo "source ~/.local/bin/virtualenvwrapper.sh" >> ~/.bashrc mkvirtualenv computer_vision --python=python3.7 pip install keras tensorflow-gpu # Setup SSH server # Install CUDA # Install (nvidia) docker # Setup shell settings # Install misc. software sudo apt install -y spotify-client