Skip to content

Instantly share code, notes, and snippets.

View fexploit's full-sized avatar
🎯
Focusing

Faruk fexploit

🎯
Focusing
View GitHub Profile
#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;
<?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,