• Development

    Bulk Add URL Redirects in Drupal 7

    Here’s a quick example showing how to add URL redirects (for the redirect module) in bulk.

    Instead of a separate page for each list of “fellows”, we built a single view with exposed filters to choose a semester.

    The original paths looked like “/fall-2000-fellows” and the new path looks like “/fellows/list?semester=5493”.


  • Tech Tips

    Random Mouse Distance in Keyboard Maestro

    Here’s one way to choose a random item in a select list using just mouse movements and a random number. If you’re trying to do this in a browser there are cleaner ways to do it (javascript, chrome/safari actions, etc.), but for general usage across many applications this is a pretty universal solution.


    I was surprised to find that you can type variables into the tiny coordinate text fields. They get bigger when you do.

    When executed, this will select a random item (excluding “- None -“) from the select list.