SuperGeekery: A blog probably of interest only to nerds by John F Morton.

A blog prob­a­bly of inter­est only to nerds by John F Mor­ton.

Installing Imagick in Valet

When­ev­er I update to new ver­sions of PHP in my local instal­la­tion, I need to rein­stall Imag­ick. Since I look up these steps every time, I’m doc­u­ment­ing them here so future me can remem­ber this. Is Imag­ick real­ly not installed? First you might have it installed on your machine. Does this return a ver­sion num­ber? con­vert ‑ver­sion If so, you have it installed but it might not be wired up for your PHP ver­sion.… + read on


Fixing a MariaDB database that has a corrupted root user password.

In one ter­mi­nal win­dow I did this: echo $(brew –pre­fix Mari­aDB) That gave me the path to my Mari­aDB of: /​usr/​local/​opt/​mariadb Then I ran this in that same win­dow: /​usr/​local/​opt/​mariadb/​mysqld_​safe That start­ed Mari­aDB suc­cess­ful­ly. Then I opened a 2nd ter­mi­nal win­dow. sudo $(brew –pre­fix mariadb)/bin/mysqladmin ‑u root pass­word I fol­lowed the prompts to reset the pass­word to ”, i.e. blank. Then I killed the Mari­aDB cur­rent run­ning by enter­ing (in the same win­dow I… + read on


Synology, Plex, ports and missing URLs

I’ve had a Syn­ol­o­gy for many years, and the inter­face has changed over time, obscur­ing use­ful infor­ma­tion for installed apps. One of my favorite apps to run on it is Plex. In the Syn­ol­o­gy inter­face, it used to be easy to open Plex. The URL was shown in the Pack­age Cen­ter” when look­ing up the app. Below is a screen­shot of how the inter­face used to look. This is not a screen­shot I cre­at­ed.… + read on


Setting up Laravel Forge and DeployBot.

I’ve used Lar­avel Forge for quite a while in my work­flow. It’s a con­ve­nient way to set up servers, quick­ly add secu­ri­ty cer­tifi­cates, and deploy sites. I’ve got a num­ber of my own sites and client sites using it and I’ve been very pleased with it. The Lar­avel Forge deploy­ment process The piece of the process I’ve been think­ing about recent­ly is the deploy­ment method I’m using in Forge. The deploy­ment method built into… + read on


Yeoman generators, the file system and symlinks.

Npm Updated Version Using Symlink Feature

I write and main­tain a Yeo­man gen­er­a­tor called Build A Ban­ner”, aka BAB. As you might guess from the title, the gen­er­a­tor helps in devel­op­ing ani­mat­ed dis­play ad ban­ners. It cre­ates a direc­to­ry with cus­tomized HTML, JS and CSS starter files, builds a small devel­op­ment serv­er with live-reload­ing, and has work­flows for opti­miz­ing and deliv­er­ing ban­ners to a media com­pa­ny. We use it all the time at JMX2. Although I’ve been main­tain­ing this repo… + read on


Removing Craft CMS plugins that you can’t uninstall

Removing Plugins You Cant Uninstall

I was recent­ly updat­ing my site and decid­ed to use Michael Rog’s Word­smith plu­g­in for some text manip­u­la­tion. His Word­smith plu­g­in includ­ed some fea­tures that I liked that my own cus­tom plu­g­in, a sim­ple port of Hack­saw, did­n’t include. I had cre­at­ed this plu­g­in when Craft 3 was ear­ly in devel­op­ment, a time when there were many few­er plu­g­ins avail­able and no plu­g­in store at all. Installing plu­g­ins through Craft 3’s Plu­g­in Store makes… + read on


Using aliases on the command line.

If you use the com­mand line and you’re lazy, this is for you. I’ve picked up a lot of tips in cus­tomz­ing my com­mand line over the course of many years. Most of them I aban­don after the new” wears off, but a few stick around. Specif­i­cal­ly, I have some alias­es that I find use­ful enough that they’re part of the set up process when I get a new Mac. (Yes, these are Mac… + read on


A Checklist for the Craft Plugin Store

Getting Into The Plugin Store

Like many of my posts here, this is anoth­er note to myself to help me when I have ques­tions about get­ting things done. I recent­ly fin­ished Pic Puller for Craft 3, avail­able in fin­er Craft 3 plu­g­in stores every­where. But the point of this post is how it actu­al­ly got there. The con­ver­sion of the plu­g­in from its Craft 2‑compatible ver­sion to Craft 3 was the first step of the process. Andrew Welch’s Plug​in​fac​to​ry​.io… + read on


An S3 bucket policy to allow full-access for a single bucket.

When I have a new project that requires some Ama­zon S3 stor­age, I try to do the right thing” for secu­ri­ty by cre­at­ing a new user and a new buck­et entire­ly. I don’t want to share any cre­den­tials across projects. That means after I have cre­at­ed my S3 buck­et I neeed to assign a user with the appro­pri­ate per­mis­sions. For me, that typ­i­cal­ly means I want this new user to have full access to… + read on


Keeping up with the Instagram API

On Jan­u­ary 30, 2018, Insta­gram post­ed a dep­re­ca­tion notice for The Insta­gram API Plat­form. There is a new­er API called the Insta­gram Graph API. The new­er API’s focus is for busi­ness­es, not indi­vid­ual accounts though. This is the 2nd major change made to the API. The first major change was in Novem­ber 2015. If you’re curi­ous, here’s the announc­ment. The changes intro­duced a new app review process and lim­it­ed 3rd par­ty access to the… + read on