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
| services: | |
| nifi: | |
| container_name: nifi | |
| image: "apache/nifi:latest" # latest image as of 2021-11-09. | |
| restart: on-failure | |
| ports: | |
| - "8443:8443" | |
| - "8091:8080" | |
| environment: | |
| - NIFI_WEB_HTTP_PORT=8080 |
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 Invoke-TextToSpeech { | |
| param( | |
| [Parameter(Mandatory, ValueFromRemainingArguments)] | |
| [string[]]$texto | |
| ) | |
| begin { | |
| Add-Type -AssemblyName System.speech | |
| $narrador = New-Object System.Speech.Synthesis.SpeechSynthesizer | |
| } | |
| process { |
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
| # Para todos os repositórios dentro da minha pasta de usuário, | |
| # inclue o arquivo de configuração abaixo | |
| [includeIf "gitdir:~/"] | |
| path = .gitconfig-personal | |
| # Apenas para os repositórios abaixo da pasta "~/projects/corporative", | |
| # inclue o arquivo de configuração abaixo, com outras credenciais. | |
| [includeIf "gitdir:~/projects/corporative"] | |
| path = .gitconfig-corporative |
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 knex, { Knex } from 'knex'; | |
| import configuration from '../../knexfile'; | |
| import dotenv from 'dotenv'; | |
| dotenv.config(); | |
| type iConfig = { | |
| [key: string]: { | |
| client: string; | |
| connection: Knex.MsSqlConnectionConfigBase; | |
| migrations: Knex.MigratorConfig; | |
| seeds: Knex.SeederConfig; |
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
| { | |
| "variables": [], | |
| "info": { | |
| "name": "GLPI API", | |
| "_postman_id": "93d36159-3fa9-bed0-ff15-ad4cc5cc6abb", | |
| "description": "", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
| }, | |
| "item": [ | |
| { |
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
| #!/usr/bin/env bash | |
| ########################################################### | |
| # # | |
| # Criado por Rodrigo Cordeiro # | |
| # # | |
| # 2020 # | |
| ########################################################### | |
| # Script desenvolvido para 'preparar' o desktop após a # | |
| # formatação. Possui os principais programas utilizados e # | |
| # permite a seleção do que será instalado. # |
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
| # -*- coding: utf-8 -*- | |
| # Author: Rodrigo Cordeiro | |
| import json | |
| def ler(): | |
| with open('horario.json','r') as f: | |
| dados = json.load(f) | |
| for data in dados.keys(): | |
| print(data) |