This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 | |
std::unique_ptr<ESP8266WebServer> server; | |
void handleRoot() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CPU 80MHZ, FLASH 4M/1M | |
/* | |
*** Sample using esp-01, D16 is connected to RST | |
*** If DHT22 is powered by a gpio( VCC of DHT22 is connected to a gpio) and OUTPUT of DHT22 is connected to D2, boot will fail. | |
*** Power off ----> D2 is in LOW( == DHT22 is in LOW) ==> SDIO boot mode. | |
Temperature and humidity values are each read out the results of the last measurement. | |
For real-time data that need continuous read twice, we recommend repeatedly to read sensors, | |
and each read sensor interval is greater than 2 seconds to obtain accuratethe data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Background</title> | |
</head> | |
<body> | |
<script> | |
require('./renderer.js') | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
services: | |
transmission: | |
container_name: transmission | |
image: dperson/transmission | |
restart: unless-stopped | |
depends_on: | |
- plex | |
network_mode: host | |
environment: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x70B70196696a04E5DbE49883425A0adEa8d2fa84 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xB274E703527B34fDD4cFf3C565616Ce43264F668 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-12-06 05:34:58 UTC TRACE rpc Request: {"jsonrpc":"2.0","method":"eth_getFilterChanges","params":["0x0"],"id":3235237269844622367}. | |
2017-12-06 05:34:58 UTC DEBUG rpc Response: {"jsonrpc":"2.0","result":["0xf2b1a12041a8b0520d515c85c2f6126b4d623cd36baceca71ee4d9aa2750b7a2","0xbadd4e17088f7b68d75e461c83d90ab2f395d747b99e8e42418b67efb7c5781c","0x0ba4b9c56b908ec3c4aca0c0bf9ce52d46ac2e912b844767f114051fe0013769","0xdc182de1ff4450455ee27c7394c14ca3ca6b38386793298a2d541715e7770f24","0x18722d1cd4495457df2dcb74bf5abc7bcfd3851807fda07c495530b2ff4d9de7","0xe816648397fce726a97196020da4e3e769ea7207e63e27884cffa094d627c823","0xf46843e84928f31fd009922c008a986e653d041e0e6bec15955e7ec782ab3c9d","0x1f83df1a8025f58a7554d89f5cad5dd1016cb14ce4791741116284ec0f8bfeed","0xb560bebe726b535d0dde254fc161fefc566012c16d395180e2ab6d7c570ece5b","0xefd856a0c7d14c0792e5dae6487e485a3c1cdd6ede07004b940ed980c224d34b","0xe9c059eda2937c267508c47ac066c217843c6b1946500118bfa5f11a458811ca","0x1c98ac033625bcd9bc17e9d3c87a48d565dc410da871263fc44 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# you will need to alias the internal kube IPs to your loopback interface | |
# get pods with IPs | |
kubectl get pods -n kafka -o wide | |
# add aliases | |
sudo ifconfig lo0 100.101.168.109 alias | |
sudo ifconfig lo0 100.117.38.251 alias | |
sudo ifconfig lo0 100.121.158.154 alias |
OlderNewer