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 | |
import os | |
import time | |
import redis | |
from scapy.all import * | |
redistogo_url = os.environ['REDISTOGO_URL'] | |
r = redis.Redis.from_url(redistogo_url) | |
os.environ['TZ'] = 'US/Central' |
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
import argparse | |
import serial | |
import string | |
import time | |
import os, sys | |
from socket import socket | |
CARBON_SERVER = '192.168.3.27' | |
CARBON_PORT = 2003 |