Tag: automation
Create Multiple Tasks in Omnifocus on iOS
Throughout the day I think of things that I need to do after work or this coming weekend. The best way for me to not forget these is to quickly get them into Omnifocus. I've been using Drafts on my iPhone and Alfred on my Mac to quickly create tasks …
Create Dropbox Links from Alfred
I've always treated Alfred as a Finder replacement. The speed at which I can find and take action on files is faster than Finder.app or Spotlight will ever be able to do. Because of this, I want to have a quick and easy way to share Dropbox files from …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
Download Paychecks from ADP with Python
If your employer uses ADP, you'll know how terrible their website is. I always dread having to go to the website, but I like to download my paychecks every two weeks.
I started playing around with writing a script to download them using Python, but decided I should check Github …
How I use my Mac Mini Server on Macminicolo
I frequently get asked why I use Macminicolo and if it's worth it. It's a relatively expensive hobby, but it gives me so much benefit that at this point I couldn't live without it. Having an always-on Mac opens up a lot of opportunity and I'm always finding new things …
Save First Page of PDF for Expenses with Hazel
Once a month I have to submit my Verizon bill as an expense. The process of getting the PDF of the bill and then modifying it turned out to be a big pain by first reminding my mom to send the bill1, saving the first page and then submitting …
View Image Links from Pelican in Marked 2
I really enjoy writing in MultiMarkdown Composer and having Marked display a rendered version. When writing blog posts like this, images would never appear since Pelican's syntax for displaying images is {static}/path/to/image
. I looked into Marked's preprocessor abilities and figured out a nice, clean way to display …
Download Pinboard Bookmarks with OS X Tags
For the last few years, I've been using Brett Terpstra's Pinboard to Openmeta to save my Pinboard bookmarks locally. In the last few months, I've been spending more and more time trying to fix issues to get it to run reliably. Since this is something that I use often, I …
Backup Your Contacts v2 : Yosemite’s Javascript Automation
I recently read MacStories' article and was curious how easy this was to learn. Applescript never made sense to me and I spent more time trying to piece together examples than actually writing anything meaningful. I don't trust iCloud to keep my contacts safe, and I'm still using my previous …
Back up Your Contacts with Pythonista
While it hasn't happened in a while, I have lost or had issues with contacts in iCloud. I haven't found a reliable way to automatically back up my contacts on my Mac, but Pythonista offers a simple way to back them up.
Pythonista offers a great library which gives you …
Instagram for Slogger
In early 2013, I discovered Slogger and loved the idea of journalling about more than just what I had to say. What I was listening to at a given time is just as important as what I was thinking. However, there wasn't an ideal way to log Instagram posts without …
Global Shell Variables for Dropbox Paths
I have multiple computers running Dropbox, all of which have different folder paths to where the Dropbox folder is located. I wanted to have a universal way to find and navigate to the folders regardless of what computer I was on.
In most cases, setting a variable to your Dropbox …
Find images with No Exif Dates
My Dropbox folder is full of images claiming to be "missing dates." 1 Some of these photos were thumbnails or images from DayOne that didn't necessarily need dates, but others were real photos that for whatever reason didn't have dates that Dropbox recognized.
I did some poking around, and found …
Log Foursquare Locations in Markdown
I've always used Foursquare as a way to remember the places I had visited while traveling. Foursquare isn't really meant to be used in this way, and as a result, they don't make it easy to answer the question, "what was that restaurant I went to last time I was …
Show Time in Multiple Time Zones with TextExpander
I'm really bad at converting a time to other timezones. Now that the company I work for has offices in multiple countries, scheduling has become much more difficult. In an effort to eliminate the need for people to convert times themselves, I wrote a TextExpander snippet to take care of …
Quick Sharing with Launch Center Pro and Dropbox
I've been finding more and more reasons to use Launch Center Pro recently. With the fairly recent addition of Dropbox actions, I've been finding new ways to share links quickly.
I take a lot of quick photos that I never plan to keep around. In most cases, it's just to …
Airport Codes with Alfred
Here's a quick Alfred workflow to get the airport code for a given city or the city based on an airport code.
You can search either by the 3-character airport code or by the city name. You can make your search specific enough to return one result, such as "dublin …
Travel Notifications with Launch Center Pro and Pythonista
I've been doing a lot more traveling in the last year. Each time I take off or land, I found myself sending nearly the same text message to multiple people. After a while, it began to feel more like a chore than the kind gesture of letting others know I …
My Photo Workflow
After listening to the Mac Power Users episode on photo management and reading the slew of follow up blog posts on other photo management workflows, I thought I would share mine as well. While my workflow will be fairly similar to Federico Viticci's with a few exceptions, I thought I …
Organizing Special Photos with Hazel
Nearly all of my photos are sorted based on year, month and day. Hazel easily takes care of of this for me, but occasionally I will have projects where photos need to be excluded or organized in a different way. With Hazel, I can still account for these special cases …
Exploring Pelican: Automation Part 1
Pelican is a great python-based static blog generator. After a few months using it, I’ve decided to automate the content generation as much as possible.
Create a Scratchpad with Alfred
I created a quick Alfred workflow that takes the contents of my clipboard and opens a new file in Sublime Text (or Text Edit).
Quick Conversions with Launch Center Pro and Soulver
There are some great tools out there to convert things like currency, distances and measurements. Even Siri can do this fairly well, but the one thing I always find frustrating is that the process of doing this can be fairly slow and in a lot of cases requires a data …
Using Dropbox to Host Images on your Website
I notice a lot of people asking about why they can't get images to display on their website when using Dropbox shared links. Dropbox is a great way to post an image quickly on a forum or as free hosting for your low traffic website, but there are a few …
Instascriptogram. Post Instagram pics to Scriptogr.am
[Update 2014-11-19] I've since moved off of scriptogr.am. The service wasn't working for a long time and doesn't seem to be in active developement. I ended up moving that blog over to a static blog with Pelican similar to this one.
Since moving to Dublin, my girlfriend and I …
Internationalizing Your Contacts
Living in the U.S. we rarely call people outside of the country. Whenever we create new contacts in our address book, they'll typically start with the state's area code and omit the country code.
Since moving to Ireland, my contacts wouldn't show up correctly since I hadn't prepended all …
Writing Notes with Alfred 2
I started coding about two years ago and only recently discovered the wonders of Markdown. Every time I'd learn something new, I would keep it in a text file with TextEdit. This was good and fine until a coworker introduced me to Notational Velocity. This completely changed the way I …
Your .bash_profile everywhere
I have two computers, one for work and one for personal. I keep mostly everything separate, but one thing I want to always have with me is my terminal environment and aliases. With Dropbox, I can not only access, but edit my .bash_profile from anywhere without using symlinks.
The first …