Today I Learned

Giant Monkeys Learning

5 posts by kamilgwozdz

TIL how to check the progress of a recursive grep

If you want to check the progress of a recursive grep, going trough lots of files, just sudo ls -lah /proc/[GREP PID]/fd. You'll see which files grep is accessing at the moment, which will give you an idea how far it is in the search.

You can jump to slash in zsh

After changing from bash to zsh I found it quite annoying that ⌥ + ← was always jumping to the closest white character, instead to space or slash (or some other special characters considered to be word-separators).

Fortunately it's possible to change this behaviour by editing the WORDCHARS env variable.

Source: https://github.com/ohmyzsh/ohmyzsh/issues/5108#issuecomment-233480020

Tom's Obvious, Minimal Language isn't so obvious

TIL that order really matters when it comes to Tom's Obvious, Minimal Language aka TOML.

https://gitlab.giantmonkey.de/docker/gitlab-runner/-/merge_requests/20

Breaking the runner

Today I learned that our GitLab runner deploys itself. Which means that if you push a change which breaks it, later when you'll try to fix it, it won't be there to deploy the fix.

Cloud Tasks need App Engine to be enabled

Today I learned that even though cloud tasks are a separate product now they still need your App Engine project to be enabled. Otherwise, all tasks will just hang and any attempt of forcing them to execute will result in a 500 error.