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
#include <lowpower.h> | |
#include <EEPROM.h> | |
int currentSessionId; | |
int humanCount = 0; | |
int eepromHumanCount = 0; | |
long eepromLastSyncAt = 0; | |
const int trigPin = 9; | |
const int echoPin = 10; |
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 | |
function make_links($text, $class='', $target='_blank'){ | |
return preg_replace('!((http\:\/\/|ftp\:\/\/|https\:\/\/)|www\.)([-a-zA-Zа-яА-Я0-9\~\!\@\#\$\%\^\&\*\(\)_\-\=\+\\\/\?\.\:\;\'\,]*)?!ism', '<a class="'.$class.'" href="//$3" target="'.$target.'">$1$3</a>', $text); | |
} | |
define("APP_ID", 'xxxxxxxxxxxxxxxxxxx'); | |
define("APP_SECRET",'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); | |
define("PAGE_ID",'elnuevodia'); | |
$config = array( | |
'appId' => APP_ID, |