I hereby claim:
- I am 0x2b3bfa0 on github.
- I am 0x2b3bfa0 (https://keybase.io/0x2b3bfa0) on keybase.
- I have a public key ASD1iwpTI9zrRnoA_PMHMzAQk0tpwMXg5j79UNESoZ8JyAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#include "main.h" | |
void config_read() { | |
// configFile = SPIFFS.open("/config.json", "w+"); | |
size_t size = configFile.size(); | |
std::unique_ptr<char[]> buf(new char[size]); | |
DynamicJsonBuffer jsonBuffer; | |
configFile.readBytes(buf.get(), size); | |
JsonObject& json = jsonBuffer.parseObject(buf.get()); | |
const char* brightness = json["brightness"]; |
#!/usr/bin/env python2 | |
# vim: set fileencoding=utf8 | |
import os | |
import sys | |
import requests | |
import urllib | |
import json | |
import re | |
import time |
## | |
## WPS on OpenWRT | |
## This script enables Wi-Fi Protected Setup on OpenWRT. | |
## | |
## Resources | |
## http://wiki.openwrt.org/doc/uci/wireless#wps.options | |
## | |
#Install the full wpad package | |
opkg update |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#define XLIM 17 | |
#define YLIM 9 | |
#define ARSZ (XLIM * YLIM) | |
#define DEBUG 0 |