Skip to content

Instantly share code, notes, and snippets.

🏠
Home alone, and for a while...

robinjodon rjodon

🏠
Home alone, and for a while...
View GitHub Profile
@rjodon
rjodon / bench_numpy_savetxt_vs_io_write.ipynb
Last active Apr 3, 2020
bench_numpy_savetxt_vs_io_write.ipynb
View bench_numpy_savetxt_vs_io_write.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rjodon
rjodon / delete_git_submodule.md
Created Mar 5, 2020 — forked from myusuf3/delete_git_submodule.md
How effectively delete a git submodule.
View delete_git_submodule.md

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
@rjodon
rjodon / iterm2.md
Created Mar 3, 2020 — forked from squarism/iterm2.md
iterm2 cheatsheet
View iterm2.md

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
You can’t perform that action at this time.