Skip to content

Instantly share code, notes, and snippets.

Justin Maynard justinatomatic

View GitHub Profile
View TweetStreamSyPy.py
from TwitterAPI import TwitterAPI
from webpurify import *
import re
import unicodedata
import time
import datetime
import socket
import mosquitto
'''
View Orvibo_s20.py
#!/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
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=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
You can’t perform that action at this time.