Helle und dunkle Layouts

I learned something new: the repository “scarmuega/choose-your-side” explains how to define images differently for light and dark layouts on GitHub. Basically, you append ?sanitize=true#gh-light-mode-only to the image URL for the light layout and ?sanitize=true#gh-dark-mode-only for the dark layout. ## Light Theme ![Yoda](https://raw.githubusercontent.com/scarmuega/choose-your-side/master/yoda.svg?sanitize=true#gh-light-mode-only) ## Dark Theme ![Vader](https://raw.githubusercontent.com/scarmuega/choose-your-side/master/vader.svg?sanitize=true#gh-dark-mode-only) The text was automatically translated from German into English. The German quotations were also translated in sense. ...

June 23, 2024 · 1 min · 63 words

Style RSS Feeds

In his article »Did you know, that you can style RSS Feeds?«, Nils Riedemann explains how to make your RSS feed more attractive. Although this isn’t relevant to me at the moment, I’ll note it here anyway. The text was automatically translated from German into English. The German quotations were also translated in sense.

February 27, 2024 · 1 min · 54 words

Blogging over SSH

Once again this blog has been a bit neglected. So far I had been blogging with an iOS Shortcut workflow, but it somehow stopped working. I adjusted the process again — technically it worked, but it wasn’t very practical. I briefly googled how others had solved the problem and came across Post from Rosemary Orchard. This workflow uses the stdin input option of the Run Script Over SSH action — in simple terms, it lets you pass input to that action as well as use variables as input in the script section. – Rosemary Orchard von 27. August 2018 ...

January 11, 2020 · 1 min · 136 words

Auto Updates Homebridge & Pi-Hole

After doing some research, I couldn’t find any reason not to automatically update your Raspberry Pi and the services Pi-Hole and Homebridge. That increases security, and you also don’t have to log into the system repeatedly and can effectively disable SSH. I wrote the following script and have it run once a day via Cron. Maybe someone else can use this. echo "####### UPDATE DES SYSTEMS #######" sudo apt-get update sudo apt-get upgrade -y sudo apt-get autoremove -y sudo apt-get dist-upgrade -y sudo apt-get autoclean echo "####### UPDATE VON PI-HOLE #######" pihole -up pihole updateGravity You’ll need to adapt the Homebridge part to your plugins. ...

February 25, 2019 · 1 min · 122 words

Chmod Calculator

I’m by no means a Bash pro and feel like I have to look up every third command. When it comes to access permissions on Unix systems, I also keep forgetting the right command. The tool Chmod Calculator helps me here — I had to use it in my last Raspberry project. Good tools need to be self-explanatory, and that’s true for the Chmod Calculator. Just click together what you need and paste the command it spits out into the terminal. ...

August 30, 2017 · 1 min · 108 words