Posts
Call it The GCDLADB if you like.
Awesome Hugo Resource - Config Variables Summary 1 min read Jul 8, 2019 | Updated: Nov 22, 2019 14:34
I’m working remotely from a desk on the 3rd floor of the MSOE (Milwaukee School of Engineering) this morning and just ran into a problem with this blog… some of my single and double quotes are rendered as “curly quotes” so I can’t effectively copy and paste them into a command line. While searching for a fix I found an awesome Hugo resource. It lists, among other things, ALL of Hugo’s standard configuration variables! The settings I’m most interested in right now are part of BlackFriday, Hugo’s markdown rendering engine. ...
Replace OSX Terminal with iTerm2 for SSH 1 min read Jul 22, 2019
My memory isn’t what it used to be, but I have this blog. 😄 So when I realized that my primary work machine, an iMac, had not been configured with iTerm2 as its default terminal for ssh, I went looking for the solution…again. Found it here! The trick is to open iTerm2 and follow these two simple steps… Q: How do I set iTerm2 as the handler for ssh:// links? A: Two steps: Create a new profile called “ssh”. In the General tab, select the Command: button and enter $$ as the command. ...
Missing Oral History Transcripts in DG - Fixed 2 min read Jul 19, 2019
I recently constructed a new, local/development instance of ISLE (see my previous post) largely in order to debug a mystery in Digital.Grinnell’s display of oral histories. My Trello card for the issue reads: Our newest AOH entries, and some older objects, will not display a transcript after upgrade to the latest version of the OH module. OHScribe is needed to aid in re-processing transcripts for these objects, and some XDebug work will also be required. Engaging XDebug and PHPStorm allowed me to peek inside the relatively complex oral histories (OH) module where I found that some of our OH objects were missing key Solr field elements, like or_transcripts and or_speaker. ...
Debugging PHP in ISLE: a Kludge 2 min read Jul 19, 2019
In an earlier post I chronicle the exhaustive steps taken to create a “debuggable” local/development instance of Digital.Grinnell that behaves exactly like the real thing, except with a much smaller, portable FEDORA repository under it. I’m claiming success on that front, but there is one glaring kludge in the process that I have yet to work out. The Kludge So, my debugging of an ISLE stack involves the coordinated configuration and engagement of XDebug inside the Apache container, and PHPStorm, along with persistence of the stack’s PHP codebase… and therein lies the rub. ...
Compiling SCSS (SASS) for This Blog 2 min read Jul 19, 2019
While working on another post I finally made the decision to improve the appearance of this blog a bit, and unfortunately I’d forgotten exactly how to do that. Even more unfortunate, I never blogged about the process so I had to “discover” the details all over again. 😢 This post is intended to remedy that. SASS The theme used here, m10c, employs .scss, or SASS (Syntactically Awesome Style Sheets) files. Subsequently, a SASS compiler is required to process them and produce suitable . ...
Debugging ISLE-ld (Local Development) in PHPStorm 4 min read Jul 12, 2019
Debugging ISLE on a Mac This guidance applies to debugging PHP code in a local ISLE-ld, that’s http://isle.localdomain, instance using PHPStorm. Modify ISLE’s docker-compose.override.yml Before engaging PHPStorm we need to make one change to our ISLE-ld configuration by running a docker cp command, making a change to our docker-compose.override.yml file, and restarting the stack. Here are the commands and procedure. Workstation Commands cd ~/Projects/ISLE mkdir -p persistent/html docker cp isle-apache-ld:/var/www/html/. ./persistent/html The above commands will make a new ./persistent/html directory on the host, if one does not already exist, and the docker cp command will copy the current contents of the Apache container’s /var/www/html directory to the host. ...
Lessons Learned: Vacationing In Europe 2 min read Jun 25, 2019
I just returned from 12-days of vacation and travel that took me unexpectedly to Paris and northern Finland, and as-expected to Norway (nearly all of it), and Iceland (expected, but not as promised). Since this is a professional blog I won’t elaborate here, but look for my “personal” blog at https://blog.summittdweller.com/posts/, a perpetual work-in-progress. I will briefly comment on two things: It IS possible to work remotely from Europe, and even from a cruise at sea, but I found it difficult to be really productive. ...
A Dockerized Omeka-S for Development and Staging 3 min read Jun 10, 2019
Update: 24-July-2019 The Docksal process outlined here is NOT working reliably. See this new post for updated info. My fork of the dodeeric/omeka-s-docker project can be found at McFateM/omeka-s-docker, and it introduces a new docker-compose.yml file for spinning Omeka-S up on any Dockerized server, and a Docksal .docksal directory to enable local development using fin up. Note What follows is reflected in the README.md file at https://github.com/McFateM/omeka-s-docker. System requirements for local development of this project currently include: Docker (Community Edition) Git Docksal The workflows mentioned here were created on a Mac workstation and successfully pushed to a staging environment running Ubuntu 16. ...
Free Ports 80 and 8080 in OSX 2 min read Jun 7, 2019
Ok, this is info I should have documented here a long, long time ago. For many months now this tidbit of wisdom has lived on a post-it in my office. Not the best strategy for someone who works from home and travels a lot. Apparently OSX ships with built-in Apache and/or NGINX servers, presumably to facilitate creation of web content that’s local to the machine. Well, in my Dockerized workflows those port assignments typically get in the way. When they do, like when I do a fin up to launch a local development project using Docksal, I see error messages like the following in my terminal: ...
Drupal Flyover Camp 2019 2 min read Jun 1, 2019
The last couple days I attended Drupal Flyover Camp 2019 at UMKC in Kansas City, MO. I picked up on a few tricks and tools that I thought I’d mention here, just so I don’t forget some of the details. Friday - Day 1 My favorite presentation of the day was Visual Regression Testing with BackstopJS by David Needham. There’s some cool tech here that I think could be very useful with things like Digital Grinnell, Rootstalk, and even this blog. ...