2 what's here
rhi edited this page 2022-05-20 06:36:45 -04:00
This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

find-parent PATTERN...

  • finds the nearest containing directory with a file matching one of the patterns
  • so, find-parent flake.nix, or find-parent '*.cabal' or whatever
  • prints the full path of the file it found by default
  • or just the dir it was in with the -d flag
  • exits with 1 otherwise
  • written in execline, waow

wide, little

  • makes text look   or ˡⁱᵏᵉ ᵗʰⁱˢ
  • the end

tablet-setup

  • sets the buttons, orientation, etc of my graphics tablet
  • written in raku because normal languages are for chumps

sbin/i4oled-chgrp

  • i4oled-chgrp DIR changes the group any files inside DIR to plugdev
  • used by bin/tablet_setup to make the screen thingies on my tablet writeable
  • a separate script because it needs to run as root

nd

  • looks for flake.nix, jumps there, execs nix develop, jumps back