madeindjs@programming.devtoGit@programming.dev•What's the most creative or unconventional use of Git you've encountered?English
2·
9 months agoI just discovered from So You Think You Know Git - FOSDEM 2024 that you can use Git to generate columns:
seq 1 24 | git column --mode=column --padding=5
Will render:
1 3 5 7 9 11 13 15 17 19 21 23
2 4 6 8 10 12 14 16 18 20 22 24
It can be useful to list files / permissions in a directory in multiples columns
ls -lah | git column --mode=column --padding=5
(Ok, it’s useless)
The API of ListenBrainz is really simple. I built a simple MPV script to send my listenned tracks to ListenBrainz in few hours. It does the job pretty well, and I submitted almost 50K records.
For the moment I didn’t do anything with it, but I know I could someday.