Traditionally, when working with values in WordPress they would be stored in post meta. Now with the new upcoming WordPress editing experience (Gutenberg), these values are often stored right in the content. These are some of my notes on how they are stored.
There are lots of ways to target a git commit and one way that I often forget to use (but really like it when I remember) is targeting a specific git commit by the commit message.
The checksum is like a fingerprint for the file. A file is processed through a known algorithm which results in the checksum, a.k.a “hash”, which is a string of letters and numbers unique to that file, e.g. 8ab686eafeb1f44702738c8b0f24f2567c36da6d. If the file is modified, the resulting checksum will be different. This allows a quick way to […]
On the Mac OS X bash command line, you can delete all directories, with the exception of one, in the following way. If our current directory has sub-directories and we want to delete all of them except, ./really-important-do-not-delete, we can run $ shopt -s extglob $ rm -rf !(really-important-do-not-delete) $ ls really-important-do-not-delete $ original source
With the impending new WordPress block based editing experience, Gutenberg, many are preparing for the initial merge by installing the Classic Editor plugin. My understanding was that this plugin will initially suspend the new editor on their site, however this is not entirely true. Classic Editor Settings Once installed the Classic Editor plugin adds one […]
Since I’m always forgetting the format for the command line “find” command, I’ve made a note of it here.
Search tips for Twitter copied from tweet thread at https://twitter.com/TexanTruth42/status/996533468707414016
With WordPress 5.0 a new block-based editing experience will be introduced (a.k.a. Gutenberg). This new editing experience is available via the Gutenberg plugin. By adding this plugin to your (development) WordPress website, you can preview the new editing experience. At the time of this writing, Gutenberg is still under-development so I recommend only installing it […]
Authorize.Net’s Automated Recurring Billing (ARB) allows you to run subscriptions from within Authorize.Net. Once you create a subscription, it will have a status value. The status value for a subscription can be one of the following: active suspended expired canceled terminated Unfortunately, I found these statuses and when they occur a bit confusing so I […]
I’ve recently moved to using the terminal program alacritty, which does not natively do paging. This is not generally a problem since I can pipe results to less. $ ls dir-w-lots-of-files | less However, I found myself working in command line MySQL and I got LOTS of results but could not page back. It turns […]