This file contains 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 | |
## Corrigir cedilha Ubuntu (principalmente navegadores) | |
## Detalhes: <https://gist.github.com/reinaldocoelho/3fc62b9b1e4287708eb458f5010dde8f#file-correcao-cedilha-ubuntu-md> | |
echo 'GTK_IM_MODULE=cedilla' | sudo tee -a /etc/environment | |
echo 'QT_IM_MODULE=cedilla' | sudo tee -a /etc/environment | |
## ####################################################### | |
## VIA APT | |
## ####################################################### |
- O telegraf é o sistema que recupera, processa e dispara registros de fontes para os destinos.
O telegraf é dividido na seguinte estrutura:
- Configurações - Configurações gerais de comportamento
- Inputs - Processadores de Input que vão ler alguma estrutura de entrada, seja arquivo, banco ou log.
- Processors - Podem
- Aggregators
This file contains 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
" ################################################# | |
" ## To use this, save this file on: ~/.vimrc ## | |
" ## or file /usr/share/vim/vimrc ## | |
" ## If error when run, verify encode (win/unix) ## | |
" ################################################# | |
" Videos | |
" https://www.youtube.com/watch?v=lm7y2hI6zME | |
" HERE DEFAULT UBUNTU /etc/vim/vimrc |
Detalhes em: https://imasters.com.br/devsecops/cedilha-ubuntu-13-10-com-teclado-americano
Passos:
- Editar o arquivo
/etc/environment
, e incluir as linhas:GTK_IM_MODULE=cedilla
QT_IM_MODULE=cedilla
This file contains 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
-- EXEMPLO: | |
-- 1. CRIA TABELA PARA REGISTRAR LOGS | |
CREATE OR REPLACE TABLE TriggerLog(text varchar(200)) ENGINE=MyIsam; | |
-- 2. CRIA TABELA DE REGISTROS | |
CREATE OR REPLACE TABLE registros ( | |
id int(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY, | |
cliente int NOT NULL, | |
valor varchar(80) COLLATE utf8_unicode_ci NOT NULL, |
This file contains 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
## About Alias | |
# https://www.tecmint.com/create-alias-in-linux/#:~:text=Aliases%20are%20like%20custom%20shortcuts%20used%20to%20represent,on%20your%20profile%20by%20simply%20executing%20alias%20command. | |
## ############## | |
## ALIASES | |
## ############# | |
# Como fazer: | |
# Ediar arquivo de profile: | |
vim $HOME/.bash_aliases |
This file contains 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
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "copy", | |
"singleLine": false |
This file contains 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
# Outros modulos PS instalados | |
Import-Module posh-git | |
Import-Module oh-my-posh | |
Set-Theme Paradox | |
# Salve este arquivo em: $profile (C:\Users\reinaldo\Documents\PowerShell\Microsoft.PowerShell_profile.ps1) | |
# Pode-se abrir direto para edição com: vim $profile | |
# Mais detalhes em: https://stackoverflow.com/questions/24914589/how-to-create-permanent-powershell-aliases | |
# Cria uma funcao para processar os comandos |
NewerOlder