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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import Head from 'next-server/head'; | |
import useElasticApm from '@@/Commons/hooks/useElasticApm'; | |
const statusCodes = { | |
400: 'Bad Request', | |
404: 'This page could not be found', | |
405: 'Method Not Allowed', |
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
import { css, keyframes } from 'styled-components'; | |
import colors from './colors'; | |
const slideUpKeyframe = keyframes` | |
0% { | |
opacity: 0; | |
transform: translateY(30px); | |
} | |
100% { | |
opacity: 1; |
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
node { | |
try { | |
def PROJECT = "project-name" | |
def REPO_GIT = "project.git" | |
def BRANCH_NAME = "ti" | |
def IMAGE_VERSION = "$BUILD_NUMBER" | |
def ENV_DOMAIN = "k8s-ti-company" | |
def ECR_URL = "12345664.dkr.ecr.sa-east-1.amazonaws.com/$PROJECT" |
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
const Hapi = require("hapi"); | |
const JWT = require("jsonwebtoken"); | |
// our "users database" | |
const people = { | |
1: { | |
id: 1, | |
name: "Jen Jones" | |
} | |
}; |
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
<? | |
//$this->Importacao->recursive = -1 | |
//$this->Filter->setPaginate('contain', array('Importacaodado')); | |
// ou | |
$this->Importacao->recursive = 1; | |
$this->Filter->addFilters(array('filter1' => array( ect.....))); | |
$this->Filter->setPaginate('order', array('Importacao.id' => 'desc')); |
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
Original: | |
LOAD * INLINE [ | |
Objeto, ID | |
Ref1, 13 | |
Ref1, 16 | |
Ref1, 19 | |
Ref1, 32 | |
]; | |
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
<? | |
/** | |
* Carrega a API do WordPress | |
*/ | |
define('WP_USE_THEMES', false); // Não utiliza nenhum tema | |
require('./wordpress/wp-load.php'); | |
$query = new WP_Query( 'page_id=7' ); | |
if ( $the_query->have_posts() ) { |
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
// Carrega a tabela | |
Table: | |
load * inline [ | |
ID, ID2, UF, CABELO, OLHOS | |
1, 101, 'SP', 'PRETO', 'VERDE' | |
2, 102, 'RJ', 'CASTANHO', 'CASTANHO' | |
3, 103, 'SP', 'CASTANHO', 'AZUL' | |
4, 101, null, 'LOIRO', 'VERDE' | |
5, 104, 'RO', 'PRETO', 'VERDE' |
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
=Only({$<VALOR_RECEBIDO={'0,00'}> CLIENTE} |
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
set smartindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab |
NewerOlder