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
| Seguem os eventos e seus respectivos códigos: | |
| -> onScriptInit: | |
| -------------------------------------------------------------------- | |
| sc_include_lib("Jquery"); | |
| ?> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" /> | |
| <style> |
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
| #!/usr/bin/env python3 | |
| import os | |
| import json | |
| import requests | |
| from multiprocessing.pool import ThreadPool | |
| def build_index(): | |
| page = 1 | |
| urls = [] |
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 | |
| ini_set('display_errors',0); | |
| class PessoaForm extends TPage | |
| { | |
| public static function onCEP($param = null) | |
| { | |
| try |
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 | |
| $nome_completo = 'FABRICIO ALMEIDA'; | |
| $array = explode(' ', $nome); | |
| # RETORNO DO explode | |
| Array | |
| ( | |
| [0] => FABRICIO |
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
| version: '3' | |
| services: | |
| uptime-kuma: | |
| image: louislam/uptime-kuma:1 | |
| container_name: uptime-kuma | |
| restart: always | |
| ports: | |
| - "7200:3001" | |
| volumes: | |
| - /data/uptime-kuma/data:/app/data |
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 onReload($param = NULL) | |
| { | |
| if (empty($param['order'])) | |
| { | |
| $param['order'] = 'cidade->nome'; | |
| $criteria->setProperties($param); | |
| } |
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
| # CRIE UM ARQUIVO JS NO PROJETO | |
| function __adianti_block_ui(mensagem) | |
| { | |
| if (typeof $.blockUI == 'function') | |
| { | |
| if (typeof Adianti.blockUIConter == 'undefined') | |
| { | |
| Adianti.blockUIConter = 0; | |
| } |
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 | |
| // adicione estas funções no arquivo init.php | |
| // uso: d($argumento1, $argumento2, ...); | |
| // https://github.com/renatofrota | |
| // dump | |
| function d(...$args) | |
| { | |
| $bt = debug_backtrace(); |
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 | |
| # AGRADECIMENTO: WELLIGTON PIVATTO | |
| # INSTALE O PACOTE COMPOSER NO PROJETO: google/apiclient | |
| # CONTEÚDO ARQUIVO google.ini (app/config/google.ini) | |
| /* | |
| [google_oauth2] | |
| client_id = "303046463171-cisqtpsaqbvd6xpg547rfbhi7ea1un69.apps.googleusercontent.com" | |
| client_secret = "YHMKPX-wqMQF1Dc06GI5Prd2IYVivJ3df6V" |
OlderNewer