Skip to content

Instantly share code, notes, and snippets.

View VoidHamlet's full-sized avatar

Polina Filipova VoidHamlet

  • Cisco Systems
  • Mexico City, MX
View GitHub Profile
@VoidHamlet
VoidHamlet / vim-notes.md
Created September 30, 2015 22:03 — forked from JeffPaine/vim-notes.md
General vim notes.

Vim Notes

  • set list Shows invisible characters.
  • set listchars What invisibile characters should be set to, see :h listchars for complete list.

Key Remapping

  • map creates a key map that works in normal, visual, select and operator pending modes
  • map! creates a key map that works in insert and command-line mode.
@VoidHamlet
VoidHamlet / beautiful_idiomatic_python.md
Created September 30, 2015 20:04 — forked from JeffPaine/beautiful_idiomatic_python.md
Transforming Code into Beautiful, Idiomatic Python: notes from Raymond Hettinger's talk at pycon US 2013. The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Transforming Code into Beautiful, Idiomatic Python

Notes from Raymond Hettinger's talk at pycon US 2013 video, slides.

The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Looping over a range of numbers

for i in [0, 1, 2, 3, 4, 5]: