Skip to main content
  1. Tags/

Bing Image Creator

2023


Keep the hugo theme up-to-date

·1 min

I found out that my current setup doesn’t allow for easy theme updates by the author, since I just cloned the theme folder into my hugo project ⊙﹏⊙

But thanks to Adam and his introduction to gits submodule function I was able to work around this.

Create repositories #

  • First I created a repository for my hugo project
  • Then I created a fork of my current theme Terminal
  • The theme was then embedded as submodule in my hugo project and received a second git repository as upstream source (this is the magic function right here)
git submodule add -f https://github.com/<user>/hugo-theme-terminal.git themes/terminal
git remote add upstream https://github.com/panr/hugo-theme-terminal.git
  • I also followed Adams advise and moved my theme customizations to a different branch

Get updates from the theme author #

My workflow for theme updates now looks like this:

Log analysis with Grafana and Loki

·1 min

I wanted to play around with Grafana and Loki for a while now, but always found something else to do. Then, the other day, I decided to push my logs to Grafanas cloud stack just for the fun of it.

The installation and integration into my Ubuntu server and docker was easy enough. After a few hours I was shocked how many bad ssh logins were detected (>100) and decided to up my fail2ban rule. I am now blocking failed attempts (3 within 24h) for 150 days and I still receive around 5 attempts per hour.

I love RSS!

·2 mins

After using Google Reader for years (who didn’t 🤷‍♂️) I went to feedly for some time (who didn’t 🤷‍♂️). But I don’t remember if it was ads or my motivation to self-host, that brought me to Nextcloud News.

Since buying a NAS three years ago, I seldomly use Nextcloud for anything else than reading my feed. And for a feed reader it’s quite bloated. Yes there are also other nice apps for Nextcloud, but I just don’t use them.

Streamlined publishing

·2 mins

Maybe I can make writing a habit by simply doing it once a day. But the process of publishing would need to be simpler.

I still struggle with a hybrid world. Hugo is currently only running on my windows workstation and rysnc only works on my WSL.

I could try to debug my hugo installation on WSL, but I am too lazy to do that. I could also use robocopy instead of rsync, but I don’t want to go that way either (working with ssh keys was a bit of a pain).

How to start (´。_。`)

·1 min

It’s been four weeks since I opened this blog and I haven’t published anything new yet. Let me just drop a few thoughts off my head:

  • I am impatiently waiting for a free slot on the Pixelfed mobile app beta on testflight! The mobile web page1 simply doesn’t feel as smooth as a proper app.
  • After looking at a couple of photo books2 3 I really want to dig out my old analog Nikon and start shooting black and white films.

I still remember using these 💾

·1 min

I still remember using 5¼ and 2½ floppies in my early pc years. Even though nobody calls it pc any more. I also remember blogs but never got around to have my own for long. Let’s see if it works this time.

I finally found the time to spin up a hugo server and play around with it. I have to say, I like it a lot! Goodbye Wordpress 🥳

Since I don’t want to start with an empty page, I am going through my pictures and write down some stories from the past month.