Skip to content

Instantly share code, notes, and snippets.

@ddasilva
Created April 28, 2013 12:53
Show Gist options
  • Save ddasilva/5476812 to your computer and use it in GitHub Desktop.
Save ddasilva/5476812 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from datetime import datetime
import itertools
import socket
import time
LINE = 'Hello Brenden. This is your mother. Have you brushed your teeth today?'
while True:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("omploader.org", 80))
s.send(LINE + '\n')
s.close()
print datetime.now().strftime("%Y-%m-%d %H:%M:%S"), '\t', LINE
time.sleep(.75)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment