Skip to content

Instantly share code, notes, and snippets.

@tzapu
tzapu / faucet.eth
Created July 12, 2017 08:40
rinkeby eth faucet test
0x70B70196696a04E5DbE49883425A0adEa8d2fa84
@tzapu
tzapu / index.html
Created December 8, 2016 12:24
meteore-desktop-system-notifications
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Background</title>
</head>
   <body>
<script>
require('./renderer.js')
</script>
#include <ESP8266WiFi.h>
//this sketch duplicated the flow that WiFIManager or any other connection manager would take
//first try to connect, if it fails spin up an AP, get some credentials from user, connect again
//then spin everything down
void setup() {
Serial.begin(115200);
Serial.println();
Serial.println();
#include <FS.h> //this needs to be first, or it all crashes and burns...
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino
//needed for library
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h> //https://github.com/tzapu/WiFiManager
#include <ArduinoJson.h> //https://github.com/bblanchon/ArduinoJson