Screenshots are of #CoolRetroTerm, which is my favorite emulator these days. Very customizable, and pleasant to look at. Computing should be pleasant.
Using Links (vice Lynx) does render the tables somewhat better, but otherwise I'm not much of a fan.
(EDIT: in fairness, this is largely familiarity bias. I played around with the settings and I could get used to it, I think.)
The other big annoyance is how the tables on my discography page render. I'm really not sure what I could do to improve this, other than entirely change how I present the information. (Which is an option.)
I occasionally test my home page in a text browser. Lynx was my first web browsing experience, way back in 1995 (through the local library). I started prepending "IMAGE" to the alt text so it was clear what was being described.
Not ideal: the light/dark mode switch renders as a nonsense string with a checkbox toggle (not pictured). Otherwise, it's very straightforward and loads quickly and happily.
TIL: the Linux command `basename` also deal with HTTP URLs and would return just the filename of given URL.
Why `rm -r .` doesn’t do what I want it to do?
Hace un mes, pasé por un nuevo sistema operativo y experimenté la amargura de no poder instalarlo sin depender de un navegador con soporte para JS a pesar de que este nuevo sistema operativo aspira a ser super minimalista. Luego, tras instalar Void Linux vía chroot usando tan solo mtm + links para seguir la documentación, y meter comandos en una pantalla en modo texto dividida en dos, he vuelto a enamorarme de este maravillosa distribución.
#ViernesDeEscritorio
#linux #gnu #cli #minimalismo
$ mpv Break-the-Game.mp4 --sub
Display all 134 possibilities? (y or n)
Bullshit there are 134 possibilities ---
--sub= --sub-ass-use-video-data= --sub-delay= --sub-filter-jsre-append= --sub-font= --sub-past-video-end=
--sub-align-x= --sub-ass-video-aspect-override= --sub-demuxer= --sub-filter-jsre-clr= --sub-font-provider= --sub-pos=
--sub-align-y= --sub-ass-vsfilter-color-compat= --sub-file= --sub-filter-jsre-del= --sub-fonts-dir= --sub-scale=
--sub-ass= --sub-auto= --sub-file-paths= --sub-filter-jsre-pre= --sub-font-size= --sub-scale-by-window=
--sub-ass-force-margins= --sub-auto-exts= --sub-file-paths-add= --sub-filter-jsre-remove= --sub-forced-events-only= --sub-scale-signs=
--sub-ass-force-style= --sub-auto-exts-add= --sub-file-paths-append= --sub-filter-jsre-set= --sub-fps= --sub-scale-with-window=
--sub-ass-hinting= --sub-auto-exts-append= --sub-file-paths-clr= --sub-filter-jsre-toggle= --sub-gauss= --subs-fallback=
--sub-ass-justify= --sub-auto-exts-clr= --sub-file-paths-del= --sub-filter-regex= --sub-gray= --subs-fallback-forced=
--sub-ass-line-spacing= --sub-auto-exts-del= --sub-file-paths-pre= --sub-filter-regex-add= --sub-hinting= --sub-shadow-color=
--sub-ass-override= --sub-auto-exts-pre= --sub-file-paths-remove= --sub-filter-regex-append= --sub-italic= --sub-shadow-offset=
--sub-ass-prune-delay= --sub-auto-exts-remove= --sub-file-paths-set= --sub-filter-regex-clr= --sub-justify= --sub-shaper=
--sub-ass-scale-with-window= --sub-auto-exts-set= --sub-file-paths-toggle= --sub-filter-regex-del= --sub-lavc-o= --subs-match-os-language=
--sub-ass-shaper= --sub-auto-exts-toggle= --sub-files= --sub-filter-regex-enable= --sub-lavc-o-add= --sub-spacing=
--sub-ass-style-overrides= --sub-back-color= --sub-files-add= --sub-filter-regex-plain= --sub-lavc-o-append= --sub-speed=
--sub-ass-style-overrides-add= --sub-blur= --sub-files-append= --sub-filter-regex-pre= --sub-lavc-o-clr= --sub-stretch-durations=
--sub-ass-style-overrides-append= --sub-bold= --sub-files-clr= --sub-filter-regex-remove= --sub-lavc-o-del= --subs-with-matching-audio=
--sub-ass-style-overrides-clr= --sub-border-color= --sub-files-del= --sub-filter-regex-set= --sub-lavc-o-remove= --sub-use-margins=
--sub-ass-style-overrides-del= --sub-border-size= --sub-files-pre= --sub-filter-regex-toggle= --sub-lavc-o-set= --sub-visibility=
--sub-ass-style-overrides-pre= --sub-border-style= --sub-files-remove= --sub-filter-regex-warn= --sub-line-spacing= --sub-vsfilter-bidi-compat=
--sub-ass-style-overrides-remove= --sub-clear-on-seek= --sub-files-set= --sub-filter-sdh= --sub-margin-x=
--sub-ass-style-overrides-set= --sub-codepage= --sub-files-toggle= --sub-filter-sdh-enclosures= --sub-margin-y=
--sub-ass-style-overrides-toggle= --sub-color= --sub-filter-jsre= --sub-filter-sdh-harder= --sub-outline-color=
--sub-ass-styles= --sub-create-cc-track= --sub-filter-jsre-add= --sub-fix-timing= --sub-outline-size=
Well damn. I guess there are.
Still a huge WIP but it's starting to look promising... #fediverse #cli #linux #ratatui #rust
I finally managed to get scrolling working in my Fediverse command line client! Next step: add "infinite scroll" behavior.
#ViernesDeEscritorio #DesktopFriday #CLI #Minimalismo
#openSUSE #LeftWM
( ͒•·̫| Buen fin de semana
It's been a minute (almost 3 years, but who's counting?), but I've just released a new version of broken-links, to add a user agent to it (thank you @mike_k for the suggestion).
It's a link checker - give it a starting URL, and it'll recursively crawl all pages with that domain, checking all internal and external links found.
Install via `cargo install broken-links` or see the release page for other options: https://codeberg.org/kdwarn/broken-links/releases/tag/v0.2.4
This has been my new RSS reader for the last couple of weeks, and I'm not looking back.
Newsboat.
The purpose of the script is to generate and execute a Makefile to convert videos for recording VHS tapes - either directly from the computer or via a DVD player.
Outputting Makefile syntax is pretty easy with PHP: The toString method in the Makefile rule class only needs 5 lines of code. Look for yourself: https://codeberg.org/ncc1988/analogtape-utils/src/commit/6566e560fad1fea61bef7b32c9211353b572465f/encode_vhs.php#L55
2/2
I think I won't bother anymore with writing (bash) shell scripts that are longer than a few lines. I find the syntax too unintuitive and there are better programming languages like PHP that produce more readable code.
In the last two hours, I translated a bash shell script with ~250 lines to a PHP CLI script. The latter is nearly 400 lines long but definetly more readable and it also has more user-friendly output.
1/2