For my main site I had to take screenshots of my webpages. I used puppetteer.
Read ArticleCategory: Entwicklung
Webentwicklungg, Programmieren, Software, Server… irgendwie alles was in den Bereich Computer und Entwicklung fällt
Anything regarding web-development
Replace text recursively
I’m in the process of moving from my gogs instance on git.icod.de to my gitea instance on code.icod.de In this process I’m migrating countless packages manually. It’s quite a lot of work. Often I need to replace “git.icod.de’ with ‘code.icod.de’ To do this on a Linux machine I use the following 1-liner:
|
1 |
grep 'git\.icod\.de/dalu/blogs' * -rl | xargs sed -i 's/git\.icod\.de\/dalu\/blogs/code.icod.de\/dalu\/blogs/g' |
In this…
Read ArticleSvelte-kit and Keycloak OIDC
There’s NextAuth.js from vercel, which was made for next.js Recently it was adapted for svelte-kit. The announcement post: https://vercel.com/blog/announcing-sveltekit-auth The keycloak provider doc: https://next-auth.js.org/providers/keycloak The example repository: https://github.com/nextauthjs/sveltekit-auth-example Well it does work, on first sight. Sign in, Sign out, requiring auth for pages, it all works. However you need a confidential client. And this token…
Read Articlearchlinux: pacman: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Upgrade only openssl to version 3 from 1.1.1 and you receive this error. sudo doesn’t work, pacman doesn’t work, what do you do? Well hopefully you have not deleted previously downloaded packages from /var/cache/pacman/pkg/ . If not, read about the Arch Linux Archive and you will need a USB drive/stick/whatever with an archiso written on…
Read Articlenginx: [emerg] unknown “tls1_3_early_data” variable
If you’re getting this error message doing nginx -t or otherwise, for instance if you’re copy/pasting Mattermost’s nginx configuration, know that the line is
|
1 |
add_header X-Early-Data $ssl_early_data; |
instead of
|
1 |
add_header X-Early-Data $tls1_3_early_data; |
I’m not sure but I’m guessing nginx developers renamed that variable, I’m just not sure when that happened. $tls1_3_early_data must have worked some time ago, but on…
Read Article