• Posting to a Github-hosted Jekyll blog on iOS

    The text all gets written first in Drafts. When writing the text should always come first. Titles, tags, and images are a distraction; they can and should be addressed later. Also, Drafts is a universally great place to put any text, and those fragments can later turn into posts, making it the perfect place to start.

    From Drafts, the text is sent to Workflow.

    The command to do this is just a run workflow action with the name of the workflow to be run.

    The Drafts’s action can also be created from Workflow, which takes less taps.

    A long, complicated workflow then

    • requests a title
    • requests tags
    • adds correctly formatted metadata1
    • creates a correctly named text file for the Jekyll blogging platform
    • saves the file to the correct path and GitHub account using Working Copy

    The workflow can even add images. IMAGE1, IMAGE2 etc. are used as text placeholders when writing, then Workflow converts those to properly formatted links and requests the files to be uploaded be chosen from the system photo picker.

    Finally, I just need to enter a commit comment and push to Github where their servers will process the text file using Jekyll and publish.

    1. YAML front matter 

  • Show hidden files and folders on Mac OS

    The old, hard way of showing hidden files and folders on Mac OS:

    1. Google “show hidden files Mac”
    2. Copy text defaults write com.apple.Finder AppleShowAllFiles true
    3. Paste and run in Terminal
    4. Paste and run in Terminal: killall Finder

    New, better way in Sierra:

    1. ⌘⇧.
  • > On That Workflow Acquistion

    Gabe, On That Workflow Acquistion, on March 22, 2017:

    I think this is bad news for anyone that relies on Workflow to make iOS useful… I’d love to be wrong on this front, but I don’t think automation is a priority for Apple or for iOS.

    I agree. The small, abused optimist in my brain hopes this will turn out as successful as Siri or TestFlight, but the pragmatist is afraid my most productive app on iOS is dead. At least they didn’t pull it from the store. Yet. And now it’s free!

  • > Disable Auto-Play Videos

    Kirk McElhearn, Stop Auto-Play Videos from Annoying You in Your Browser on macOS, on March 13, 2017:

    • Here are the direct commands to activate and deactivate this feature in Safari from Terminal, without displaying the Debug menu:

    defaults write com.apple.Safari WebKitMediaPlaybackAllowsInline -bool false

    defaults write com.apple.SafariTechnologyPreview WebKitMediaPlaybackAllowsInline -bool false

    defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2AllowsInlineMediaPlayback -bool false

    defaults write com.apple.SafariTechnologyPreview com.apple.Safari.ContentPageGroupIdentifier.WebKit2AllowsInlineMediaPlayback -bool false

    Amen.

  • > The Internet Is Unstable

    Parker, The Internet Is Unstable, on February 14, 2017:

    Why is it, therefore, that we have built the World Wide Web for a stable & fast Internet connection, rather than the much more common unstable & slow Internet connection?

    Too often I see apps fail miserable when on a flaky connection, or worse not work at all with no connection. This is unacceptable. Parker promises to design for the reality not the Silicon Valley dream.