[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. Sadly it wasn’t that easy to measure that and collect statistics. It’s also not that practical, when you’re developing improvement as you can’t see the difference. ...

2024-01-24 · 2 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. It’s simple, not to say primitive, but it integrates nicely with Gmail and Calendar and just works. At least on mobile, experience is ok. On desktop it runs as a small extension to Gmail and this sucks. ...

2024-01-02 · 1 min · timor
Zwift

How to run Zwift in full screen

Zwift runs by default in windowed mode, with ugly start menu at bottom and title bar. It’s not a big deal, just something irritating. It might be as silly as funny, but I wasn’t able to find a good answer for it. There are instructions but, where the heck is “Settings” button? 😄 Eventually, accidentaly I found it! So let me share, with pictures 😎 Find in top-right corner icon with your points and click it ...

2023-12-28 · 1 min · timor
[Photo by RealToughCandy.com](https://www.pexels.com/photo/person-holding-a-small-paper-11035539/)

Use Github with SSH on port 443

Today, I was trying to pull/push repos from Github and I was getting timeout errors. I use SSH for clonning and I prefer it this way over HTTPS. I was looking for the reason but it felt like a temporary glitch, either on Github’s or my provider’s side. I was googling for anything, that could help me and I found1 the way to use Github ssh clone/push/pull via SSH (as I want), but via port 443… Simulating HTTPS traffic… OK… ...

2023-12-26 · 1 min · timor

Ubuntu - Key is stored in legacy trusted.gpg keyring...

Since upgrade to Ubuntu 22.04 keep seeing those warnings: W: http://ppa.launchpad.net/yubico/stable/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: https://updates.signal.org/desktop/apt/dists/xenial/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: https://repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: https://packagecloud.io/AtomEditor/atom/any/dists/any/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: https://packagecloud.io/slacktechnologies/slack/debian/dists/jessie/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: https://apt.syncthing.net/dists/syncthing/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. I already cleared all of them in my Docker images, but somehow I didn’t fix my station. ...

2022-10-21 · 3 min · timor

Ford S-MAX - kasowanie ostrzeżenia wymiany oleju

Auta się zmieniają a problemy z nimi pozostają te same :) Kasowanie ostrzeżenia wymiany oleju 1 Przekręcić kluczyk w stacyjce do drugiej pozycji, gdy zapalają się wszystkie kontrolki (nie uruchamiamy silnika). Wciskamy równocześnie pedały hamulca i gazu do oporu, trzymamy do zakończenia procesu. Pojawi komunikat o rozpoczęciu resetowania inspekcji. Możemy zatwierdzić OK. Czekamy aż pojawi się komunikat: Zatwierdzamy OK. Dopiero teraz zwalniamy pedały. https://forum.fordclubpolska.org/showthread.php?t=108532  external link  ↩︎ ...

2022-09-03 · 1 min · timor
[Photo by Christina Morillo from Pexels](https://www.pexels.com/photo/eyeglasses-in-front-of-laptop-computer-1181253/)

Automatically add ticket ID to every commit message in Git

I don’t know how it is in your company, but in mine it’s considered a good practice to add ticket numbers to commit messages. It allows to easily determine why something was changed, etc. Makes sense, but this also means, that I should be adding this ticket to every message… And this doesn’t make sense for me. I will accidentally avoid it from time to time or make a lot of typos. ...

2021-11-09 · 2 min · timor

Resize images from command line on MacOS

I was updating my blog and needed to generate few variants of images, in different resolution. Option 1 - sips There’s simple, builtin tool sips, that can be used for simple resizing 1: Resize single image sips -Z 36 orig.png --out static/favicon36x36.png -Z - maintain image aspect ratio 36 - maximum height and width It can be also used for batch image processing: Warning ...

2021-11-07 · 2 min · timor

Homebrew - uninstall formula with dependencies

I use brew extensively on MacOS. It’s just as convenient as many Linux package managers. What I don’t like, it leaves dependencies after removal of formula. There’s simple way to clean it up by running one command 1. Uninstall with dependencies brew uninstall FORMULA brew autoremove Info ...

2021-11-05 · 1 min · timor