From 45b54854a1e20629d1922430b11a3afa27c522c9 Mon Sep 17 00:00:00 2001 From: rhi Date: Fri, 20 May 2022 06:11:41 -0400 Subject: [PATCH] Update 'what's here' --- what%27s-here.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 what%27s-here.md diff --git a/what%27s-here.md b/what%27s-here.md new file mode 100644 index 0000000..31fa451 --- /dev/null +++ b/what%27s-here.md @@ -0,0 +1,24 @@ +## `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](https://skarnet.org/software/execline/index.html), waow + +## `wide`, `little` + +- makes text look like this or ˡⁱᵏᵉ ᵗʰⁱˢ +- the end + +## `tablet-setup` + +- sets the buttons, orientation, etc of my graphics tablet +- written in [raku](https://raku.org/) 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 \ No newline at end of file