Skip to content

Instantly share code, notes, and snippets.

View seekshreyas's full-sized avatar
🐼
\_(*|*)_/

Shreyas seekshreyas

🐼
\_(*|*)_/
  • DocuSign
  • San Francisco, CA
View GitHub Profile
@seekshreyas
seekshreyas / AS-pauseGrowl.scpt
Last active August 29, 2015 14:05 — forked from deviantintegral/Growl Pause and Resume.scpt
AppleScript to pause Growl
(**
* 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
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)
@seekshreyas
seekshreyas / QtMacDeploy.txt
Created April 8, 2012 07:25 — forked from Acrowit/QtMacDeploy.sh
Qt Mac Deployment Script
# 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