sokol_app.h has mobile support
935 karma · joined October 21, 2019
https://github.com/VadimBoev/FlappyBird/blob/bf3287d90d93ec0...
h("div", {}, [
h("p", {}, "this is easy"),
...list.map((l) => h("li", {}, l),
])
With this you automatically get loops, variable interpolation etc without having to invent a compiler and new syntax. Can someone help me understand? alias qub="source <(curl -sSL https://raw.githubusercontent.com/jamonholmgren/qub/main/src/cli.sh)"
a bit concerning to hot alias a simple command to remote shell execution- Search Image (search selected image through google lens)
- Compress Images (compress selected images with jpegoptim or pngquant)
- Open In Terminal / Vim (open selected directory in terminal / selected files in Vim)
- Merge Subtitles (merge .srt subtitles into video files)
Also discovered it's very useful to enable the preview panel in Finder (View -> Show Preview or cmd+shift+p) because it has 3 slots for quick action, much faster than going to context menu.
Also for showing output, you can use
osascript -e "display notification \"Message Here!\" with title \"Title Here!\""
[0] https://github.com/slmjkdbtl/rc/tree/master/shortcuts (shame that the .shortcut files aren't text based like automator files, no easy way to preview)