This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(** | |
* Pause and resume Growl. Use in a launcher like Quicksilver or Alfred to | |
* pause and resume Growl when the menu bar icon is disabled. | |
* | |
* Author: Andrew Berry, deviantintegral@gmail.com | |
*) | |
tell application "Growl" | |
register as application "Growl pause/resume" all notifications {"Growl paused", "Growl resumed"} default notifications {"Growl paused", "Growl resumed"} icon of application "Growl" | |
if is paused then | |
resume |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auth = OAuthHandler(CLIENT_ID, CLIENT_SECRET, CALLBACK) | |
auth.set_access_token(ACCESS_TOKEN) | |
api = API(auth) | |
venue = api.venues(id='4bd47eeb5631c9b69672a230') | |
stopwords = nltk.corpus.stopwords.words('portuguese') | |
tokenizer = RegexpTokenizer("[\w’]+", flags=re.UNICODE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Qt Mac Deployment Script | |
# --------------------------- | |
# Generate Build By : | |
$ QtSDK/Desktop/Qt/474/gcc/bin/macdeployqt MyApp.app | |
# Verify Build By | |
$ otool -L MyApp.app/Contents/MacOS/MyApp |
NewerOlder