Original by chriscook8 from esp8266.com I just modified to use ESP8266WebServer library for easy to handle the http request.
This is sample code not yet complete.
- when Wifi connected need to close the softAP.
#!/bin/bash | |
set -eu | |
main() { | |
local args=("$@") | |
local inFile=$(pwd)/docker-compose.yml | |
local outFile=$(pwd)/$1 | |
if [[ $# -lt 2 ]]; then | |
usage |
// Code based on | |
// https://github.com/adafruit/DHT-sensor-library/blob/master/examples/DHTtester/DHTtester.ino | |
// https://gist.github.com/igrr/7f7e7973366fc01d6393 | |
// https://github.com/iot-playground/Arduino/blob/master/ESP8266ArduinoIDE/DS18B20_temperature_sensor/DS18B20_temperature_sensor.ino | |
// esp8266 + dht22 + mqtt | |
#include "DHT.h" | |
#include <PubSubClient.h> | |
#include <ESP8266WiFi.h> |
Links and notes for ibeacon indoor location
##General links
##Trilatertion
Inspired by my own pain and suffering of trying to add a simple chart to dashing
Inspired by my own pain and suffering of trying to add a simple chart to dashing
private void init() | |
{ | |
WebView webview = (WebView) findViewById(R.id.webview); | |
WebSettings settings = webview.getSettings(); | |
settings.setJavaScriptEnabled(true); | |
webview.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY); | |
PdfWebViewClient pdfWebViewClient = new PdfWebViewClient(this, webview); | |
pdfWebViewClient.loadPdfUrl( | |
"https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwjgwIfp3KXSAhXrhFQKHQqEDHYQFggZMAA&url=http%3A%2F%2Fwww.orimi.com%2Fpdf-test.pdf&usg=AFQjCNERYYcSfMLS5ukBcT2Qy11YxEhXqw&cad=rja"); |
package me.madeye; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import org.apache.http.HttpHost; | |
import android.content.Context; |
from imutils.object_detection import non_max_suppression | |
import numpy as np | |
import imutils | |
import cv2 | |
import requests | |
import time | |
import argparse | |
import time | |
''' |
# Running: | |
# $ python run-custom-cascade.py | |
# Import OpenCV | |
import cv2 | |
# Image file | |
IMAGE_FILE = './example.png' # Change this to be your image | |
# Cascade file |