mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

#cli

9 posts6 participants0 posts today

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.

venya.soundslike.pro

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.

#mpv#subtitles#srt

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: codeberg.org/kdwarn/broken-lin

Codeberg.orgv0.2.4 - kdwarn/broken-linksSee the [changelog](https://codeberg.org/kdwarn/broken-links/src/branch/main/CHANGELOG.md#0-2-4-https-codeberg-org-kdwarn-broken-links-compare-v0-2-3-v0-2-4).
#RustLang#Rust#cli
Continued thread

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: codeberg.org/ncc1988/analogtap

2/2

Codeberg.organalogtape-utils/encode_vhs.php at 6566e560fad1fea61bef7b32c9211353b572465fanalogtape-utils - This repository contains tools for compact cassette and VHS tape recording.
#PHP#CLI#Makefile

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