Posted in 2024

Playing with llm

Journey:

https://www.google.com/search?q=chatgpt+cli

Read more ...


Public PostgreSQL?

I want a tool that can easily ingest arbitrary data that I can use for personal data science.

At first I was thinking of running Postgres publicly - of course with TLS enabled and strict access control.

Read more ...


Caddy Compression and Caching

This blog is built with Sphinx and served by Caddy.

Unfortunately https://pagespeed.web.dev/ says that https://blag.felixhummel.de/ is slow on mobile. Let’s do something about that.

Read more ...


TIL: Pycharm: Remember Database Query Results

As the docs state:

By default, PyCharm updates the same tab with results each time you run a new query after the previous one. You can change this behavior and create a tab each time you run a new query.

Read more ...


TIL: KeepassXC never ask

The KeepassXC-Browser extension asks if a domain is allowed to access credentials. I want to skip this dialog, as I always save passwords with a concrete domain. Here’s how (via):

Tools > Settings > Browser Integration > Advanced tab

Read more ...


KeepassXC Keeshare

https://keepassxc.org/docs/KeePassXC_UserGuide#_database_sharing_with_keeshare

Suppose you have a database called meins and want to synchronize the gaming database.

Read more ...


LVM Snapshot Create / Merge / Rollback

Example use-case: Snapshot Gitlab VM disk before running an upgrade.

Check volume groups and logical volumes:

Read more ...


Git Sign Commits With SSH

https://docs.gitlab.com/ee/user/project/repository/signed_commits/ssh.html

First, make sure that your pubkey is present in Gitlab.

Read more ...


TIL: inxi system information

I was looking through the packages supplied by the Tuxedo apt repo:

That’s when I came across inxi.

Read more ...


TIL: Gitlab CI: The needs Keyword

Gitlab CI has the needs keyword since 2021. It allows building stageless pipelines, but has many uses.

Sometimes we run different test suites in parallel (e.g. unit-tests and integration tests), but want aggregated coverage results. This results in a pipeline like this:

Read more ...


TIL: Vim Last Opened Files

Vim can show a list of recently opened files:

🤓

Read more ...


TIL: Pycharm Open All Modified Files

Pycharm can open all modified files in new tabs.

Open the “Commit” tool window (Alt+0) and hit F4 on “Changes”:

Read more ...


TIL: Dockerfile Heredocs

I did not even know that Docker has support for heredocs until today.

Then I read the official blog post from 2021. In my defense: Using this depends on buildkit, which only became default in Docker Engine v23 released in 2023.

Read more ...