Debugging a vue powered electron app with webpack in Webstorm
QMK powered hand-wired numpad/macro keyboard on Linux
Kindergarten diseases and golang – How to learn something while you die
Making a somewhat secure remote backup for my Frankencloud using gocryptfs
Replace symfony service in a codeception functional test
I have a love/hate relationship with codeception. When it works, it’s my prince charming on a white horse coming to rescue me from the plight of testing. But ever so often it’s a convoluted and badly documented mess that wrecks havoc to my productivity as I frantically search the net for the one blog post that could help me out. Maybe this can be one those blog posts for somebody else. It’s about how to replace a service (i.e. with a mock) inside the symfony container in a functional test.Continue reading
An empty string does not need to be empty. Just empty enough.
PHP’s “empty” function is a weird little fellow. Basically, it tests if a given variable exists and is not evaluated to false
!isset($var) || $var == false And since PHP and has a unique interpretation of what counts as false, I try to replace it with a more explicit counterparts whenever possible. It still creeps up on me sometimes, in places long forgotten, written by a much less careful version of myself. Like a few days ago, when a colleague of mine walked into my office complaining about why our internal system didn’t except his CSV file anymore.
PHP, Apache, and the session that could not die
Loss of Nepi
Two years ago, I got my wife pregnant. That’s one of those sentences, I never imagined saying. “I got somebody else’s wife pregnant”, sure, totally possible. But “my wife”? Still sounds weird. And it wasn’t by accident, either! This kid could not have been more planned, if it had been pre-ordered online.
How use Trac – the issue tracking system – inside Phpstorm’s tasks
I outed myself as a big JetBrains a couple of times over and I am still madly in love with almost everything they do, despite them not paying me one cent for this endorsement! Heck, I even have to pay for their products, these ungrateful bastards! Still, they are the best and usually I am very happy with their products. But even they screw up sometimes.