This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| logger = hs.logger.new('main') | |
| --- functions | |
| function open(name) | |
| return function() | |
| hs.application.launchOrFocus(name) | |
| if name == 'Finder' then | |
| hs.appfinder.appFromName(name):activate() | |
| end | |
| end |
| package main | |
| import ( | |
| "encoding/hex" | |
| "flag" | |
| "io" | |
| "io/ioutil" | |
| "log" | |
| "net" | |
| "os" |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer