I find myself using grep (or on my local machine ag*) to sift through lots of files looking for a string. Recently, I SSHed into a server and wanted to search though a bunch of log files that had been gzipped (i.e. they ended in .gz). I didn’t want to unzip all of the files […]
Setting up your computer to allow you to SSH in using SSH keys in place of passwords is magical however there are times I want to SSH in without using the SSH keys I have setup. You can tell SSH to ignore your SSH keys with the following flag -o PubkeyAuthentication=no (see SSH config PubkeyAuthentication […]
I’m a big fan of the Gravity Forms Form builder WordPress plugin. I came across an interesting issue on a project where I was using the default value functionality and I wanted to make some notes as a warning for others (and myself) in the future.
I see lots of people get themselves into trouble when using git cherry-pick. By removing the commit from the source branch after cherry-picking, I’ve been able to avoid many of these problems.
Is an extended warranty worth it? An extended warranty is a form of insurance, and those who sell insurance make their money on the fact they collect more money than they pay out in claims. Therefore at face value, purchasing an extended warranty (or any form of insurance) is statistically not profitable. However, I have my own guidelines on when to purchase it or not.
When working with a WordPress image, I wanted the attributes for the image. The function `wp_get_attachment_image()` provides me everything I need but in a rendered HTML string, rather than a more useful array of attributes. I was surprised I was unable to locate a good way to get this information, so I wrote this code to help me.
As of this writing, WordPress has a market share of approximately 31%. I often hear people referencing the “goal” of WordPress reaching 51% marketshare. I don’t understand this goal.