Debugging Drupal With Docker

This week I had occasion to help resolve a customer support case. As part of troubleshooting, I stood up a local copy of the site using Docker4Drupal. This worked out really well, and I’d like to take a moment to discuss some of the benefits. It initially took a little time to configure the site with Docker4Drupal, and to get XDebug linked up. But I’m sure that if I were doing this regularly, this would have been no more than a few minutes....

2017-12-27 · 2 min · 307 words · Nathaniel Hoag

Defining Tmux Sessions

I’m still kicking with tmux, and have rounded a few rough edges since the last installment. One area of advancement has been learning about defining default sessions. To be clear, this doesn’t entail attaching to indefinitely running background sessions. This is firing up an on-demand pre-defined session. In researching support for this, I found teamocil and tmuxinator. These look interesting, but ultimately didn’t appeal to me since they are Ruby gems that introduce additional dependencies....

2017-12-22 · 2 min · 240 words · Nathaniel Hoag

macOS: Simple PHP Switcher

Recently I’ve been working with PHP applications in varying states of modernity/antiquity, and very regularly have to switch the current PHP version to accomodate the PHP flavors of the day. Homebrew un/link commands are super simple and at this point all I want is to be able to switch the PHP version with a single command. With a little bit of searching, I found a script that comes pretty close to what I need:...

2017-12-11 · 1 min · 109 words · Nathaniel Hoag

Wading Into Tmux

During a recent group debugging session at work, I was reminded about tmux. I hadn’t really used it outside of a couple of brief experiments that were little more than opening the application (and then struggling to kill it), so on this occasion I used screen. Whatever the reason, apparently now is the time for tmux! In this post, I’ll cover a few of the impediments and blessings encountered so far, since I seem to have gotten the good kind of tmux bug....

2017-12-02 · 3 min · 553 words · Nathaniel Hoag

Hugo Migration

I haven’t been very active on here lately, but hopefully that will change in the coming months. As a part of reinvigorating my technical writing and removing barriers to writing new blog posts, I converted the generator for this site from Jekyll/Octopress to Hugo. The conversion process was smooth and now the site is generated in much less than a second. Probably the biggest benefit is that dependency concerns to build and manage the site have dropped off a cliff....

2017-11-24 · 1 min · 80 words · Nathaniel Hoag