Set a default style for the Pencil tool in Sketch
This article is another one for the search engines. I googled for a solution to this issue for some time and failed to find appropriate documentation, including the docs on the Sketch website. It may be because “sketch” and “pencil” don’t unearth the content I’m seeking, or because I was …
trigger a bitbucket pipeline based on a branch that has a tag
It must be acknowledged off the bat: it’s not possible. But by adding a step at the beginning of your pipeline, you can simulate the desired effect. Out of the box, Bitbucket Pipelines allows you to trigger a build based on either a branch or a tag, but not both. …
how to create custom docker images for bitbucket pipelines on macOS
This is another article in the series of Guides I Wish I’d Had when I needed to accomplish something. In this case, that something is creating a custom Docker image. More specifically, creating an image on macOS for use with Bitbucket Pipelines. about docker What is Docker? It’s a means …
dynamic variable substitution in git
This article is written for my Future Self. It’s the information I wish I’d had at the time I needed it. My WordPress infrastructure requires me to update the version number of a plugin or theme in order to deploy it to a production environment. (The tag kicks off an …
wordpress multisite on bluehost
This article is another one for the search engines and the two to three people who might find this useful. A while back I needed to install a WordPress network (or multisite installation) for a client on Bluehost. As explained on WordPress.org, there are two types of installations: subdomain and …
flywheel support for remote wp-cli commands
[UPDATE: as of 2022.01.13, Flywheel supports remote aliases without taking the extra steps detailed below.] One of the most indispensable tools that I use to manage the fleet of client websites I oversee is WP CLI, a command-line interface for WordPress. Clients whose websites I maintain are hosted on Flywheel …
multiple github accounts, custom ssh hosts, and git url aliases
Because services like GitHub and Bitbucket require each user account to have unique SSH keys, if you have more than one account on those services, it’s necessary to generate multiple SSH keys. First, we’ll generate the keys. $ ssh-keygen -t rsa -f github-user1 # key for user1 $ ssh-keygen -t …