Skip to content

Instantly share code, notes, and snippets.

View therg's full-sized avatar

Ryan Griffin therg

View GitHub Profile
#!/usr/bin/python
import time
import telnetlib
def inittn():
tn = telnetlib.Telnet("192.168.1.24", 23, 3)
tn.read_until("login:")
tn.write("lutron\r\n")
tn.read_until("password:")
tn.write("integration\r\n")

Keybase proof

I hereby claim:

  • I am therg on github.
  • I am therg (https://keybase.io/therg) on keybase.
  • I have a public key ASBx9rx-zkGSugzcqbPEZd7JnWd_6jsrJbE7t9vXUL0spgo

To claim this, I am signing this object:

import re
import random
import base64
from scrapy import log
class RandomProxy(object):
def __init__(self, settings):
self.proxy_list = settings.get('PROXY_LIST')
fin = open(self.proxy_list)
@therg
therg / config.json
Last active August 29, 2015 14:03
Cactus v3 Sass compiler
{
"prettify": true,
"ignore": ["css/*.scss"]
}