Instantly share code, notes, and snippets.

View ESP8266MQTTNeopixel.ino
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
#include <Adafruit_NeoPixel.h>
#define LEDPIN D4
Adafruit_NeoPixel led = Adafruit_NeoPixel(NUMBER_PIXELS, LEDPIN, NEO_RGB + NEO_KHZ800);
View startPaperspace.html
<!DOCTYPE html>
<title>Start Paperspace machine</title>
<meta charset="UTF-8">
body {
background-color: black;
#main {
View palindrome.js
const readline = require('readline');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
rl.question('Please enter potential palindrome: ', checkForPalindrome);
function checkForPalindrome(str)
View Wohnungssuche.json
"schema_version": 1,
"name": "wohnungssuche",
"description": "This scenario is for apartment search in Hamburg, Germany. It has several event sources from building companies who have their own property ads on their website.",
"source_url": false,
"guid": "b157be4c66ae64b92ae4725fee342313",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#5bc0de",
"icon": "home",
"exported_at": "2017-10-06T07:33:37Z",
View tempAlarm.c
#include <math.h>
float tempRaw, tempAvg;
uint8_t tempPin = 7;
uint8_t speakerPin = 2;
uint8_t barLedPins[] = { 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 };
uint8_t barLedPinsLength = sizeof(barLedPins) / sizeof(barLedPins[0]);
uint8_t lowTempLimit = 24;

Keybase proof

I hereby claim:

  • I am preya on github.
  • I am preya ( on keybase.
  • I have a public key ASC3tNZ2F6Xgz0JUG6S7bXcCCC5THLqCfpqlkORZUewJago

To claim this, I am signing this object: