Skip to content

Instantly share code, notes, and snippets.

@gcr
Created April 22, 2012 22:15
Show Gist options
  • Select an option

  • Save gcr/2467257 to your computer and use it in GitHub Desktop.

Select an option

Save gcr/2467257 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python2
# -*- coding: utf-8
import subprocess
import random
import time
lines = [
"Would now be a good time to send the pictures?",
"How about now?",
"The world needs your photography skills!",
"Act now while supplies last! Lines open twenty-four hours a day! YOU could be the first caller!",
"*poke*",
"*poke poke*",
"*poke poke poke*",
"http://dl.dropbox.com/u/219506/gifs/bonk.gif",
"http://dl.dropbox.com/u/219506/gifs/coop.gif",
"Only your photography can save the day!",
]
while True:
for line in lines:
subprocess.call(["text", "aaden", line])
time.sleep( 3600 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment