Searching Todo’s in Code

Happy 2016! It's been a while since I've gotten something up here. 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 … [Read More]

2016-01-11

Category: Tech

Tags: automation, 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: automation, 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 … [Read More]

2015-10-24

Category: Tech

Tags: textexpander, automation, 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, automation, 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 … [Read More]

2015-09-12

Category: Tech

Tags: pelican, javascript, scripting


Backup Your Email with Getmail

It's always a good idea to keep backups of data you can't replace, including email. For the last few years, I've had a script that automatically backs up my Gmail account. Since switching to Fastmail, I figured I should continue doing the same thing. It turned out, it was pretty … [Read More]

2015-09-06

Category: Tech

Tags: automation, email, backup


Using Contacts.app with TextExpander

Changing your email or phone number isn't fun. You have to tell everyone, update all of your online accounts, and make sure your TextExpanders are up-to-date with the right information. One of the places I will always update is my contact information in Contacts.app, so why not just use … [Read More]

Updated on 2015-09-20

Category: Tech

Tags: textexpander, automation, javascript


Filling Forms with PDFPen and Javascript

My adventure with Mac Javascript Automation continues. Things still aren't easy and the documentation is poor, but I'm finding that it's still easier to write automation scripts in Javascript than it ever was with Applescript. Every month I need to fill out four receipts in a PDF form that I … [Read More]

2015-06-06

Category: Tech

Tags: automation, javascript, applescript


Automatically Attach tmux in SSH Session

I frequently work in ssh sessions and have found terminal multiplexers like tmux to be invaluable. The problem I was constantly facing was having to re-attach or create a new session each time I would ssh into a machine. Sometimes I would accidentally create a new session when one already … [Read More]

2015-05-09

Category: Tech

Tags: automation, bash


Apple Watch for Cycling

I ride with a Garmin 810 with a cadence/speed sensor1. I wanted to compare the Garmin to the Apple Watch for a bike ride. First Impressions Starting the workout on the watch is nice. Two-three taps and you're starting a workout. What I didn't find ideal is that … [Read More]

2015-05-03

Category: Tech

Tags: cycling, applewatch

© Ryan M 2023. Built using Pelican.