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 | |
clear | |
# Função para solicitar e verificar a confirmação da senha | |
confirm_password() { | |
local prompt="Digite novamente a senha: " | |
read -s -p "$prompt" confirmed_password | |
echo | |
while [ "$confirmed_password" != "$1" ]; do | |
echo "As senhas não correspondem. Tente novamente." |
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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
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 | |
# Script will output dumps for all databases using seperate files | |
# Created and modifiy by yuri.bucci@outlook.com 2021/08/29 | |
# Linkedin https://www.linkedin.com/in/yuribucci/ | |
# Mysql Host | |
HOST="localhost" | |
PORT="3306" | |
USER="root" | |
MYSQL_PWD="secret" |