Cheat Sheets


Cheat Sheets

Einige Cheat Sheets für die tägliche Arbeit von Personen, die mit Computern interagieren.

Jul. 2, 2025

Neovim Cheat Sheet for Coding

Neovim Cheat Sheet for Coding & Config Editing Modes i - Insert mode (before cursor) a - Insert mode (after cursor) A - Insert at end of line I - Insert at beginning of line o - Open new line below O - Open new line above v - Visual mode (character) V - Visual mode (line) Ctrl+v - Visual block mode Esc or Ctrl+c - Normal mode : - Command mode Essential Movement h/j/k/l - Left/Down/Up/Right w - Next word start W - Next WORD start (space-separated) e - End of word E - End of WORD b - Previous word start B - Previous WORD start 0 - Beginning of line ^ - First non-blank character $ - End of line gg - Top of file G - Bottom of file {number}G - Go to line number Ctrl+u - Half page up Ctrl+d - Half page down Ctrl+f - Full page forward Ctrl+b - Full page backward Code Navigation % - Jump to matching bracket/paren ]] - Next function/class [[ - Previous function/class gd - Go to definition (LSP) gr - Go to references (LSP) K - Show documentation (LSP) Ctrl+o - Jump back Ctrl+i - Jump forward m{letter} - Set mark '{letter} - Jump to mark '' - Jump to last position Editing Commands x - Delete character under cursor X - Delete character before cursor dd - Delete line yy - Yank (copy) line p - Paste after cursor/line P - Paste before cursor/line u - Undo Ctrl+r - Redo r{char} - Replace single character R - Replace mode s - Substitute character S - Substitute line c - Change (followed by motion) C - Change to end of line cc - Change entire line d - Delete (followed by motion) y - Yank (followed by motion) Text Objects (use with d, c, y, v) iw - Inner word aw - A word (includes space) is - Inner sentence as - A sentence ip - Inner paragraph ap - A paragraph i" - Inner quotes a" - A quotes (includes quotes) i' - Inner single quotes a' - A single quotes i( or ib - Inner parentheses a( or ab - A parentheses i[ - Inner brackets a[ - A brackets i{ or iB - Inner braces a{ or aB - A braces it - Inner tag (HTML/XML) at - A tag Visual Mode v - Character visual V - Line visual Ctrl+v - Block visual o - Switch cursor to other end > - Indent selected < - Unindent selected y - Yank selection d - Delete selection c - Change selection ~ - Toggle case U - Uppercase u - Lowercase Search & Replace /pattern - Search forward ?

Jul. 2, 2025

Regex Cheatsheet for Forensics

Forensic Regex Patterns Reference Network Addresses IPv4 \b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b IPv4 Private Ranges \b(?:10\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){2}|172\.(?:1[6-9]|2[0-9]|3[01])\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.)|192\.168\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.)\b(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) IPv4 with Port \b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?):[0-9]{1,5}\b IPv6 (Simplified) (?:[0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4} IPv6 (Full) (?:(?:[0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|(?:[0-9a-fA-F]{1,4}:){1,7}:|(?:[0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|::(?:[0-9a-fA-F]{1,4}:){0,5}[0-9a-fA-F]{1,4}|[0-9a-fA-F]{1,4}::(?:[0-9a-fA-F]{1,4}:){0,5}[0-9a-fA-F]{1,4}|(?:[0-9a-fA-F]{1,4}:){1,5}::(?:[0-9a-fA-F]{1,4}:)?[0-9a-fA-F]{1,4}) IPv6 Private/Local (?:f[cd][0-9a-fA-F]{2}:|fe80:|::1) MAC Address (?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2} CIDR Notation \b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/(?:3[0-2]|[12]?[0-9])\b Cryptocurrency Addresses Bitcoin (P2PKH/P2SH) \b[13][a-km-zA-HJ-NP-Z1-9]{25,34}\b Bitcoin Bech32 \bbc1[a-z0-9]{39,59}\b Ethereum \b0x[a-fA-F0-9]{40}\b Monero \b4[0-9AB][0-9a-zA-Z]{93}\b Litecoin \b[LM3][a-km-zA-HJ-NP-Z1-9]{26,33}\b Ripple \br[a-zA-Z0-9]{24,34}\b Dogecoin \bD[5-9A-HJ-NP-U][a-km-zA-HJ-NP-Z1-9]{25,34}\b Dash \bX[a-km-zA-HJ-NP-Z1-9]{33}\b Tether (USDT) on Ethereum \b0x[a-fA-F0-9]{40}\b Web & Email URL (HTTP/HTTPS) https?://[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}(?:/[^"\s]*)? Domain Name \b(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}\b Email Address [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,} FTP URL ftp://[a-zA-Z0-9.