Skip to content

Instantly share code, notes, and snippets.

@cchwala
cchwala / vim_cheat_sheet.md
Last active August 22, 2022 11:14
VIM cheat sheet

Most important navigation (besides hjkl)

  • b (back a word), e (end of word), ge (back to end of word)
  • Jump to character in a line using f or t (to go to the position one before the searched char)
  • Change text up to the searched char, e.g. cf and the char you are looking for.
  • H (high), M (middle), L (low) for cursor placement
  • zz to center cursor in middle of screen, zt and zb for top and bottom
  • Ctrl-e and Ctrl-y to scroll up and down, keeping the cursor at its position
  • Ctrl-o to jump back to the previous (older) location, Ctrl-i for opposite direction

Jumps

@cchwala
cchwala / screen_cheat_sheet.md
Last active August 17, 2022 20:09
GNU screen info
@cchwala
cchwala / pandas_limit_nan_interpolation_to_max_gap_length.ipynb
Last active January 30, 2019 20:52
pandas_limit_nan_interpolation_to_max_gap_length.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cchwala
cchwala / Read cmlh5 to dask dataframe.ipynb
Created October 22, 2018 13:22
Manually read in one CML from cmlh5 to dask Dataframe
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cchwala
cchwala / Read cmlh5 to dask dataframe.ipynb
Created October 22, 2018 13:21
Manually read one CML from cmlh5 to dask Dataframe
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cchwala
cchwala / test for pykrige differences in loop backend between version 1.3.1 and 1.4.0.ipynb
Last active August 24, 2018 15:15
Jupyter notebook to test for pykrige differences in loop backend between version 1.3.1 and 1.4.0
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cchwala
cchwala / pandas to_timedelta overflow issue.ipynb
Created July 20, 2017 12:36
Show where pandas `to_timedelta()` overflows without raising an error
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cchwala
cchwala / test overflow handling in decode_cf_datetime (clean version).ipynb
Last active July 16, 2017 21:19
test overflow handling in decode_cf_datetime (clean version)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.