Skip to content

Instantly share code, notes, and snippets.

@houshuang
Created April 27, 2012 16:17
Show Gist options
  • Save houshuang/2510518 to your computer and use it in GitHub Desktop.
Save houshuang/2510518 to your computer and use it in GitHub Desktop.
def growl(title,text='')
if text == ''
text = title
title = ''
end
`#{Script_path}/growlnotify -t "#{title}" -m "#{text}"`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment