Categories
Snippets

Homebrew, OpenSSL and PowerShell

On Mac, PowerShell really, really wants to specifically use OpenSSL version 1.0. Unfortunately, homebrew switched to OpenSSL version 1.1 in v2.2, because OpenSSL 1.0 is end-of-life. This fixes it (for now at least): brew uninstall openssl –ignore-dependencies brew uninstall openssl –ignore-dependencies brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb References: My comment on GitHub

Categories
Snippets Uncategorized

nextcloud and Docker and reverse proxies

I have a nextcloud setup like described here (docker-compose, let’s encrypt proxy companion, postgres and nextcloud). And for a while I couldn’t connect any new nextcloud clients to the installation. This fixed it: <?php $CONFIG = array ( # manually added because it’s not picked up from # the env vars once set … it […]

Categories
Uncategorized

Windows after 13 years – and nothing changed

I have a Windows PC again, after about 13 years of abstinence and never looking back. (Why? Gaming. Once in 13 years is OK I guess). And nothing changed. Step 1: Uninstalling crap Uninstall those things from the Windows menu: Candy Crush, Cooking Fever, and three others I forgot to document. It’s a pristine ISO […]

Categories
Snippets

Logstash, clone filter & add_field mysteries

That’s a really great piece of documentation. This does not work: # let’s clone each event, one goes to somewhere, one goes to somewhere else. # note this was copy-pasted from the docs! # see here: https://is.gd/QSHNps # again. THIS DOES NOT WORK. filter { clone { add_field => { “token” => “ABCDEF” } } […]

Categories
Uncategorized

Really annoying thread properties

This sucks monkey ass, mainly because I didn’t think of that before. And that’s just one example why multi-threaded (soon to be -processing, probably) applications are hard. Result is:

Categories
Docker

Docker, http and TLS

Today seems to be “annoyme-day”. This error message with docker: $ docker push myrepo.com:5000/name/image Post http:///var/run/docker.sock/v1.19/images/myrepo.com:5000 \ /name/image/push?tag=: read unix /var/run/docker.sock: \ connection reset by peer. Are you trying to connect to \ a TLS-enabled daemon without TLS? … does not necessarily mean that we use http:// instead of https://. It can also mean that […]