Julio @faermanj
https://faermanj.me
https://caravana.cluoud
https://gist.github.com/faermanj/270a8a8ab817f95fc2e350ec2d481bd2
Aplicação estilo "microserviços" ("PetCare")
| # Generate a unique private key (KEY) | |
| sudo openssl genrsa -out mydomain.key 2048 | |
| # Generating a Certificate Signing Request (CSR) | |
| sudo openssl req -new -key mydomain.key -out mydomain.csr | |
| # Creating a Self-Signed Certificate (CRT) | |
| openssl x509 -req -days 365 -in mydomain.csr -signkey mydomain.key -out mydomain.crt | |
| # Append KEY and CRT to mydomain.pem |
| #!/usr/bin/env bash | |
| noto_font_directories=$(fc-list | grep -E '\/Noto[A-Z]' | awk -F '/Noto' '{$NF=""; print $0}' | sort | uniq | tr "\n" " ") | |
| echo $noto_font_directories | xargs ls | | |
| awk -F '-' '{print $1}' | | |
| awk '{ gsub("/^NotoSerif|^NotoSans|^NotoColorEmoji.+|^NotoMusic.+|.+Symbols.*|.+Math.*|.+Gothic.+|Noto|Mono|CJK|Serif",""); | |
| if ($0 ~ /^[A-Za-z]/) { print}}' | | |
| sort | uniq | tr "\n" " " |
| # This may be runnable as a script, but keep in mind -y is not always acknowledged. | |
| # These are the drop dead basics | |
| pkg -y install vim | |
| pkg -y install git | |
| pkg -y install chromium | |
| pkg -y install gimp | |
| pkg -y install sudo | |
| # Install Rust |
| import os | |
| import sys | |
| import string | |
| class cli: | |
| prompt = '# ' | |
| def __init__(self): | |
| try: | |
| import readline |