Skip to content

Instantly share code, notes, and snippets.

View thijsbekke's full-sized avatar
💭
Working

Thijs thijsbekke

💭
Working
View GitHub Profile
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):
#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.");