Farmers and Miners

,

A farmer works the land for generations and, if careful, the land is worth more with each passing year. A miner extracts what he can from the land and, when done, it’s worthless. Most business people are either farmers or miners and we need both. The problem is miners who mistake themselves for farmers.

The Hotel on Pluto

,

Ahwahnee, Majestic, planet, not a planet. Does it make any difference? For some people it’s a big deal. For me, not so much, but if I can just get investors for my hotel on Pluto, I can make the people who care very happy.

The Forgetoir

,
Picture of abandoned railway station in the desert

As we edge toward the third decade of the 21st century, I have decided that it is time to forge ahead with a new literary genre — the forgetoir, a record of all the things we’ve forgotten or, at least, are trying to forget.

Bug Zappers and Thoreau

,

Thoreau loved swamps. Modern Americans love swamps too, as long as they surround them with bug zappers. I think there’s a lesson in there.

Changing WordPress Permalinks from Date-Based to Postname Only

,

It seems like nothing could be simpler. But there are some gotchas with respect to rewrites. The big challenge, though, is that your existing URLs are stored as serialized data, which means that if you do a search and replace on the database, the universe ends, or something like that.

Multi-Dimensional and Associative Arrays in Shopify Liquid

,

You think if you can just find the right spot in the documentation, you can figure out multi-dimensional arrays in Liquid. Actually, you can’t. There is no way to create them. But this clever(?) but cumbersome workaround will get the job done.

Syntax Highlighting for Liquid

,

A simple “brush” for Syntax Highlighter Evolved which will not only add syntax highlighting for Liquid, it will also let you simply and easily add a Liquid code block in Gutenberg in Wordpress. Handy if you are going to blog about Liquid or Shopify.

Shopify Breadcrumbs based on Menu Structure

,

Shopify breadcrumbs can be hard because there’s no way to organize them by default and Shopify has no way to establish a parent-child relationship between collections. But you can use your menu structure to create just such a relationship to build intelligent breadcrumbs. Here’s how!