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
| [GET] /plataforma-resseguro/v1/contratos | |
| content: { | |
| nome_contrato: string; | |
| status: string; | |
| vigencia: string; | |
| tipo_contrato: string; | |
| modalidade_contrato: number; | |
| base_cobertura: string; | |
| submodalidade: string; |
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 io | |
| import sys | |
| import zipfile | |
| from pathlib import Path | |
| arquivo_origem = "gato_foto.jpg" | |
| pasta_destino = "extraido_python" | |
| # 1. Carrega os bytes do arquivo | |
| conteudo = Path(arquivo_origem).read_bytes() |
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 sys | |
| import wave | |
| import numpy as np | |
| FREQ_MARK = 1200 # Bit 1 | |
| FREQ_SPACE = 2200 # Bit 0 | |
| BAUD = 1200 | |
| def goertzel(samples, sample_rate, target_freq): | |
| """Calcula a magnitude de uma frequência específica de forma rápida.""" |
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
| { | |
| "deploy": { | |
| "VM:-": { | |
| "linkReferences": {}, | |
| "autoDeployLib": true | |
| }, | |
| "main:1": { | |
| "linkReferences": {}, | |
| "autoDeployLib": true | |
| }, |
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
| My fist Gist |