stouty
-
Posts
29 -
Joined
-
Last visited
Reputation Activity
-
stouty got a reaction from BabyAzerty in Run Cheaters by Brett Terpstra Workflow
Apologies for the issues. I think I've fixed it now.
New version here.
[link in original post also updated]
-
stouty got a reaction from BabyAzerty in Run Cheaters by Brett Terpstra Workflow
Hit your hotkey and Cheaters will appear in a web-popup.
Cheaters is a customizable cheat sheet system for OS X written by Brett Terpstra.
Dependencies Git (I tested with v1.7.12.4 and v1.8.2.1) System Modifications Downloads the Cheaters source code into ${HOME}/Library/Application Support/Alfred 2/Workflow Data/com.stouty.cheaters/cheaters directory. It's NOT deleted if you delete the workflow. Download
v1.3 - Cheaters.alfredworkflow
UPDATE: 19th May 2013
v1.5 - Cheaters.alfredworkflow - Updated Git workflow and improved PATH search
Source code
Blog Post
To-Do
Find more elegant solution to the Automator Launcher spinning gear icon hack. I tried this as both an Automator workflow and an application, both spawn the spinning gear. If everyone had Bartender, the spinning gear could be hidden by Bartender and there would be no need for the two workflows. Suggestions welcome! Update Cheaters git repo from origin/upstream master. Show progress indicator when cloning/updating. DONE: Implement update logic. I should have put the git repo in ~/Library/Application Support/Alfred 2/Workflow Data/$bundle_id. As it is now, the Cheaters git repo is wiped out when you install a new version of the workflow. DONE: Make Alleyoop compatible. -
stouty reacted to _mk_ in Bash workflow handler
Bash Workflow Handler
As my OmniFocus workflow does most of its work in the shell, I created a bash workflow handler to reduce the overhead when creating feedback xml and dealing with preferences.
Download
Download it from GitHub and put it into your workflow directory.
Usage
Import handler into your script
. workflowHandler.sh
Create feedback XML
# create feedback entries addResult "uid" "arg" "title" "subtitle" "icon" "valid" "autocomplete" # get feedback xml getXMLResults
Get BundleID
BUNDLEID="$(getBundeId)"
Get data dir
DATADIR=$(getDataDir)
Get cache dir
CACHEDIR=$(CACHEDIR)
Store preferences
# store volatile setPref "key" "value" 0 # store non-volatile setPref "key" "value" 1
Read preferences
# read volatile pref MYVAR=$(getPref "key" 0) # read non-volatike pref MYVAR=$(getPref "key" 1) -
stouty reacted to mwaterfall in Datetime Format Converter - Convert between unix timestamps and datetime strings
Here's a workflow that's useful for developers; it allows you to convert between timestamps and formatted datetime strings with ease.
Simply type "df" followed by: "now", a UTC unix timestamp, or a formatted datetime string.
This will present you with the parsed date in various formats ready to copy to your clipboard.
Download
-
stouty reacted to franzheidl in Open with Sublime Text 2 (keyword of file/folder action)
Just updated my Open With Sublime Text 2 Workflow (that was long hidden away here) by merging in a pull request from dbingham that improved stability and handling of multiple files.
The workflow works either by keyword ("subl") on your currently selected Finder items or as a file/folder action.
Download: http://cl.ly/PW75
Github: https://github.com/franzheidl/alfred-workflows
-
stouty reacted to ngreenstein in Kill Process Workflow
I made a workflow to kill processes quickly.
You can grab it (and read more about it) on GitHub.
Direct download link.
Here are some highlights:
Autocompletes process names Learns and prioritizes processes you kill frequently Shows icons when possible Shows CPU usage Shows process paths Ignores case Screenshot:
Enjoy, and feel free to share any feedback you have.
-
stouty got a reaction from phyllisstein in Compare Finder Items in Kaleidoscope
Here’s my first attempt at an Alfred 2 workflow: Compare Finder Items in Kaleidoscope.
It compares two selected Finder items with Kaleidoscope. E.g. select two files and hit your hotkey (I used ⇧⌘K) and the files open in Kaleidoscope. Same for folders as Kaleidoscope 2 can compare folders.
It calls a shell script that runs an Automator workflow. It does some simple checks. Errors are logged to system.log with logger(), and a notification is sent to Notification Center.
Small Update: to improve syslog output.
Updated workflow: Compare Finder Items in Kaleidoscope.