Skip to content

Instantly share code, notes, and snippets.

View oviniciusfeitosa's full-sized avatar

Vinícius Feitosa da Silva oviniciusfeitosa

View GitHub Profile
oviniciusfeitosa / OKAddress.dart
Created October 13, 2022 04:07 — forked from athlona64/OKAddress.dart
Flutter + Ethereum BIP39, BIP32
View OKAddress.dart
import 'package:bip39/bip39.dart' as bip39;
import "package:hex/hex.dart";
import 'package:web3dart/credentials.dart';
import 'package:bip32/bip32.dart' as bip32;
abstract class OKAddressETH {
String generateMnemonic();
String getPrivateKey(String mnemonic);
Future<EthereumAddress> getPublicAddress(String privateKey);
oviniciusfeitosa /
Created September 2, 2022 02:37
Linux right click shorcut or keyboard key

Shift + F10


Shift + Fn + F10

oviniciusfeitosa / Git Permissions
Last active August 31, 2020 20:33
Git Permissions
View Git Permissions
git diff -p -R --no-ext-diff --no-color \
    | grep -E "^(diff|(old|new) mode)" --color=never  \
    | git apply


git config --global --add alias.permission-reset '!git diff -p -R --no-ext-diff --no-color | grep -E "^(diff|(old|new) mode)" --color=never | git apply'
oviniciusfeitosa / banco_codigo.json
Created August 25, 2020 17:24 — forked from antoniopresto/banco_codigo.json
JSON bancos do brasil com código
View banco_codigo.json
"value": "001",
"label": "Banco do Brasil S.A."
"value": "003",
"label": "Banco da Amazônia S.A."
oviniciusfeitosa / Git Reset by
Created June 21, 2020 03:06
Git Reset by
View Git Reset by
git reset --hard master@{"300 minutes ago"}
View Github SSH
  • Gerar chave
ssh-keygen -t rsa -b 4096 -C ""
  • Adiciona chave privada ao ssh-client
eval "$(ssh-agent -s)"
oviniciusfeitosa / GIT - Cache user and
Created May 17, 2020 19:35
GIT - Cache user and
View GIT - Cache user and
git config credential.helper store                          
git config --global credential.helper 'cache --timeout 7200'
View Stress
sudo apt-get install apache2-dev
# or yum install httpd-tools
ab -n 9999 -c 333 http://localhost:80/

(9999 nr re requisições)
(333 quantidade de vezes)
oviniciusfeitosa / git rename
Created April 29, 2020 15:40
git rename
View git rename
  1. Rename your local branch.

If you are on the branch you want to rename:

git branch -m new-name

If you are on a different branch:

git branch -m old-name new-name