Posts tagged til
TIL: SOA Refresh Value
- 2024-09-24
[mxtoolbox.com warns] if DNS SOA TTL is lower than 20 minutes (1200 seconds) or higher than 12 hours (43200 seconds).
TIL: vim K
- 2024-06-23
I was having fun with my Neovim config, but do not know the Lua API at all.
That’s why I was looking to find help for a word under my cursor. Thus, I googled “neovim open help under cursor”. Ingo Karkat delivered on Stackoverflow:
TIL: Pycharm: Remember Database Query Results
- 2024-04-19
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.
TIL: KeepassXC never ask
- 2024-04-19
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
TIL: inxi system information
- 2024-02-22
I was looking through the packages supplied by the Tuxedo apt repo:
That’s when I came across inxi.
TIL: Pycharm Open All Modified Files
- 2024-01-26
Pycharm can open all modified files in new tabs.
Open the “Commit” tool window (Alt+0) and hit F4 on “Changes”:
TIL: Dockerfile Heredocs
- 2024-01-24
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.
TIL: Postgres Replication Slots
- 2023-11-09
Replica liest WAL-Segmente. Primary räumt WAL-Segmente auf:
the server might recycle old WAL segments before the standby has received them [1]
TIL: Monitoring Docker Memory with Limits on Prometheus
- 2023-09-07
One of our CI jobs failed seemingly without any reason. When a Celery job established a new HTTP connection, then its container stopped working. Later on I noticed the following message from docker-compose:
The exit code 137 means that a process was out of memory (OOM).
In this case, the celery container had a limit of 2GiB and docker killed it when it went over that.
Here is how we define the memory limit in our docker-compose.yml
:
TIL: vim docker-compose.yml completion using vim-coc
- 2023-05-08
https://www.reddit.com/r/vim/comments/gs1f7j/any_dockercomposeyml_and_dockerfile_autocomplete/
TIL: Systemd Journald Cannot Clear the Logs of a Specific Unit
- 2023-05-03
Some logs of my Docker containers got out of hand, so I tried Docker’s Journald logging driver. It did not take long for the log of the service to grow again, but no problem. Here’s the plan:
reconfigure service to be less verbose
TIL: Grafana Dashboard Link Time Range
- 2023-04-20
If you want to link from one dashboard to another, simply use
For example:
TIL: Loki LogQL Pattern Matching for uWSGI Logs
- 2023-03-07
Suppose you have log lines like this as uWSGI generates them:
First, let’s show the logs in a “Logs” view and filter them:
TIL: Prometheus file_sd_configs to Organize Static Scrape Configs
- 2023-02-16
https://stackoverflow.com/a/71267679/241240
Changes to all defined files are detected via disk watches and applied immediately.
TIL: git restore
- 2023-02-15
https://stackoverflow.com/questions/1463340/how-can-i-revert-multiple-git-commits by “meh”
Given