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
# install mqtt broker | |
- name: add mosquitto key | |
apt_key: url=http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key state=present | |
- name: add mosquitto repo | |
apt_repository: repo='deb http://repo.mosquitto.org/debian wheezy main' state=present update_cache=yes | |
- name: install mosquitto | |
apt: name=mosquitto state=present |
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 python3 | |
import socket | |
import time | |
import sys | |
import binascii | |
import logging | |
logging.basicConfig(format='%(asctime)s %(message)s',level=logging.INFO) | |
def reverseMAC(MAC): |
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
from TwitterAPI import TwitterAPI | |
from webpurify import * | |
import re | |
import unicodedata | |
import time | |
import datetime | |
import socket | |
import mosquitto | |
''' |