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
# Uso: parse_dfe_key 00000000000000000000000000000000000000000000 | |
function parse_dfe_key() { | |
local chave="$1" | |
if [[ ! $chave =~ ^[0-9]{44}$ ]]; then | |
echo "Erro: A chave de acesso deve ter exatamente 44 dígitos numéricos." | |
return 1 | |
fi |
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
# Add it to your .bashrc. | |
# Usage: create_post "My post name" | |
# or: create_post | |
# The script will generate the slug, ask for author's, ask | |
# if you want to generate permalink and tags | |
function create_post { | |
title=$1 | |
# if no post title was supplied |
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
Verifying that +fonini is my blockchain ID. https://onename.com/fonini |