Jump to content

lambtron

Member
  • Content Count

    3
  • Joined

  • Last visited

  1. Hey all, Wrote this tiny Alfred workflow that removes all "Screen Shot 2015-10-01 at 9.23.53 AM" files that end up cluttering your desktop after a while. Just have to type "clean" in your Alfred console. The workflow is here: https://github.com/lambtron/alfred-clean Enjoy! Andy
  2. Hey, I'm also trying to install a gem in my Alfred workflow. I built the gem from the gemspec and installed it. My directory structure is like this: user.workflow.8773xxx --gem (directory) --Gemfile -- etc. --main.rb --info.plist When i try to `require gem` in `main.rb`, I get this error: ``` [ERROR: alfred.workflow.input.scriptfilter] Code 1: /Users/andyjiang/.rbenv/versions/2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- muni.rb (LoadError) from /Users/andyjiang/.rbenv/versions/2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from main.rb:4:in `<main>' ``` Any idea what I'm doing wrong? Do i need to tell Alfred to use a specific version of Ruby? Thanks! ```
  3. Hey everyone, I just started building Alfred workflows (most of them are for my work, so they won't really be useful to anyone outside of Segment.com), but today I decided to throw together a really simple Yo! (contextual messaging app) workflow. Github: https://github.com/lambtron/yo-alfred How to set it up: Click here to download the workflow. Double click on the file to add it to Alfred. Optional, if you want to change the sender name from YOALFRED. 3a. Register an application with Yo! here with an app name of your choosing. Note this app name will be what the recipient sees. 3b. Paste your Yo! app token in the Alfred workflow script, as such: ``` TOKEN={{YOUR_YO_TOKEN}} curl --data "api_token=$TOKEN&username={query}" http://api.justyo.co/yo/ ``` You are set! Yo! to your heart's content and to your friends' growing annoyances. Let me know if you have any questions!
×
×
  • Create New...