Blog Archives

Installing ElasticSearch on Webfaction

You read everywhere that setting up and running elasticsearch is very simple. In fact, it is. There are some hurdles to clear when you’re setting it up on Webfaction, however. These instructions will hopefully provide some guidance.

Tagged with:
Posted in Tech Tips

Automatic Dropshadow and Border on Mac OS X Screenshots

If you’re like me, you take lots of screenshots. I probably average 20 a day. Primarily I use CMD-SHIFT-4 and drag a box around what I want to capture. The result is exactly what I highlighted. Here’s an example: That

Tagged with: ,
Posted in Tech Tips

Automatic Screenshots of Drupal Content

In an earlier post I recommended webkit2png for automatically screenshotting a list of URLs. A lot of time has passed since that post, and I’ve discovered a more robust tool. Pageres is incredible, and it has a CLI and an api. I’ll

Tagged with: ,
Posted in Development, Tech Tips

Alfred Workflow – PERT Calculator

Using Alfred? Ever have to estimate time on tasks, projects, etc? Check out my new PERT Calculator on Packal.org    

Tagged with:
Posted in Tech Tips

Keyboard Maestro – Looping Through Each Line of the Clipboard

This graphic illustrates how you can loop through each line of the clipboard and use the line’s value for some purpose. It also demonstrates how to handle the first line differently than the others. This is zero-based. The second time

Tagged with: ,
Posted in Tech Tips

Detecting When You’re “Away” or “Back” in Your Keyboard Maestro Macros

Your Mac knows the last time you moved the mouse or pressed a keyboard key. We can use this information in Keyboard Maestro to perform actions based on whether we’ve “gone away” from or have “come back” to our computer. I’m using this

Tagged with: ,
Posted in Tech Tips

Easy Dummy Text using Python Faker and Keyboard Maestro

Yet again I’ve found a great use for Keyboard Maestro. I’m a web developer and often have to create “filler” or “dummy” text during development. In the past I’ve used Alfred workflows, copy-and-paste, browser extensions, and more. I’ve recently come

Tagged with: , , , , ,
Posted in Development, Tech Tips

Keyboard Maestro URL Handler (KMLink) – Introduction and Basic Usage

Keyboard Maestro offers many ways to trigger macros, but unfortunately there isn’t a URL handler that lets you trigger macros via a URL. There are a number of keyboardmaestro://  URLs handled by the built-in url scheme, but executing a macro isn’t an

Tagged with: , ,
Posted in Development, Tech Tips

Trigger a Keyboard Maestro Macro with a Finder Shortcut / Icon

Using the Keyboard Maestro URL Handler (KMLink), you can create clickable shortcuts that you can use in Finder to trigger KM macros. Why would this be helpful? I have a macro that synchronizes my tracked time between two different applications. I wanted

Tagged with: , ,
Posted in Tech Tips

Delete Last Command from Bash History

If you’re like me, on occasion you accidentally (or sometimes purposefully) include a password in a command. Until recently I would execute history , find the offending command’s number, then do a history -d NUMBER . It is kind of a pain. The following

Tagged with: , , ,
Posted in Tech Tips