##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:alexpchin/.git
| import string, random | |
| # Apresenta o programa | |
| print('~' * 115 + '\nOlá, seja bem-vindo, esse programa é um Gerador de Senhas. ' | |
| GeneratorExit'Posso ajudá-lo a criar uma senha mais segura para você.\n') | |
| # Pergunta o tamanho da senha para o usuário | |
| while 1: | |
| tamanho_senha = int() | |
| try: |
| # Apresentação da loja | |
| print('~' * 70 | |
| + '\nSeja bem-vindo ao aplicador de descontos da loja\n\n' | |
| + '| Quantidade | Descrição |\n' + | |
| '-' * 42, | |
| '\n| Até 9 | 0% por unidade |', | |
| '\n| Entre 10 e 99 | 5% por unidade |', | |
| '\n| Entre 100 e 999 | 10% por unidade |', | |
| '\n| De 1000 para mais| 15% por unidade |' | |
| + '\n'+ '~' * 43) |
| using System; | |
| using System.Globalization; | |
| namespace ExercicioContaBancaria { | |
| internal class ContaBancaria { | |
| #region Atributos | |
| public double Saldo { get; private set; } | |
| public int NumeroConta { get; private set; } | |
| public string Nome { get; set; } |
##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:alexpchin/.git
| Resposta fornecida por MrPowerGamerBR: https://www.reddit.com/r/linuxbrasil/comments/1ke47ai/comment/mqfxp09/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button | |
| Como arrumar a cedilha/cedilla (ç) em apps Electron no Wayland: | |
| Você instala o fcitx5 usando sudo pacman -Sy fcitx5-im (você pode ver o que vem no fcitx5-im na wiki) | |
| Depois disso, você vai no "Fcitx 5 Config" (um app que vem junto com o fcitx5-im) e coloca o teclado que você quer, eu coloquei o "Inglês (EUA, intern, alt.)". | |
| E aí, para iniciar o Discord Canary, você usa discord-canary --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-version=3 |