- you can run git bisect with a pathspec
- when writing nix modules you can use
lib.getExeto getmeta.mainProgram git reflog --date=iso- rust has
:#?which pretty formats - ActiveSupport has Module#delegate_missing_to
- about prysk which is a test framework for CLI - used by josh https://pypi.org/project/prysk/
- zlib can compress streams
jj abandoncan be used to revert something- vscode can run LSP actions on save (not just formatting; see biome example)
- RSpec supports
expect { block }.to change(...).by(x).and change(...).by(y) cargo tree -dshows duplicate dependencies<progress>html elementnix fmtand treefmt-nix- ruby has
Enumerable#lazy - ruby has
Enumerable#filter_map cargo tree -i {pkg}works asyarn why {pkg}- fish has a
functionsfunction that prints a function body - Ctrl-z, jobs and fg command https://unix.stackexchange.com/a/109539
jj duplicateis likegit cherry-pick- use
sudo fs_usage -w -f filesys mdsto check what directories spotlight is scanning through https://apple.stackexchange.com/a/389360 - ghostty supports progress bars
- DOM screenshotting works by inlining CSS, then using a canvas to render SVG with foreignObject
- you can use ctrl+s in claude code to stash the current prompt
nm {some-binary}- list symbol names in object files- bash has printf
- coreutils has printf
- omnifocus supports tabs
- psql can output csv with
\pset format csv - firefox has an eyedropper tool
- about indoc (multiline strings for rust) https://docs.rs/indoc/latest/indoc/
- cookie API in browser is synchronous and shouldn’t be used
- there is legal basis in both US and EU for reverse engineering with the intent of interoperability between computer programs (see https://github.com/jtsylve/spice-crypt?tab=readme-ov-file#purpose-and-legal-basis)
- amdahls law on parallelism; max 20x speedup when 95% is parallelizable
- heroku uses braille unicode characters for their progress indicator https://news.ycombinator.com/item?id=47465037
- ctrl-u in commandline is convention for clear the line, password prompts being a notable example https://news.ycombinator.com/item?id=47464589
- about
jj fix - if you’re using firefox, you can generally juts ctrl-click on the page. It’ll draw outlines around every child element without reflowing. chias @ https://news.ycombinator.com/item?id=49868739
systemctl edit {some-service}https://willpower232.github.io/computing/self-hosted-git.html- about semgrep