- https://hackaday.io/project/164694-esp32-air-quality-monitor/details
- https://randomnerdtutorials.com/esp32-bme680-sensor-arduino/
- https://esphome.io/components/esp32_ble_beacon.html
- https://circuitdigest.com/microcontroller-projects/esp32-based-bluetooth-ibeacon
- https://www.electronics-lab.com/project/using-the-ble-functionality-of-the-esp32/
- https://www.instructables.com/id/ESP32-BLE-Android-App-Arduino-IDE-AWESOME/
- https://randomnerdtutorials.com/esp32-bluetooth-low-energy-ble-arduino-ide/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# couchdb.sh - manage the docker development environment for couchdb | |
# | |
COMMAND="$1" | |
CONTAINER="$2" | |
IMAGE="apache/couchdb:latest" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// async upsert( db, doc[, id] ) | |
// | |
// attempts to insert a document, on document conflict, attempt to create a new version | |
// | |
const upsert = (db, doc, id) => | |
// attempt to insert the doucment "as is" | |
db.insert(doc, id).catch(err => { | |
// for anything other than a document conflict... | |
if (err.statusCode !== 409) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Apple Meta Insanity</title> | |
<!-- | |
APPLE WEB APP META TAGS | |
--> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 4; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
default_type application/octet-stream; | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user wbzyl; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |