Skip to content

Instantly share code, notes, and snippets.

View ayr-ton's full-sized avatar
⛩️
In the zone

Ayrton ayr-ton

⛩️
In the zone
  • Belo Horizonte
View GitHub Profile
@ayr-ton
ayr-ton / load_dotenv.sh
Last active April 4, 2022 18:08 — forked from mihow/load_dotenv.sh
Load environment variables from dotenv / .env file in Bash
function load-env() {
if [ -e .env ]
then
export $(cat .env | xargs)
echo ".env exported with success! 🥄"
else
echo "There's no spoon 🐲"
fi
}
@ayr-ton
ayr-ton / README.md
Last active June 27, 2022 13:21
U2F sudo with Yubikey or Ledger Nano

Install for your distribution

MacOS:

brew install pam-u2f

For Arch Linux:

pacman -S pam-u2f
@ayr-ton
ayr-ton / keys.sh
Last active April 4, 2022 12:27
Configuring your keys in a new SSH server
touch ~/.ssh/authorized_keys
curl https://github.com/ayr-ton.keys >> ~/.ssh/authorized_keys
@ayr-ton
ayr-ton / sync-workspaces.sh
Last active April 13, 2022 13:20
Sync workspaces
#!/bin/bash
SYNC_SERVER=""
function enter_workspace() {
cd ~/workspace
}
function leave_workspace() {
cd -
@ayr-ton
ayr-ton / README.md
Created August 19, 2021 01:34
Agile Snippets

Agile Snippets

Jira

bug

{panel:title = *Business Context*}
Xxx
{panel} 
@ayr-ton
ayr-ton / leitos-hospitalares-em-tempo-real.ipynb
Created March 18, 2021 14:04
Leitos hospitalares em tempo real.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ayr-ton
ayr-ton / fabio.nomad
Created August 11, 2020 06:06
FabioLB Nomad Job
job "fabio" {
datacenters = ["dc1"]
type = "system"
group "fabio" {
task "fabio" {
driver = "docker"
config {
image = "fabiolb/fabio"

Keybase proof

I hereby claim:

  • I am ayr-ton on github.
  • I am ping_ayrton (https://keybase.io/ping_ayrton) on keybase.
  • I have a public key ASBo_uZSyQ-YjPVyz-rI5kZPUbo_OUUZo_FMsNkojCyU1go

To claim this, I am signing this object:

@ayr-ton
ayr-ton / README.md
Created March 26, 2020 15:25
IR sobre bolsa de valores

IR sobre Bolsa de Valores

Imposto de Renda na Bolsa de Valores | Veja Tudo

Operações Normais

::Compra foi feita num pregão e vendidas em outro (dias diferentes)::

  • Isenção de até R$ 20.000,00 em vendas num mês;
  • 0,005% de imposto retido na fonte;
  • Alíquota: 15% sobre o ganho líquido;
  • Deduzir demais taxas da corretora.
git checkout development
git reset --soft HEAD~1
git stash
git fetch origin
git reset --hard origin/development
git stash pop
git add .
git commit -m ...