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...
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!
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...
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...
WordPress Logging Helper Recently I developed a simple plugin, and to ease debugging – I decided to create a simplistic logging solution. This came in the form of a helper class, that I...
Gravity Forms custom checkbox element Recently, for a customer project we needed to create a custom checkbox element for Gravity Forms, which lists all entries of a specific custom post type as check boxes. During...
Simple Masonry This sill achieve a simple masonry layout, similar to those of Pinterest. The grid will be three rows in large screen sizes, two rows in medium screen sizes and one...
Linux debugging cheat sheet I gotta admit – I “stole” this from nixCraft. But it’s so brilliant, I just need to share/keep it.
Connect to your android phone and copy files under Linux OK, so MTP is a protocol, that’s implemented in Linux just as good as my Tennis skills. I’ve never played tennis. So usually it’s a tedious job to find some...