I hereby claim:
- I am shamasis on github.
- I am shamasis (https://keybase.io/shamasis) on keybase.
- I have a public key ASCK9Os-xiDRUyZBtzeVqOSZxOzAp7I-00B11_Jb1Xs2xQo
To claim this, I am signing this object:
# This is an ESPHome configuration for an Outdoor Weather Station. | |
# The configuration includes a raindrop coverage sensor and a rain sensor. | |
# The raindrop coverage sensor uses an ADC to measure water resistance, | |
# while the rain sensor is a digital sensor indicating whether it is raining or not. | |
# | |
# The configuration uses substitutions to define all the configurable parts, | |
# making it easy to adjust pins and other settings without modifying the entire file. | |
substitutions: | |
name: esph-29697f-ows-1 |
watch -n 30 say It is time |
/etc/init.d/wdmcserverd stop | |
/etc/init.d/wdphotodbmergerd stop |
#include <WiFi.h> | |
#include <NTPClient.h> | |
// dependencies | |
#include "TOTP++.h" | |
#include "SSD1306.h" | |
// replace with your network credentials | |
const char* ssid = "Redacted"; | |
const char* password = "Redacted"; |
I hereby claim:
To claim this, I am signing this object:
#include <ESP8266WiFi.h> | |
#include <ESP8266WebServer.h> | |
#include <ESP8266mDNS.h> | |
#include "DHT.h" | |
#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321 | |
int LED_PIN = LED_BUILTIN; // amica | |
const char* ssid = "Your wifi SSID"; // Enter SSID here | |
const char* password = "Your wifi password"; //Enter Password here |
# run the following commands | |
sudo mkdir /usr/local/lib/node_modules; | |
sudo chown pi /usr/local/lib/node_modules; |
require("microtime"); | |
const | |
_ = require('lodash'), | |
Benchmark = require('benchmark'), | |
suite = new Benchmark.Suite, | |
result = [], | |
seedSize = 10000, | |
seedData = Array(seedSize).fill().map(() => String(Math.round(Math.random() * seedSize))).reduce((obj, val) => { |
const | |
_ = require('lodash'), | |
Benchmark = require('benchmark'), | |
suite = new Benchmark.Suite, | |
result = [], | |
seedSize = 10000, | |
seedData = Array(seedSize).fill().map(() => String(Math.round(Math.random() * seedSize))); | |
suite |
#!/usr/bin/env node | |
const | |
resolve = require('path').resolve, | |
loadJSON = function (file) { | |
return JSON.parse(require('fs').readFileSync(file).toString()); | |
}, | |
dependencySources = ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies', |