Tag: scripting | RSS Feed

Syncing Photos from Dropbox to the Photos App on iPhone

I've chosen to not use iCloud Photo Library for a few reasons. I have a decent system set up for storing my photos in Dropbox, but I've always wanted to have my photos local on my iPhone. Now that iOS 10 has some cool features like memories and image search, I've been looking for a way to have my photos on my iPhone and also in Dropbox. [Read More]

2017-01-23

Category: Tech

Tags: applescript, javascript, scripting, hazel


Setting Keyboard Shortcuts from Terminal in macOS

It's been a few months since my last post. I've spent a lot of time working on my blog, but all things behind the scenes that most people wouldn't even notice. Setting keyboard shortcuts on Mac is actually fairly easy, but it requires a lot of clicking around. Fortunately there's a way to do this from the terminal that's faster and easier. [Read More]

2017-01-05

Category: Tech

Tags: scripting, bash


Publishing from Day One to Pelican with Hazel and Dropbox

I'll be soon embarking on a long bike tour and was searching for a way to keep a journal of my trip but also post updates to a website. Day One was an obvious journaling choice, but with version 2, publishing isn't yet available. With a little poking around, it turned out to be fairly easy to export Day One entries and publish to Pelican (my static blog generator of choice). [Read More]

2016-08-19

Category: Tech

Tags: hazel, pelican, scripting, dropbox


Clearing Multiple Notifications in Mac OS X

If I haven't used my computer for a while, I'll end up with multiple calendar notifications that I have to painfully close one by one. I went searching for something that would let me close them faster, but nothing I could find did quite what I wanted. Nearly every day … [Read More]

Updated on 2016-12-04

Category: Tech

Tags: scripting, keyboardmaestro, alfred, efficiency, javascript


Moving TextExpander Snippets to Keyboard Maestro

I've been a long time TextExpander user. I use it every day for simple things like pasting my contact info or shortening urls using bit.ly. There are plenty of articles out there arguing for and against TextExpander's new subscription model. I support their decision but I can't justify $50 a year's worth of value and so I'm moving all of my snippets to Keyboard Maestro. [Read More]

2016-04-10

Category: Tech

Tags: scripting, textexpander, python, keyboardmaestro


Searching Todo’s in Code

Last week at work I was working on a fairly large refactor of our front-end. Large pieces of code were being moved around and others re-written to be cleaner and more understandable. Throughout this process, I was leaving myself todo's so that I'd remember to fix something later. Problem is, I would rarely ever go back to them. That was until someone on my team shared some bash functions they had written to make following up on those todo's much easier [Read More]

2016-01-11

Category: Tech

Tags: scripting, efficiency, bash, sublimetext


List Server Favorites in OS X 10.11 El Capitan

I'm using Alfred a lot less these days. Many of my workflows have been easier to build in Keyboard Maestro. The remaining few that are left in Alfred are ones that I heavily depend on, one of which is accessing my Server Favorites in OS X. Up until OS X … [Read More]

2015-10-31

Category: Tech

Tags: scripting, efficiency, javascript, objectivec


Using Contacts.app with TextExpander v2: Objective-C and JavaScript

I was generally happy with how I was using Contacts.app with TextExpander to create snippets for my emails, phone numbers and addresses. However, as I eventually realized, I have to have Contacts.app running for it to work. When AppleScript and JavaScript talk to applications in OS X, they have to be running. That isn't the case for C and Objective-C libraries, so I decided to see how hard it was to use the Objective-C bindings for Javascript. [Read More]

2015-10-24

Category: Tech

Tags: scripting, textexpander, efficiency, javascript, objectivec


Adding Critical CSS in Pelican

As it turns out, adding critical css wasn't trivial, but didn't take as much effort as I had originally thought. My site's layout doesn't contain that much styling, and so I simply added all of my CSS as an inline style tag. The tricky part, was getting Jinja to play … [Read More]

Updated on 2017-01-05

Category: Tech

Tags: pelican, scripting, python


Improving Your Site's Load Times

While reading through my RSS feeds the other night, I came across this article from One Tap Less about what he did to improve load times on his site. My first thought was, "I use a static site, I don't need to worry about this" and dismissed it. Then I figured, why not just try out my site on Google's PageSpeed Insights. Turns out, I had some work to do. [Read More]

2015-09-12

Category: Tech

Tags: pelican, javascript, scripting

© Ryan M 2016. Built using Pelican. Hosted on Macminicolo