August 11, 2022

Hugo Shortcode für PeerTube

PeerTube ist eine Alternative zu YouTube die ähnlich wie Mastodon das ActivityPub Protokoll spricht. In Hugo können von Haus aus YouTube-Videos per Shortcode eingebettet werden, PeerTube wird nicht unterstützt. Es ist aber sehr einfach die identische Funktion für PeerTube nach zu rüsten: Im Ordner themes/THEME_NAME/shortcodes erzeugt man eine neue Datei mit dem Namen peertube.html. Da hinein packt man folgenden Code: <style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } . Read more

August 1, 2022

Blogging und Foto-Galerie-Software

(Ein Re-Post mit Aktualisierungen. Hier hatte sich tatsächlich ein unfertiger Bericht ins Rampenlicht gedrückt!) Normalerweise poste ich meine Bilder ja hier im Blog. Das ist recht nett, weil ich noch etwas unter die Bilder schreiben kann. Aber irgendwie ist das auch etwas mühselig obwohl ich ein Script habe, welches mir den Markdown-Code automatisch generiert und auch aus den EXIF-Tags die Ortsinformationen extrahiert. Auch wären zusätzliche Features wie eine Übersichtskarte mit allen Fotos nett oder die Anzeige von EXIF-Daten (Brennweite, Blende, usw. Read more

February 9, 2022

Automating Default Audio Configurations on a Mac

Usually, tools like WebEx, BBB, Zoom, etc. tend to use the system’s default audio settings. This is nice if you use the same audio devices all the time. But, if you use different audio devices at home, in the office, or when traveling, you have to manually adjust the default audio settings often. (Or worse: you forgot to set the default settings and must adjust the audio settings in the conference tool for each call…) This repeated switching between configurations is annoying and time consuming. Read more

August 27, 2021

Dockerized HedgeDoc on a Raspberry Pi

HedgeDoc is a Web application that provides a collaborative notepad. Things like an online family notepad to write grocery lists or plan the next trip can be realized. It is pretty easy to self-host this tool on a Raspberry Pi using Docker. Unfortunately, there is no official Docker image for ARM. Instead one has to use the one from linuxserver.io or build the image on your own. When testing the linuxserver. Read more

February 28, 2021

Dockerized Synapse (Matrix Home Server) on a Raspberry Pi

Yesterday I played a bit with Synapse, the reference implementation of a Matrix homeserver. Matrix is a federate chat protocol that features end-to-end encryption and does not require a phone number. As it is federated, everyone can run their own server but still talk to users registered to other servers. So, in my eyes, Matrix should be preferred over Signal or comparable applications. The installation would actually be simple if the documentation were better. Read more

January 26, 2021

Dockerized Nextcloud on Raspberry Pi

Since 2010, I guess, I run Owncloud and later Nextcloud on different small “servers” in my home network. Recently, I had the impression that my instance, which I updated/upgraded many times, got a bit bloated and some things simply did not work correctly anymore. The other day I decided that it is time to setup up a new instance from scratch. However, this time I did not want to have a complicated native installation running on nginx, php-fpm, mySQL, Redis and whatever dependency my old Nextcloud instance had. Read more

January 21, 2021

Full Feed For Hugo Blogs

A subscriber of my blog (most probably the only one :D) recently made me aware that it won’t deliver a full RSS feed. I looked into this matter and found this highly helpful Hugo helpfile hidden somewhere in the Hugo the documentation (please note the slight irony). To enable a full RSS feed, do the following: Download the default Hugo RSS feed template and place it in some path/file mentioned here. Read more

October 6, 2020

Fixing an Update Issue of Command Line Tools on MacOS Catalina

My homebrew had some issues with an outdated version of Command Line Tools (CLT). I tried to update the CLT manually using sudo xcode-select --install but the installer told me, that CLT could not be found on the Apple servers. Strange. I tried uninstalling CLT with sudo rm -rf /Library/Developer/CommandLineTools (this is Apple’s intended way of uninstalling the stuff) and installing it again with sudo xcode-select --install. Same situation. Now I rebooted the machine. Read more

September 11, 2020

Using OneDrive on Mac or Linux for Backups

Recently I discovered that I have access to Office 365 through my university. I am not interested in Office 365 at all, but my subscription includes 5 Terra (yes!) Bytes of OneDrive storage. This has aroused my full interest. But: the official OneDrive client is not really what I want, because I don’t want to synchronize stuff from a folder on my hard drive with OneDrive. I would like to “mount” OneDrive and use a tool, preferably BorgBackup or something similar, to transfer encrypted snapshots to OneDrive. Read more

May 22, 2020

xtables-addons: How to fix 'Can't open DBIP database' Error

When you are using the 3.8-* version of xtables-addons to harden your server with a geofense, chances are super high that things don’t work anymore… The latest problem occurs after you have downloaded the geo-ip-tables from Maxmind and try to convert the tables for the geofense with xt_geoip_build. You get this error: Can't open DBIP database. The simple reason for this is that the developers of xtables-addons decided to get rid of Maxmind (maybe because they did that thing with the user accounts a couple of months ago? Read more

© ho1ger 2015 - 2022