Skip to content

Instantly share code, notes, and snippets.


Justin Maynard justinatomatic

View GitHub Profile
from TwitterAPI import TwitterAPI
from webpurify import *
import re
import unicodedata
import time
import datetime
import socket
import mosquitto
#!/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):
justinatomatic / tasks.yaml
Created Mar 11, 2015
Ansible tasks to install Mosquito MQTT Broker
View tasks.yaml
# install mqtt broker
- name: add mosquitto key
apt_key: url= state=present
- name: add mosquitto repo
apt_repository: repo='deb wheezy main' state=present update_cache=yes
- name: install mosquitto
apt: name=mosquitto state=present