My pre-commit config for Hugo blog

I love blogging with Hugo  external link and I have two blogs already that use it. The good thing about static sites is that you have all the data in the files. You can optimize them locally, batch process, amend, etc. Powerful templating engine allows to quickly pre fill documents in the format I like. I have some steps in the Makefile for things like image optimization, but I often don’t remember to run them 😃...

2024-01-29 · 2 min · timor

Tuning PipeWire for best audio quality on Ubuntu

TL;DR If you’re not interested in the “story of my life”, go directly to “Tuning PipeWire ” section. I’m not an audiophile, but I spent whole days in the headphones and I like when sound sounds good. I like slight bass boost, which adds this kick to the melody, but won’t overwhelm me after an hour of listening. I like when high tones are clear, but I get annoyed if they’re too strong....

2024-01-28 · 8 min · timor
[Generated by AI](https://www.bing.com/images/create/potrzebujc499-obrazek-dla-posta-na-blogu-o-temacie3a-g/1-65b520c6d817444ea0a5f4ed3dd8843a?id=QFgGAr6fEgEMEJSm0T45XQ%3d%3d&view=detailv2&idpp=genimg&FORM=GCRIDP&mode=overlay)

Git hacks - a set of my favorite git aliases

I use Git a lot, even writing this article i will commit text few times. There’s a set of aliases I rely on daily and they’re first I add in new place. Some Git commands are unnecessarily verbose. You can make your life much easier with bash-completions, but if you write it tens of times per day, it’s anyway a lot of typing… and I’m a lazy man 😄 Simple status/log checks git s s = status --short --branch --untracked-files Shows a short, branch-focused status with untracked files....

2024-01-27 · 6 min · timor
[Photo by Ann H](https://www.pexels.com/photo/blue-tape-measure-on-yellow-surface-10894941/)

Checking compressed size of Docker image

One day, I was looking for some gains to improve the startup time for Jenkins agents. We run them as containers and because images are quite big, I was thinking about cutting the size, by cutting less frequently used features. I was looking for the metrics I could use to decide which changes are most valuable. I could think about two: download time and startup time. Together they combine to the gap between the request to start agent and the moment you can start to use it....

2024-01-24 · 2 min · timor
[Photo by olia danilevich](https://www.pexels.com/photo/two-men-looking-at-a-laptop-4974920/)

How to interview DevOps candidates?

A little bit of sour-sweet memories I’ve been in many job interviews. Few as a candidate but many more as a Technical Leader or Hiring Manager. There are many questions I’ve been asked and many tests I passed. I remember one test, where I had to install and configure Apache Tomcat on a Virtual Machine, under Windows (which I don’t use for years), without access to internet. There were more traps there, like some files in the locations where Tomcat is normally installed were blocked for write with chattr immutable attribute....

2024-01-23 · 8 min · timor
[Photo by cottonbro studio](https://www.pexels.com/photo/three-men-in-a-office-6804609/)

How to give Probation Period feedback?

Why? Hiring people is hard, but having a new person in a team is not a work done. It’s important to monitor how people perform during probation period and share feedback with them. Personally, I like to ask the whole team, with a bunch of open questions, which allows me to look from higher altitude on the new hire. My point of view might be biased but by checking what others think, I can fill blind spots....

2024-01-22 · 5 min · timor
[Photo by Pixabay](https://www.pexels.com/photo/white-moth-orchids-87016/)

Ładne kwiatki - czyli wywód o pielęgnacji roślin doniczkowych

Nazbierało mi się w domu całkiem sporo różnych roślin. Problem w tym, że nie zawsze pamiętam jak należy je pielęgnować. Rzeczy typu częstotliwość podlewania, wymagane nasłonecznienie, rodzaj nawozu, częstotliwość używania nawozu, itd., itp. Postanowiłem to w końcu spisać. Na razie na jednej stronie i trochę na kolanie, by pokonać opór. Zamierzam to nieco uszczegółowić i wypracować jakiś schemat podlewania/nawożenia. Myślałem też o jakiś zabawkach do mierzenia poziomu wilgotności/PH - zobaczymy....

2024-01-14 · 15 min · timor

Maximizing page performance and security with Cloudflare tuning

Info I use free tier of Cloudflare and all recommendations assume only those are available. Why to cache statically generated blog? My Blog is statically generated website served from Github Pages  external link . As Github don’t allow to easily set my own domain (at least in free version), I needed some kind of proxy that: can serve page from my domain, will provide valid certificate for HTTPS. Info...

2024-01-11 · 8 min · timor
[Photo by Miguel Á. Padriñán](https://www.pexels.com/photo/paper-boats-on-solid-surface-194094/)

New Year's reflections and Leadership path

Almost 2 years ago I was promoted to a Team Lead position. Since then at least half of my time is dedidcated to “the people’s stuff” 😄 On one side, I have less time to code and write about technical stuff, which sometimes makes me feel guilty (just a little bit). On the other side, I’m discovering a whole new world of possibilities to solve technical problems without touching the code (almost)....

2024-01-10 · 1 min · timor
[Generated by AI](https://www.bing.com/images/create/simple-banner-with-google-tasks-app/1-65940f85b6504d059823250a32dd02b2?id=CvOiYwmmEdpaO0kkQeggpA%3d%3d&view=detailv2&idpp=genimg&FORM=GCRIDP&mode=overlay)

How to run Google Tasks in separate browser tab?

I’m a fan of Getting Things Done1 methodology and I recommend to read the book of the same title to anyone. I know, it looks like a typical, american corpo bull****, but it’s not! Wheter you’re a busy manager or a father of three - it might help you to manage things you have to do, on time and with less stress. I’ve been trying multiple apps to support this methodology, but eventually I stick to Google Tasks app 2....

2024-01-02 · 1 min · timor