Skip to content

Instantly share code, notes, and snippets.

View eric-schleicher's full-sized avatar

Eric Schleicher eric-schleicher

View GitHub Profile
@eric-schleicher
eric-schleicher / delete_git_submodule.md
Created December 15, 2021 03:14 — forked from myusuf3/delete_git_submodule.md
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule
@eric-schleicher
eric-schleicher / vive-tracker-ubuntu-instructions.md
Created October 11, 2017 18:26 — forked from DanielArnett/vive-tracker-ubuntu-instructions.md
How to use the HTC Vive Trackers in Ubuntu using Python 3.6.

This tutorial will guide you through the setup of the HTC Vive Tracker in Python 3.6 on Ubuntu 14.04.

Prerequesites

Up to date graphics drivers

x86 architecture

SteamVR requires >4GB disk space