Elasticsearch cheat sheet Search Count AND query OR query Query with date range Sort by a date containing field Query with regex Point In Time This generally creates a snapshot of the current...
Odroid Sensors Not long ago I bought an Odroid ARM based mini PC, and among many issues, turned out that the system uses some rather strange scheme for controlling the fan speed....
“Kubernetes network isn’t reliable” Recently, while trying to figure out an extrelemly annoying problem I was having with Kubernetes – I stumbled upon this marvel of a github issue. So if you ever need...
List VirtualBox VM’s shared folders In my current job we work heavilly with kubernetes clusters, working on a minikube master. As part of out internal toolkit for managing these, I needed to get a full...
Left join with query builder In my “new” job – we’re working entirely with Symfony, thus I decided to get my hands dirty and rewrite my eternal “Car Expenses” project in Symfony. What I found...
Oh, shit, Git?! A wonderful cheat sheet shared with our team by a colleague of mine. O, shit, git?! Yeah, thanks, Niki!
PHP Recursive copy/delete functions In a recent project I needed quite often to delete or copy whole directories. And since PHP doesn’t seem to have such – I created these: Remove Directory Copy Directory
Pull GitHub repository with code I’m currently developing a company WordPress plugin platform, which should allow you to update and manage company proprietary plugins without making them public in WP’s plugin repository.As part of it...
Gutenberg Custom Post Block WordPress FSE is still in its infancy and its functionality for archive loops is really limited. We needed a query loop that displays different content under different circumstances, which neither...
Pest Art After delaying this for a really long time, last few weeks I finally pushed myself to rework this long abandoned site. So for those that don’t know – this is...
HTTPS on localhost The usage of https is the norm now, and so more and more we’ll need to use HTTPS even for local development. So after some mixed results – this guide...
How to find which program uses hotkey with xdotool So, recently I discovered that the “generate” functionality of my IDE (alt+Insert) has been hijacked by another program. Or to be precise – when I press this combination – nothing...