Created
April 28, 2013 12:53
-
-
Save ddasilva/5476812 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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