bizdelnick

joined 2 years ago
[–] bizdelnick@lemmy.ml 4 points 5 months ago* (last edited 5 months ago) (2 children)

As I see, you've already got an answer how to convert text to lower case. So I just tell you how to replace all occurrences of %20 with -. You need to repeat substitution until no matches found. For such iteration you need to use branching to label. Below is sed script with comments.

:subst                                         # label
s/(\[[^]]+\]\([^)#]*#[^)]*)%20([^)]*\))/\1-\2/ # replace the first occurrence of `%20` in the URL fragment
t subst                                        # go to the `subst` label if the substitution took place

However there are some cases when this script will fail, e. g. if there is an escaped ] character in the link text. You cannot avoid such mistakes using only simple regexps, you need a full featured markdown parser for this.

[–] bizdelnick@lemmy.ml 2 points 6 months ago (1 children)

With fail2ban single bot behind a NAT can make the site unaccessible for all users behind that NAT.

[–] bizdelnick@lemmy.ml 4 points 9 months ago

What does the locale command say? Have you tried to change a font?

[–] bizdelnick@lemmy.ml 12 points 9 months ago (5 children)

Isn't Quake already open source?

[–] bizdelnick@lemmy.ml 3 points 9 months ago

Disable systemd-resolved.service? Uninstall systemd-resolved?

[–] bizdelnick@lemmy.ml 0 points 9 months ago

Yes. Just partition the drive manually, install packages with debootstrap, bind-mount /proc, /sys and /dev, chroot into it and install a bootloader. If you don't understand what I say, you have to run an installer, possibly in a VM.

[–] bizdelnick@lemmy.ml 8 points 9 months ago (7 children)

It is documented in libapt-pkg-doc (/usr/share/doc/libapt-pkg-doc/method.html/index.html).

[–] bizdelnick@lemmy.ml 7 points 9 months ago

Why you say "Linux" when you mean "Fedora"?

[–] bizdelnick@lemmy.ml 10 points 9 months ago* (last edited 9 months ago) (11 children)

If I'd decide to implement something like this, I'd consider two options: local repo with file:// scheme or custom apt-transport. HTTP server is needless here. (But I'll never do this because I prefer to rebuild packages myself if there's no repo for my distro.)

[–] bizdelnick@lemmy.ml 69 points 9 months ago (17 children)

no functional programming languages like Rust

What?

[–] bizdelnick@lemmy.ml 10 points 9 months ago

No, it is impossible to solve this on filesystem level. In theory, it would be possible to adopt some video codec for compression of such photo series, but it would be a lot of work to integrate it into immich.

view more: ‹ prev next ›