Skip to content

Instantly share code, notes, and snippets.

View rjodon's full-sized avatar

robinjodon rjodon

View GitHub Profile
@rjodon
rjodon / numpy_savetxt_benchmark.ipynb
Created February 24, 2021 09:05
numpy_savetxt_benchmark.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 March 5, 2020 15:11 — 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
@rjodon
rjodon / bench_numpy_savetxt_vs_io_write.ipynb
Last active April 3, 2020 08:21
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 / iterm2.md
Created March 3, 2020 22:19 — forked from squarism/iterm2.md
iterm2 cheatsheet

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)