The instructions are based on Drupal 8.2.6. Parts, such as upgrade random_compat, might not be applicable in later versions. I can’t make any guarantees about running these in earlier versions. Install Christian Riesen’s OTP (One Time Password) From the drupal site root run: composer require christian-riesen/otp Upgrade random compat Drupal…
Drupal 8 Redis Configuration
As of today (February 14, 2017) the Redis plugin on D8 is on beta 1 and appears to be pretty stable, however the documentation appears to be lacking a bit. (I know, I should contribute and maybe I will later this week). There’s a lot of different advice/instructions for setting up…
How to steal a house
https://archives.fbi.gov/archives/news/stories/2008/march/housestealing_032508
Google Search – Has anyone ever accidentally became a majority stakeholder
Stack Exchange often has interesting links that lead me to interesting thoughts which lead to disappointing search results. I don’t remember the full path but this morning I was wondering if anyone ever accidentally become a majority (or maybe even a minority) stakeholder in a company. For instance, maybe they…
Chrome on iOS is WebKit and not Blink
If I’m reading this post correctly, when you install Google Chrome on your iOS device you are not getting Google’s preferred rendering engine, instead you are still getting Apple’s. So effectively, Google Chrome on iOS is just a skin on top of Safari. Due to constraints of the iOS platform, all browsers…
Potential New CSS Properties
Flow Root Hopefully this one lands. The property display: flow-root; would essentially allow a container to grow with the inner content, even if the inner content was floated. Hex RGBA I hate when I need to take an RGB value and make it transparent. I’d love to have 8-digit hex even…
HTML Select placeholder
If a select element has a required attribute specified does not have a multiple attribute specified has a display size of 1 AND if the value of the first option element in the select element’s list of options (if any) is the empty string that option element’s parent node is…
The WordPress post that kept 404’ing on Publish
This was a fun one. A client was updating a simple page with availabilities for trips that they offer. This wasn’t a custom post type, there were no custom fields and really not a whole lot of plugins that would interfere. But when they hit Publish all they got was “Page not found” Here’s…
Preferred WP/ACF image usage
In ACF, try to never use the_sub_field() on an image and always have ACF return an image array, especially for larger images. Calling the_sub_field() directly will bypass WordPress’s image sizing code and should only be used if you have an explicit size that designers are cropping to in Photoshop. To…