This file contains 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
# O que fazer para melhorar a eficiência energética? | |
# projeto: https://ibb.co/D9sMqyf | |
#include <NTPClient.h> | |
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
#include <Arduino.h> | |
#include <TM1637Display.h> |
This file contains 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
<?php | |
echo '<pre>'; | |
var_dump(getallheaders()); |
This file contains 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
// update date and time of a onvif cam | |
const onvif = require('onvif'); | |
const Cam = onvif.Cam; | |
onvif.Discovery.on('device', (cam) => { | |
new Cam(cam, function (err) { | |
if (err) { | |
console.error('Connection Failed for ', err); | |
return; |
This file contains 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
#!/bin/sh | |
#script para testar conectividade com internet, caso não tenha internet reinicia o sistema | |
tempo_timeout=3 | |
tempo_espera_entre_ping=3 | |
ip_avaliacao=8.8.8.200 | |
while : | |
do |
This file contains 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
# | |
# MY custom config for openwrt with nanopi r4s | |
# Automatically generated file; DO NOT EDIT. | |
# OpenWrt Configuration | |
# | |
CONFIG_MODULES=y | |
CONFIG_HAVE_DOT_CONFIG=y | |
CONFIG_HOST_OS_LINUX=y | |
# CONFIG_HOST_OS_MACOS is not set | |
# CONFIG_TARGET_sunxi is not set |
OlderNewer