Skip to content

Instantly share code, notes, and snippets.

View luizvaz's full-sized avatar
🎯
Focusing

Luiz Vaz luizvaz

🎯
Focusing
View GitHub Profile
@luizvaz
luizvaz / elotech.cs
Created August 8, 2017 00:46
Elotetch - C# SOAP XML Sign Oasis WSSecurity - Palotina/PR
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Reflection;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
@luizvaz
luizvaz / wr841n-lede-build.conf
Created September 6, 2017 13:41
WR841N-V10 build config
#
# Automatically generated file; DO NOT EDIT.
# LEDE Configuration
#
CONFIG_MODULES=y
CONFIG_HAVE_DOT_CONFIG=y
# CONFIG_TARGET_sunxi is not set
# CONFIG_TARGET_apm821xx is not set
# CONFIG_TARGET_ath25 is not set
CONFIG_TARGET_ar71xx=y
@luizvaz
luizvaz / DDL.sql
Created December 19, 2020 02:15
Oracle Table DDL
SET LONG 20000 LONGCHUNKSIZE 20000 PAGESIZE 0 LINESIZE 1000 FEEDBACK OFF VERIFY OFF TRIMSPOOL ON
BEGIN
DBMS_METADATA.set_transform_param (DBMS_METADATA.session_transform, 'SQLTERMINATOR', true);
DBMS_METADATA.set_transform_param (DBMS_METADATA.session_transform, 'PRETTY', true);
-- Uncomment the following lines if you need them.
--DBMS_METADATA.set_transform_param (DBMS_METADATA.session_transform, 'SEGMENT_ATTRIBUTES', false);
--DBMS_METADATA.set_transform_param (DBMS_METADATA.session_transform, 'STORAGE', false);
END;
/
@luizvaz
luizvaz / smarapd_203.php
Last active February 17, 2024 21:34
Assinatura e Envio de XML SMARAPD padrão ABRASF 2.03 (Vila Velha)
<?php
/**
* User: LuizVAz
* Date: 28/02/2021
* Time: 19:46
*/
namespace Provedores\webService;
use DOMDocument;
@luizvaz
luizvaz / d2ti_v001.php
Last active March 7, 2021 23:03
Geração e Envio de XML padrão D2TI (Imperatriz/MA)
<?php
/**
* User: LuizVAz
* Date: 22/04/2019
* Time: 21:46
*/
namespace Provedores\webService;
use DOMDocument;
@luizvaz
luizvaz / codigoIbgeTom.php
Created March 7, 2021 23:05
Código IBGE x TOM
<?php
/*
* Cada UF no Brasil, possui um Código IBGE.
* Esses Códigos são utilizados na emissão de Documentos Fiscais Eletrônicos
* (NFC-e, NF-e, CT-e, MDF-e e CF-e) e são informados no campo cUF.
* http://www.ibge.gov.br/home/geociencias/areaterritorial/principal.shtm
*/
$codigo_IBGE_TOM = [
@luizvaz
luizvaz / codigoIbgeUf.php
Created March 7, 2021 23:06
Código IBGE x UF
<?php
/*
* Cada UF no Brasil, possui um Código IBGE.
* Esses Códigos são utilizados na emissão de Documentos Fiscais Eletrônicos
* (NFC-e, NF-e, CT-e, MDF-e e CF-e) e são informados no campo cUF.
* http://www.ibge.gov.br/home/geociencias/areaterritorial/principal.shtm
*/
$codigo_IBGE_UF = [
@luizvaz
luizvaz / README.MD
Last active July 8, 2021 03:11 — forked from giordanocardillo/README.MD
Remove Office 2016 Product Key
  1. Open a command prompt as Administrator

  2. In the command prompt, type the following:

  • Office 2016 (32-bit) on a 32-bit version of Windows
    cd "C:\Program Files\Microsoft Office\Office16\"

  • Office 2016 (32-bit) on a 64-bit version of Windows
    cd "C:\Program Files (x86)\Microsoft Office\Office16\"

  • Office 2016 (64-bit) on a 64-bit version of Windows

@luizvaz
luizvaz / fiorilli_201.php
Created September 27, 2022 14:20
Assinatura e Envio de XML FIORILLI padrão ABRASF 2.01 (Senador Canedo)
<?php
/**
* User: LuizVAz
* Date: 26/09/2022
* Time: 12:46
*/
class fiorilli_v001
{
@luizvaz
luizvaz / GerarNFSe.xml
Created September 27, 2022 14:23
Arquivo XML FIORILLI padrão ABRASF 2.01 (Senado Canedo)
<GerarNfseEnvio xmlns="http://www.abrasf.org.br/nfse.xsd">
<Rps>
<InfDeclaracaoPrestacaoServico Id="pfx3521e498-77ef-ef4b-1308-e393d4c3f651">
<Rps>
<IdentificacaoRps>
<Numero>1</Numero>
<Serie>4</Serie>
<Tipo>1</Tipo>
</IdentificacaoRps>
<DataEmissao>2022-09-26</DataEmissao>