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
``` | |
Moedas obsoletas não foram incluídas (ex: Antigo Cruzeiro Brasileiro - BRB). | |
Criptomoedas (BTC, ETH) não fazem parte oficialmente do ISO 4217, mas foram adicionadas por relevância. | |
Metais preciosos (XAU = Ouro, XAG = Prata) estão incluídos conforme o padrão. | |
Atualização: O ISO 4217 é revisado periodicamente, então recomendo verificar o site oficial da ISO para mudanças recentes. | |
``` |
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
{ | |
"sections": [ | |
{ | |
"section": "AUTOPEÇAS", | |
"data": [ | |
{ | |
"CEST": "01.001.00", | |
"ITEM": "1", | |
"NCM/SH": "3815.12.10", | |
"DESCRICAO": "Catalisadores em colmeia cerâmica ou metálica para conversão catalítica de gases de escape de veículos e outros catalisadores" |
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
pm.globals.set("generateCpfCnpjFunction", ` | |
function generateCpfCnpj(isCpf, format) { | |
//--CPF | |
function calculateVerificationDigit(part1, part2, part3, firstVerificationDigit) { | |
const numbers = \`\${part1}\${part2}\${part3}\`.split(""); | |
if (firstVerificationDigit !== undefined) { | |
numbers[9] = firstVerificationDigit; | |
} |
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 gregorian_chars = [ | |
{ id: 1, text: 'Alpha', color: 'violet', symbol:'α', letter:'A' }, | |
{ id: 2, text: 'Beta', color: 'dodgerblue', symbol:'β', letter:'B' }, | |
{ id: 3, text: 'Gama', color: 'green', symbol:'γ', letter:'Γ' }, | |
{ id: 4, text: 'Delta', color: 'orange', symbol:'δ', letter:'Δ' }, | |
{ id: 5, text: 'Épsilon', color: 'brown', symbol:'ε', letter:'E' }, | |
{ id: 6, text: 'Zeta', color: 'red', symbol:'ζ', letter:'Z' }, | |
{ id: 7, text: 'Etá', color: 'blue', symbol:'η', letter:'H' }, | |
{ id: 8, text: 'Teta', color: 'gray', symbol:'θ', letter:'Θ' }, | |
{ id: 9, text: 'Iota', color: 'yellow', symbol:'ι', letter:'I' }, |
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 FRAMEWORK7 v4 | |
//Structure INDEX.HTML | |
----------------------------------- | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> |
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
public function new_cpt_service() { | |
$labels = array( | |
'name' => _x( 'Servicos', 'api' ), | |
'singular_name' => _x( 'Serviço', 'api' ), | |
'add_new' => _x( 'Adicionar novo', 'api' ), | |
'add_new_item' => __( 'Novo serviço', 'api' ), | |
'edit_item' => __( 'Editar serviço', 'api' ), | |
'new_item' => __( 'Novo serviço', 'api' ), | |
'all_items' => __( 'Todos os serviços', 'api' ), | |
'view_item' => __( 'Visualizar serviço', 'api' ), |
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
// EDIT ORDER | |
[28-Jan-2020 01:44:47 UTC] Automattic\WooCommerce\Admin\Overrides\Order Object | |
( | |
[refunded_line_items:protected] => | |
[status_transition:protected] => | |
[data:protected] => Array | |
( | |
[parent_id] => 0 | |
[status] => completed | |
[currency] => BRL |
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
/* | |
// credentials.json | |
{ | |
"installed": { | |
"client_id": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com", | |
"project_id": "XXXXXXXXXXXXXXXXXXXXXXXX", | |
"auth_uri": "https://accounts.google.com/o/oauth2/auth", | |
"token_uri": "https://oauth2.googleapis.com/token", | |
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", |
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
# request.xml | |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wst="http://sensedia.com/repository/wstoolkit"> | |
<soapenv:Header> | |
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<wsse:UsernameToken wsu:Id="UsernameToken-1"> | |
<wsse:Username>system</wsse:Username> | |
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">manager</wsse:Password> | |
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">DWk64SMfJ6RxHAKgPRGtPA==</wsse:Nonce> | |
<wsu:Created>2013-04-17T18:36:54.013Z</wsu:Created> | |
</wsse:UsernameToken> |
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 convertToCSV(objArray) { | |
var array = typeof objArray != 'object' ? JSON.parse(objArray) : objArray; | |
var str = ''; | |
for (var i = 0; i < array.length; i++) { | |
var line = ''; | |
for (var index in array[i]) { | |
if (line != '') line += ',' | |
line += array[i][index]; |
NewerOlder