Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
import requests
import json
import re
import paho.mqtt.client as mqtt
import paho.mqtt.publish as publish
# Regex to match the hidden input on the initial log in page
@tomgp
tomgp / index.html
Last active December 29, 2015 12:59 — forked from widged/index.html
Ternary plot
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>D3 Ternary Plot</title>
<style>
a{
font-family: sans-serif;
color: #DB7365;
padding: 0.3rem;