I was catching up on some of the specifics of the new default theme that shipped with WordPress 4.7, Twenty Seventeen. When I saw this: We’ve all seen it a thousand times. There’s a filter that just needs a basic value, but since add_filter requires a callback function, we have to go out of our way to define […]
I get this question all the time: Hey man, how can I learn to do what you do? -Random citizen And I can probably guess why they are asking it too.
Today I was writing a bash script that needed to reference a time in the past relative to the current UTC date. For instance, if today is March 31st, 2015 UTC, what month was it exactly one month ago? Answer: February However, I found it was less than trivial to actually get the correct answer […]