I had an absolute pain getting Vagrant and MySQL Workbench to play nicely — here’s the fix!
Another perspective on the most dangerous word in software development.
Google will tell you how to post arrays, but what if you need to determine the name of the variable that was posted?
I recently updated a large plugin from ACF (Advanced Custom Fields) to CMB2 (Custom Meta Boxes v2) and I’m glad I did — here’s why!
I was recently asked “How complicated is programming, really?” and wasn’t quite sure how to answer — here’s my best attempt!
Changing a database table prefix is easy and here’s the simple step-by-step guide! For WordPress installations, it’s essential!
This post is short — no intro to UNIX file permissions or a plethora of commands, just how to easily setup WordPress file & database permissions!
So you need to get a subtring between two strings? A quick Google returns about 101,000 results, the first three of which are from StackOverflow and solve the problem for rather specific use-cases. I wanted to solve the problem once-and-for-all in a more general-purpose way.
Unidimensional arrays and objects can be converted by casting (e.g.
$array = (array) $object; /
$object = (object) $array;) but if multidimensional only the first tier is converted. Here’s the solution!
When a full RDBMS is overkill, you can use Excel to model relational data over multiple spreadsheets. Simple but surprisingly powerful!