This file contains hidden or 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
| like just love know never want time out there make look eye down only think heart back then into about more away still them take thing even through long always world too friend tell try hand thought over here other need smile again much cry been night ever little said end some those around mind people girl leave dream left turn myself give nothing really off before something find walk wish good once place ask stop keep watch seem everything wait got yet made remember start alone run hope maybe believe body hate after close talk stand own each hurt help home god soul new many two inside should true first fear mean better play another gone change use wonder someone hair cold open best any behind happen water dark laugh stay forever name work show sky break came deep door put black together upon happy such great white matter fill past please burn cause enough touch moment soon voice scream anything stare sound red everyone hide kiss truth death beautiful mine blood broken very pass next forget tree wrong air mot |
This file contains hidden or 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 | |
| public function toNotification($dataNotificacao){ | |
| $dataAtual = new DateTime(); | |
| $dataNotificacao = DateTime::createFromFormat('Y-m-d H:i:s', $dataNotificacao); | |
| if (!$dataNotificacao) { | |
| return false; | |
| } | |
| $intervalo = $dataAtual->diff($dataNotificacao); | |
This file contains hidden or 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 | |
| /** | |
| * @param {string} $search | |
| * @param {array} $datas | |
| * @return {array} | |
| */ | |
| public function search($search, $datas){ | |
| $response = []; | |
This file contains hidden or 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
| function isES6Supported() { | |
| try { | |
| new Function("(a = 0) => a"); // Testa a existência de arrow functions | |
| return true; | |
| } catch (exception) { | |
| return false; | |
| } | |
| } |
This file contains hidden or 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
| function TypingMessage(){ | |
| if(typeof(window.Typing) == 'undefined' || window.Typing == null){ | |
| console.log("Dispara Evento Escrevendo"); | |
| window.Typing = new TypingTimer(function(){ | |
| console.log("Dispara Evento Escrevendo"); | |
This file contains hidden or 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 | |
| /* | |
| Dependencies: https://www.php.net/manual/pt_BR/mongodb.tutorial.library.php | |
| */ | |
| define("ACCESS_KEY", "cBeISKzsafdrSeISKzpmOOaJ8t8WISKzpYEOOE"); //Define your access key to send | |
| if(!isset($_GET['key'], $_POST['owner']) OR $_GET['key'] !== ACCESS_KEY){ | |
| http_response_code(500); |
This file contains hidden or 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 | |
| public function ConvertAudio($b64){ | |
| try{ | |
| if(!$this->CheckBase64($b64)){ | |
| return false; | |
| }elseif(!$this->CheckSizeBase64($b64, 500, false)){ | |
| return false; |
This file contains hidden or 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 remove_array_key($key, &$array){ | |
| $result = array_key_exists($key, $array); | |
| if($result){ | |
| unset($array[$key]); | |
| return $array; | |
| } |
This file contains hidden or 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
| Mozilla/5.0 (Linux; Android 9; SM-J330FN Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/337.0.0.32.118;] | |
| Mozilla/5.0 (Linux; Android 7.0; FRD-L09 Build/HUAWEIFRD-L09; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/227.0.0.43.158;] | |
| Mozilla/5.0 (iPhone; CPU iPhone OS 14_7 like Mac OS X) WebKit/8611 (KHTML, like Gecko) Mobile/18G69 [FBAN/FBIOS;FBDV/iPhone10,3;FBMD/iPhone;FBSN/iOS;FBSV/14.7;FBSS/3;FBID/phone;FBLC/en_US;FBOP/5] | |
| Mozilla/5.0 (Linux; Android 10; HRY-LX1T Build/HONORHRY-LX1T; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/93.0.4577.62 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/333.0.0.30.119;] | |
| Mozilla/5.0 (Linux; Android 10; JSN-L21 Build/HONORJSN-L21; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/94.0.4606.71 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/325.0.0.36.170;] | |
| Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) |
This file contains hidden or 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 | |
| //bancos brasileiros com índice referente ao código do banco | |
| $bancos = array( | |
| '001' => 'Banco do Brasil', | |
| '003' => 'Banco da Amazônia', | |
| '004' => 'Banco do Nordeste', | |
| '021' => 'Banestes', | |
| '025' => 'Banco Alfa', | |
| '027' => 'Besc', | |
| '029' => 'Banerj', |