Skip to content

Instantly share code, notes, and snippets.

View piersolenski's full-sized avatar
💤
Sleeping

Piers Olenski piersolenski

💤
Sleeping
View GitHub Profile
@piersolenski
piersolenski / udptroll.py
Created May 14, 2015 22:43
Make Ray's computer say funny shit via UDP
import socket
import argparse
import subprocess
if __name__ == "__main__":
p = argparse.ArgumentParser()
p.add_argument("port", type=int)
args = p.parse_args()
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)