Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Working

Thijs thijsbekke

💭
Working
View GitHub Profile
View wpa.ino
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
void setup() {
Serial.begin(115200);
Serial.println("Starting up.");
View TokenAuth.py
from flask import request, make_response
from functools import wraps
class TokenAuth(object):
def __init__(self):
self.authenticate_callback = None
self.auth_error_callback = None
def default_authenticate(token):