Skip to content

Instantly share code, notes, and snippets.

@smartynov
smartynov / onewire-1wire-search.ino
Created Jan 11, 2020
Simple Arduino script to search for connected 1wire devices and get addresses. Useful for DS18B20 discovery.
View onewire-1wire-search.ino
// FILE: oneWireSearch.ino
// AUTHOR: Rob Tillaart
// VERSION: 0.1.04
// PURPOSE: scan for 1-Wire devices + code snippet generator
// DATE: 2015-june-30
// URL: http://forum.arduino.cc/index.php?topic=333923
//
// inspired by http://www.hacktronics.com/Tutorials/arduino-1-wire-address-finder.html
//
@Stanback
Stanback / nginx.conf
Last active Jan 24, 2021 — forked from michiel/cors-nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
View nginx.conf
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
#
# include cors_support;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which