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
| /* | |
| * Translated default messages for the jQuery validation plugin. | |
| * Locale: PT_BR | |
| */ | |
| jQuery.extend(jQuery.validator.messages, { | |
| required: "Este campo é requerido.", | |
| remote: "Por favor, corrija este campo.", | |
| email: "Por favor, forneça um endereço eletrônico válido.", | |
| url: "Por favor, forneça uma URL válida.", | |
| date: "Por favor, forneça uma data válida.", |
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: | |
| nginx: | |
| image: nginx:latest | |
| ports: | |
| - '80:80' | |
| volumes: | |
| - ./devops/nginx:/etc/nginx/conf.d | |
| - ./devops/logs/nginx:/var/log/nginx | |
| - ./wordpress:/var/www/html |
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
| /* | |
| * Mensagens | |
| */ | |
| var FormMDMessages = { | |
| error: { | |
| required: "O campo é obrigatório", | |
| } | |
| } | |
| /* |
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
| // Create a event trigger after change class of element | |
| (function () { | |
| var originalAddClassMethod = jQuery.fn.addClass; | |
| jQuery.fn.addClass = function () { | |
| var result = originalAddClassMethod.apply(this, arguments); | |
| jQuery(this).trigger('cssClassChanged'); | |
| return result; | |
| } |
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
| FROM php:7-fpm | |
| # Install modules | |
| RUN apt-get update && apt-get install -y \ | |
| libfreetype6-dev \ | |
| libjpeg62-turbo-dev \ | |
| libmcrypt-dev \ | |
| libpng12-dev \ | |
| libmemcached-dev \ | |
| libmysqlclient-dev \ | |
| libicu-dev \ |
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 | |
| use Zend\Expressive\AppFactory; | |
| use Firebase\JWT\JWT; | |
| use Slim\Middleware\JwtAuthentication; | |
| chdir(dirname(__DIR__)); | |
| require "vendor/autoload.php"; | |
| $app = AppFactory::create(); |
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
| # atualizando | |
| sudo add-apt-repository ppa:graphics-drivers/ppa -y | |
| sudo apt-get dist-upgrade -y && sudo apt-get update -y && sudo apt-get upgrade -y | |
| sudo ubuntu-drivers autoinstall | |
| # Instalar Gerais | |
| sudo apt install software-properties-common gdebi git software-properties-gtk curl vlc gedit transmission rar unrar cabextract lzip lunzip arj unace p7zip-rar p7zip ubuntu-make -y | |
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
| # atualizando | |
| sudo add-apt-repository ppa:graphics-drivers/ppa -y | |
| sudo apt-get dist-upgrade -y && sudo apt-get update -y && sudo apt-get upgrade -y | |
| sudo ubuntu-drivers autoinstall | |
| # Instalar Gerais | |
| sudo apt install software-properties-common gdebi git software-properties-gtk curl vlc gedit transmission rar unrar cabextract lzip lunzip arj unace p7zip-rar p7zip ubuntu-make -y | |
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 | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.com | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
| * Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
| */ | |
| $args = 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
| <?php | |
| namespace Base\Controller; | |
| use RuntimeException; | |
| use Zend\Form\Form; | |
| use Zend\Mvc\Controller\AbstractActionController; | |
| use Zend\View\Model\ViewModel; | |
| use Zend\Paginator\Paginator; | |
| use Zend\Paginator\Adapter\ArrayAdapter; |