{"id":50772344,"url":"https://github.com/ickc/navi-cheatsheets","last_synced_at":"2026-06-11T20:02:14.602Z","repository":{"id":363641001,"uuid":"1230970683","full_name":"ickc/navi-cheatsheets","owner":"ickc","description":"Personal navi cheatsheets (ported from sman-snippets)","archived":false,"fork":false,"pushed_at":"2026-06-09T18:00:33.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-09T20:03:24.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ickc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-06T13:53:17.000Z","updated_at":"2026-06-09T18:01:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ickc/navi-cheatsheets","commit_stats":null,"previous_names":["ickc/navi-cheatsheets"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ickc/navi-cheatsheets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fnavi-cheatsheets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fnavi-cheatsheets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fnavi-cheatsheets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fnavi-cheatsheets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickc","download_url":"https://codeload.github.com/ickc/navi-cheatsheets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fnavi-cheatsheets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34215254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-11T20:02:13.626Z","updated_at":"2026-06-11T20:02:14.590Z","avatar_url":"https://github.com/ickc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# navi-cheatsheets\n\nPersonal [navi](https://github.com/denisidoro/navi) cheatsheets.\n\n## Installation\n\n```bash\nmkdir -p ~/.local/share/navi\ngit clone git@github.com:ickc/navi-cheatsheets.git ~/.local/share/navi/cheats\n```\n\n## Layout\n\nEach file groups snippets by tool or theme. Snippet names follow\n`tool:area:verb` (e.g. `git:branch:delete`, `mac:spotlight:disable`,\n`brew:install`).\n\n| File | Topics |\n|------|--------|\n| `acl.cheat` | recursive chgrp/chmod, setgid+sticky workflows |\n| `archive.cheat` | tar/unzip plus streaming http extract |\n| `bash.cheat` | path/PATH inspection, dir summaries, tee redirects, batch convert |\n| `btrfs.cheat` | btrfs device/filesystem/subvolume + scrub + balance |\n| `disk.cheat` | du/df, locate db, md5sum, dd benchmarks, badblocks/SMART/hdparm, f3 |\n| `git.cheat` | git operations across log/diff/clone/remote/submodule/reset/merge/branch/tag/cherry-pick/batch/push/commit/pull/worktree |\n| `hpc.cheat` | Cray PrgEnv modules, Slurm squeue/sbatch, OpenSSL pkcs12 split |\n| `jekyll.cheat` | jekyll serve |\n| `jj.cheat` | jj parallel to git.cheat (see \"Modern alternatives\" below) |\n| `junkyard.cheat` | snippets queued for deletion; review and prune |\n| `kitty.cheat` | kitty terminal theme switcher |\n| `linux.cheat` | mount, users, power, network, display, kernel, mkfs, udev, vm, firewall, mce |\n| `mac.cheat` | kext, power, finder, metadata, defaults/launchservices, spotlight, apps, disk, system |\n| `media.cheat` | ffmpeg, mediainfo, whisper, imagemagick, yt-dlp |\n| `network.cheat` | local/public IP, http server, wget mirror, samba mount, iperf |\n| `obsidian.cheat` | Obsidian config diff/sort |\n| `package.cheat` | suse/rhel/rpm/arch/apt/mas/nix/devbox/port/brew/pip/conda/pixi/jupyter/go/vscode |\n| `pdf.cheat` | Ghostscript merge/extract, pdfimages, pdftoppm |\n| `programming.cheat` | cleanup, jupyter, python random/format, format:*, pandoc, html minify, sys |\n| `ssh.cheat` | tunnels, rsync, sshfs, sshuttle vpn, wake-on-LAN |\n| `zfs.cheat` | zpool/arc/dataset/snapshot management |\n| `file-search.cheat` ↔ `file-search-modern.cheat` | find / fd (see below) |\n| `text-search.cheat` ↔ `text-search-modern.cheat` | grep / rg (see below) |\n| `text-edit.cheat` ↔ `text-edit-modern.cheat` | sed / sd (see below) |\n\n## Modern alternatives\n\nFor find/grep/sed, the classic and modern versions live in parallel files\nwith the same section structure, same sequence, and same descriptions.\nSnippet names use the tool as prefix so navi shows both side by side in\nfzf:\n\n| Classic | Modern | Parallel files |\n|---------|--------|----------------|\n| `find` | `fd` | `file-search.cheat` ↔ `file-search-modern.cheat` |\n| `grep` | `rg` | `text-search.cheat` ↔ `text-search-modern.cheat` |\n| `sed` | `sd` | `text-edit.cheat` ↔ `text-edit-modern.cheat` |\n| `git` | `jj` | `git.cheat` ↔ `jj.cheat` |\n\nThe `git`/`jj` pair follows the same naming and relative ordering where\nthere is a clean jj equivalent. Git-only operations (e.g. `git submodule`,\n`git tag`) are omitted from `jj.cheat` rather than carrying half-working\ntranslations.\n\n## Junkyard\n\n`junkyard.cheat` holds snippets that didn't survive the refactor:\npersonal paths (`~/git/source/envoy`), defunct tools (gitit, EOL\nAnaconda modules), hardcoded user/MAC/IP defaults that can't be\ngeneralized, and duplicates. Review and `rm` whatever you agree should\ngo.\n\n## Conventions\n\n- Snippet names: `tool:area:verb`, snake_case variables.\n- Section tags: `% \u003cfile\u003e, \u003csubarea\u003e` (e.g. `% git, log`, `% mac, spotlight`).\n- Variable choices follow navi's `$ name: echo -e \"...\"` form. Leading\n  space (`echo -e \" \\nfoo\"`) represents the \"disabled\" option, mirroring\n  the original sman `\u003c\u003cflag( ,foo)\u003e\u003e` UX.\n- Cross-snippet calls use `navi --query \"name\" --best-match`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickc%2Fnavi-cheatsheets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickc%2Fnavi-cheatsheets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickc%2Fnavi-cheatsheets/lists"}