List of all tips 💡
This page links to tips about Python, Command line tools and Vim
- Python tip 33: sorting iterables based on multiple conditions
- Python tip 32: positive lookarounds
- Python tip 31: next() function
- Python tip 30: zip() function
- Python tip 29: negative lookarounds
- Python tip 28: string concatenation and repetition
- Python tip 27: enumerate() function
- Python tip 26: atomic grouping
- Python tip 25: split and partition string methods
- Python tip 24: modifying list using insert and slice
- Python tip 23: map, filter and reduce
- Python tip 22: possessive quantifiers
- Python tip 21: sorting iterables based on a key
- Python tip 20: saving and loading json
- Python tip 19: manipulating string case
- Python tip 18: arbitrary number of arguments
- Python tip 17: counting frequency of items
- Python tip 16: delete list elements using index or slice
- Python tip 15: string transliteration
- Python tip 14: sequence unpacking
- Python tip 13: formatting numbers with underscore separation
- 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 33: manipulating string case with GNU sed
- CLI tip 32: text processing between two files with GNU awk
- CLI tip 31: concatenate files column wise
- CLI tip 30: extract only the matching portions
- CLI tip 29: define fields using FPAT in GNU awk
- CLI tip 28: substitute specific occurrence with GNU sed
- CLI tip 27: reverse text line wise with tac
- CLI tip 26: removing duplicate lines with GNU awk
- CLI tip 25: get file properties using the stat command
- CLI tip 24: inserting file contents one line at a time
- CLI tip 23: recursive filename matching with globstar
- CLI tip 22: grep options to suppress stdout and stderr
- CLI tip 21: inplace file editing with GNU awk
- CLI tip 20: expand and unexpand
- CLI tip 19: extended globs
- CLI tip 18: inserting file contents using GNU sed
- CLI tip 17: common and unique lines
- CLI tip 16: transpose tables
- CLI tip 15: text generation with printf and brace expansion
- CLI tip 14: specify permissions during directory creation
- CLI tip 13: join lines of two files based on the first field
- CLI tip 12: squeeze empty lines
- 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 33: editing with text objects
- Vim tip 32: text and indent settings
- Vim tip 31: mark frequently used locations
- Vim tip 30: some general Vim settings
- Vim tip 29: greedy quantifiers
- Vim tip 28: miscellaneous motion and reposition commands
- Vim tip 27: regexp anchors
- Vim tip 26: executing shell commands
- Vim tip 25: substitute flags
- Vim tip 24: movement commands within the current file
- Vim tip 23: editing lines filtered by a pattern
- Vim tip 22: word and WORD motions
- Vim tip 21: working with tabs
- Vim tip 20: character based motions within the current line
- Vim tip 19: working with buffers
- Vim tip 18: moving within long lines
- Vim tip 17: setting options
- Vim tip 16: terminal mode
- Vim tip 15: moving within current line
- Vim tip 14: horizontal and vertical splits
- Vim tip 13: repeat last change
- Vim tip 12: save and restore sessions
- Vim tip 11: replace characters in Normal mode
- 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