Meta | Nome | Função |
---|---|---|
. |
ponto | um caractere qualquer |
[] |
conjunto | conjunto de caracteres permitidos |
[^] |
conjunto negado | conjunto de caracteres proibidos |
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
#!/bin/bash | |
for file in `ls *.webp` | |
do | |
newfile=`echo $file | sed 's/webp/jpg/'` | |
convert $file $newfile | |
done | |
for file in `ls *.jfif` | |
do |
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
package main | |
import ( | |
"io/ioutil" | |
"net/http" | |
"log" | |
"html/template" | |
"regexp" | |
) |
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 render() | |
{ | |
$builder = new StdClass; | |
$pgto1 = new StdClass; | |
$pgto1->getIdPagamento = 'pagamentoAutenticacao'; | |
$pgto2 = new StdClass; | |
$pgto2->getIdPagamento = 'pagamentoTributo'; |
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
<template> | |
<h1>Página secreta!</h1> | |
</template> |
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
SELECT | |
nfe.id_nfe, | |
nfe.dt_emissao, | |
nfe.numero | |
FROM | |
fis_nfe nfe | |
LEFT JOIN | |
com_projeto_parametros_venda propv ON propv.id_projeto_parametros_venda = nfe.id_projeto_parametros_venda | |
AND propv.stat != 0 | |
LEFT JOIN |
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
use INFORMATION_SCHEMA; | |
SELECT | |
TABLE_NAME, | |
COLUMN_NAME, | |
CONSTRAINT_NAME, | |
REFERENCED_TABLE_NAME, | |
REFERENCED_COLUMN_NAME | |
FROM | |
KEY_COLUMN_USAGE | |
WHERE |
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
TRUNCATE AccountingBalanceSheetLayoutEnvironment; | |
INSERT INTO AccountingBalanceSheetLayoutEnvironment(id_balanco_contabil_layout, id_empresa) SELECT | |
id_balanco_contabil_layout , | |
c.id_empresa | |
FROM | |
AccountingBalanceSheetLayoutMainData a | |
LEFT JOIN CorporationMainData c ON c.stat <> 0; | |
TRUNCATE AccountingBalanceSheetLayoutProfile; |
NewerOlder