Skip to content

Instantly share code, notes, and snippets.

@kennethreitz
Created June 22, 2010 14:12
Show Gist options
  • Select an option

  • Save kennethreitz/448510 to your computer and use it in GitHub Desktop.

Select an option

Save kennethreitz/448510 to your computer and use it in GitHub Desktop.
Fun deploys on the mac
#!/usr/bin/env python
import os
from random import choice
voices = [
"agnes", "kathy", "princess", "vicki", "victoria", "bruce", "fred",
"junior", "ralph", "albert", "bad", "bahh", "bells", "boing",
"bubbles", "cellos", "deranged", "good", "hysterical", "pipe",
"trinoids", "whisper"
]
msgs = [
"deploy is now complete", "deploy complete", "deploy completed",
"sir the deployment has finished", "hey the deploy is done",
"look at this cool deploy", "deployment completeed"
]
os.system('say -v {0} "{1}"'.format(choice(voices), choice(msgs)))
@kennethreitz
Copy link
Copy Markdown
Author

I need to integrate Growl in this..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment