Skip to content

Instantly share code, notes, and snippets.

Working from home

Erin Dachtler download13

Working from home
View GitHub Profile
View User.settings.json
"connection": "default",
"info": {
"name": "user",
"description": ""
"attributes": {
"username": {
"type": "string",
"minLength": 3,
download13 / index.html
Created May 27, 2018
hyperapp router test case
View index.html
<!DOCTYPE html>
<script src="index.jsx"></script>

Keybase proof

I hereby claim:

  • I am download13 on github.
  • I am download13 ( on keybase.
  • I have a public key ASC2prsbB75bU-y2-GUK-ldXfigfpjetwftKyaHcIh8W1Qo

To claim this, I am signing this object:

View easypush.cpp
#include "easypush.h"
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#define WIFI_SSID ""
#define WIFI_KEY ""
#define HOST ""
#define PATH "/notify/GI0eafKjLYh3NzuY"
View wifi-sumobot
#define LEFT_ENABLE D5
#define L_POS D1
#define L_NEG D2
#define R_POS D4
#define R_NEG D3
#include <ESP8266WiFiMulti.h>
#include <ESP8266WebServer.h>
View washer-notify.ino
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#define WIFI_SSID "yourssid"
#define WIFI_KEY "yourkey"
#define NOTIFY_URL "<eventname>/with/key/<yourkey>"
#define SECOND 1000
#define QUARTER_SECOND 250
View component-route.js
import element from 'virtual-element'; // Using deku
// import React from 'react'; // Switch to this if you are using React
import pathToRegexp from 'path-to-regexp';
export function renderRoutes(path, routes) {
return Object.keys(routes).map(routePath => {
let paramsInfo = [];
let re = pathToRegexp(routePath, paramsInfo);
let paramNames = =>;
View picker.go
package main
import (
You can’t perform that action at this time.