Things I Have Written

Hugo Shortcode For Custom Image Handling

On my generously sized list of improvements I need to make to this site are a couple of image handling items. I crossed off one of those today, after going down a Rabbit Hole while writing another post that I intended to publish today instead of this one.

Up until now, when I’ve put a screenshot image in a post on this site, I’ve just linked to it directly, which causes a couple issues. First, there’s the image sizing issue – screenshots are high resolution and so appear massive when just linked to inline like that. Second, alignment preferences and captioning can be an issue.

Hugo does have a figure shortcode, but as far as I can tell, it doesn’t have any way to set the image alignment. It does support setting a css class for the figure, but I couldn’t find a a way using css to actually …

(Read More)

  MacStories Shortcuts Icons    

This might fall into the frivolous category for a lot of people, but I make a lot of home screen icons for shortcuts I use frequently, so I enjoy the MacStories Shortcuts Icons tremendously.

I’ll even admit to going a little nutty and replacing several of my app icons on my iPhone home screen with them, using them as app launchers rather than icons for shortcuts, but that’s another story. I wouldn’t recommend that for most people, as it makes opening an app into a bounce-through-shortcuts experience.

Still, it’s fun to experiment with alternate looks that Apple won’t give us.

But if you create lots of shortcuts and put icon shortcuts to your actual shortcuts (whew!) on your home screen, these will help give personality to them as well as make them easily and quickly identifiable for you.

(Read More)

  Permalink

Shortcuts for Blog Posting – Taxonomies

As someone who does a lot of work on the iPad, I have always wanted to be able to create efficient workflows for posting things to my various sites. This being a site that I own, it’s no exception.

One downside to moving the site from Wordpress to Hugo is that posting is basically a matter of putting the article content into a specific part of a markdown template, putting category and tag information into their designated part of the template, moving the edited file to the desired location for the post to appear, and recompiling the site with the “hugo” command.

I already knew I was going to make a shortcut to handle posting to the site for me, for the sake of ease and consistency. The beauty of automation is you never fat-finger a template edit and wind up having to fix something later …

(Read More)

RSS Feeds

I have RSS feeds working to my satisfaction now. You can find them on my RSS links page.

There are feeds for the following topics:

Use them only for the power of good, and never for evil.

Working Copy WebDAV Server

I’m an avid user of Working Copy, the brilliant iOS Git client from Anders Borum. Apparently I still have a few things to learn about it though, as I discovered while listening to Episode 71 of the excellent iPad Pros podcast.

It turns out that in order to solve the problem of being able to browse and work with Working Copy repos from directly within Panic Code Editor (another iOS app that I use every day), Anders bestowed upon Working Copy a built-in WebDAV server. Fire it up, create a server entry in Code Editor pointing to the WebDAV server IP, and get to work.

The best case scenario is that when Panic updates the app, they allow direct access through Files app integration, since Working Copy can act as a Files location provider, but in the meantime, this solution works pretty well. …

(Read More)