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:
/** | |
* Get layerX and layerY of an event across all browsers without | |
* using the deprecated layerX of webkit. | |
* It stores `targetX` and `targetY` in the event, to act like `layerY` | |
* and `layerY` respectively. | |
*/ | |
getElementPosition = (function () { | |
var body = window.document.body || window.document.documentElement; | |
return function (event) { |
#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"; |
/** | |
* @module describe-it | |
* | |
* This module defines global variables to provide unit test case runner functions compatible with mocha and jasmine. | |
* The codebase is written for brevity and facilitate being as lightweight as possible. | |
* | |
* The code is intended to be included in Postman Test Sandbox. | |
*/ | |
/** |
aws ec2 associate-address --instance-id $1 --public-ip $(aws ec2 allocate-address --output text --query 'PublicIp') |
watch -n 30 say It is time |
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) => { |
/etc/init.d/wdmcserverd stop | |
/etc/init.d/wdphotodbmergerd stop |
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; |