List of all tips 💡
This page links to tips about Python, Command line tools and Vim
- Python tip 12: negate a regex grouping
- Python tip 11: capture external command output
- Python tip 10: removeprefix and removesuffix string methods
- Python tip 9: applying set-like operations for dictionaries
- Python tip 8: dict.fromkeys() method
- Python tip 7: creating a deepcopy of collections
- Python tip 6: inplace file editing
- Python tip 5: random choice and sample
- Python tip 4: comparison chaining
- Python tip 3: expression and result with f-string
- Python tip 2: membership operator
- Python tip 1: tuple argument for startswith/endswith methods
- CLI tip 11: longest line length
- CLI tip 10: version sort
- CLI tip 9: awk paragraph mode
- CLI tip 8: extract from start of file until matching line
- CLI tip 7: limiting number of filtered lines
- CLI tip 6: filtering lines based on multiple conditions
- CLI tip 5: aligning columns
- CLI tip 4: serialize file contents to a single line
- CLI tip 3: place backups in another directory with GNU sed
- CLI tip 2: counting number of matches
- CLI tip 1: remove metadata from images
- Vim tip 10: Undo and Redo
- Vim tip 9: named registers
- Vim tip 7: changing case in Normal mode
- Vim tip 6: search word nearest to the cursor
- Vim tip 5: jumping back and forth in Normal mode
- Vim tip 4: reposition current line in Normal mode
- Vim tip 3: autocomplete words and lines in Insert mode
- Vim tip 2: indent/unindent lines
- Vim tip 1: increment/decrement numbers