Skip to content

Instantly share code, notes, and snippets.

@Stanback
Stanback / nginx.conf
Last active April 22, 2024 19:23 — forked from michiel/cors-nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
#
# 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
@hugocore
hugocore / tv.ru.m3u
Created December 1, 2018 14:30
tv.ru.m3u
#EXTM3U
#EXTINF:-1,100% News
http://85.238.112.40:8810/hls_sec/239.33.16.32-.m3u8
#EXTINF:-1,21 канал (Ужгород)
rtmp://213.174.8.15:1935/live/danio
#EXTINF:-1,24 Украiна
http://109.68.190.192:1935/WEB_Ukraine24/Ukraine24.stream/playlist.m3u8
#EXTINF:-1,360 (Сургут)
rtmp://217.114.181.70/livepkgr/_definst_/tvcnew.flv
#EXTINF:-1,360 (Ярославль)
@smartynov
smartynov / onewire-1wire-search.ino
Created January 11, 2020 03:23
Simple Arduino script to search for connected 1wire devices and get addresses. Useful for DS18B20 discovery.
// 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
//