Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by stouty

  1. Updated to v1.5 - Improved Git workflow and improved PATH search Update via Alleyoop or manual download: Cheaters.alfredworkflow Let me know if that sorts things out for you. thanks
  2. The new code doesn't work with spaces either. I knocked up a quick fix.
  3. Alas it doesn't seem to work if there are spaces in path, even with all the escaping Alfred does. The shell script imageOptim doesn't quote any of the path/file variables. I started a branch to fix it, but it seems like he's ripped out all the code and now it starts up the ImageOptim.app.
  4. I think your git command is not in the path inherited by the Alfred process Can you type in a Terminal and post the results echo $PATH which git type -P git type -ap git Then in Alfred create a new blank workflow, say hotkey to script, oh hold on ... here, try this: getGitPath.alfredworkflow See what the output is (it's posted as a large type notification and copied to the clipboard for you to paste in here) For me: $ echo $PATH /Users/james/.rbenv/shims:/Users/james/.rbenv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/Users/james/bin:/usr/bin:/bin:/us
  5. Link seems to be broken: Heroku | No such appThere is no app configured at that hostname. Perhaps the app owner has renamed it, or you mistyped the URL.
  6. I took the liberty of adding it to Dev Doctor ... pull request: https://github.com/sydlawrence/alfred-dev-doctor/pull/31
  7. Apologies for the issues. I think I've fixed it now. New version here. [link in original post also updated]
  8. Delete the /Users/jeromepasquier/Library/Application Support/Alfred 2/Workflow Data/com.stouty.cheaters/cheaters directory, then re-run. It should do the clone for you.
  9. Ah, found the bug. New version here. Hope that one works.
  10. Hmm, let me have a look. You are in germany right? CEST = +0200 UTC? "now" always shows UTC, so that looks right. My tz looks wrong.
  11. Could you try this debug version? It writes some info to a file on your Desktop -> ~/Desktop/Cheaters_DEBUG.txt Could you send me the file if you have chance? thanks James
  12. I wonder if it's a bash version issue? Could you run type -a bash which bash bash --version In your Terminal? thanks
  13. Wait, did you move the cheaters directory manually? I don't see the .git folder in your cheaters folder. See mine: Have you made any edits to index.html? If so, copy it somewhere safe, then delete the cheaters dir, and re-run the workflow, then copy your edited index.html back, and run git commit -m 'my changes' on the terminal. Only if you changed index.html, otherwise just delete and re-run the workflow.
  14. What's the full error? Can you check your console.app log? Open /Applications/Utilities/Console.app then run the workflow and look in system.log for "Alfred Workflow" errors.
  15. This is excellent. Thank you very much!
  16. 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
  17. Not sure if this will work for you - I added a 'tz' param to change the times to your TZ: https://gist.github.com/jamesstout/5358677
  18. The original workflow used date created .. I actually meant the current timestamp. What do you think people would prefer?
  19. I'll change it so YYYYMMDD is the default. I've been working on a way for the user to choose from some defaults or add their own
  20. /Volumes/*/.Trashes Probably need sudo privileges to get at all files though. I have an alias: alias emptytrash='sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl' but that of course prompts me for my password. Anyone know of a way to get sudo privs in a workflow? NOPASSWD=/bin/rm and ssh to localhost with authkeys? ... poor security though.
  21. Here you go: Add Date and Time Before Filename.alfredworkflow Only tested briefly, so let me know if you have any issues.
  22. Yes, I'd like to re-write so it takes options for the date/time format and insert location. Easier to re-write as a shell script I think if I want that.
  • Create New...