Skip to content

Instantly share code, notes, and snippets.

Avatar
🛫
Thinking in the next bootcamp!

Deyvison Rocha deyvisonrocha

🛫
Thinking in the next bootcamp!
View GitHub Profile
@deyvisonrocha
deyvisonrocha / _end-to-end-enc.js.md
Created August 28, 2020 23:50 — forked from therightstuff/_end-to-end-enc.js.md
Javascript / Node.js end-to-end encryption
View _end-to-end-enc.js.md
@deyvisonrocha
deyvisonrocha / install-k8s-minikube.sh
Created November 26, 2019 02:08
Installing Kubernetes & Minikube on Linux Ubuntu
View install-k8s-minikube.sh
#!/usr/bin/bash
# Ubuntu dependencies
sudo apt install -y apt-transport-https curl
# Install Virtualbox and Extension Pack
sudo apt install -y virtualbox virtualbox-ext-pack
# Install kubectl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
@deyvisonrocha
deyvisonrocha / readme.md
Created November 1, 2019 12:14
Bluedio Bluetooth - Fedora 31
View readme.md

Fedora 31

Install Bluetooth and pairing Bluedio

$ sudo dnf install bluez-hid2hci
View keybase.md

Keybase proof

I hereby claim:

  • I am deyvisonrocha on github.
  • I am deyvisonrocha (https://keybase.io/deyvisonrocha) on keybase.
  • I have a public key ASAOZ_qNe3gC4QnR1cw1RCoJAEm5gyvHwlypX4dYVSV1Lwo

To claim this, I am signing this object:

@deyvisonrocha
deyvisonrocha / phpstorm.cmder.md
Created July 4, 2019 23:25 — forked from vluzrmos/phpstorm.cmder.md
Configurar o Laragon CMDER dentro do PHPSTORM
View phpstorm.cmder.md

1- Adicionar a variável de ambiente CMDER_ROOT com o caminho para C:\laragon\bin\cmder (local do cmder no computador)

2- Abrir o phpstorm, ir em File (Menu) > Settings > Tools > Terminal e alterar o caminho padrão "cmd.exe" para:

"cmd.exe" /k ""%CMDER_ROOT%\vendor\init.bat""

3- Pode acontecer de a variável CMDER_ROOT não estar pronta, você pode precisar reiniciar sua máquina.

View .conkyrc-above
conky.config = {
minimum_width = 1350,
minimum_height = 15,
double_buffer = true,
own_window = true,
own_window_argb_visual = true,
own_window_class = 'ConkyAbove',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_transparent = true,
own_window_type = 'dock',
@deyvisonrocha
deyvisonrocha / bitcoin-confidential-icon.png
Created April 27, 2019 17:58
bitcoin confidential icon png in base64
View bitcoin-confidential-icon.png
iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AACGRklEQVR42uxdaWwVVRQ2Ny+EkGnF
WhQqKiLihvuGa9S4/UJcYtCYqhGNcUnUqEGjJthgI4qgqKgVN9xBoVpkKwVaBmNwI0YRAkFlB6FU
KFv7xPPqe5wZz/Quc96U+9p7kpN5c++52zdzzzvn3DszBwEJ4NxRkPNoxnIkrePYkrYdO3bccUwJ
M4hikpKBMgGiR9lv07TkyvFBlqRJ2USuQJS89B4zSbNkPGR8Dqs8Y6VNKMwpI6LSJLJSxSgrE88q
pOfmChdZX6FTDBgKnhxVN73uRImHA03jlVGPm/FniKRfRpiOz2HFwKoLkGhPCXYVAGJh1Tnbk5LJ
xNCVcVixsOJbSB0MsEiorDAdtyU3odCVsxQrUQATVnDyHVZJYpW81hX6F4aWU7lkskGam8E0XV2X
um6SbiiHRzPzntGGWo6Pg4iDnRobJFNXiJGv2RbmOaziY1VI5mch9M2WsXdFjIRl9dhMDitH7ZNt
fn6WRCe9IYWbfA6rWCQz61TpuuU4q4Qmvji/v3z8THBUj09tinOuk6qvFt5zgrFFRxnScFjFx6qz
K8lCJXdB7CFneViMldCV4wbdzS0CrM9yF0ao8uPhR88lWMWyQhl9Fpyb1XQDJANfkW/c9PKoNe+w
is7rinutbCdh4b+wLX8AgpGXBK7CYmvLYdVJSdi218NC6kpjdeTIkSNHjoLk/mm7Etl4HWzskxuz
@deyvisonrocha
deyvisonrocha / bitcoin-confidential-install.sh
Last active April 27, 2019 18:11
How to install Bitcoin Confidential Desktop Wallet on Linux
View bitcoin-confidential-install.sh
#!/bin/bash
# Downloading the wallet
echo 'Downloading the wallet'
wget "https://github.com/Bitcoin-Confidential/BitcoinC-Core/releases/download/v1.0.0/bitcoinc-1.0.0.0-x86_64-linux-gnu.tar.gz" -O ~/bitcoinc.tar.gz
# Extract the files
echo 'Extracting the files'
sudo tar xvzf ~/bitcoinc.tar.gz
# Download bitcoin confidential icon
@deyvisonrocha
deyvisonrocha / config.json
Last active April 9, 2019 13:55
webchain
View config.json
{
"algo": "cryptonight-webchain",
"av": 0,
"background": true,
"colors": false,
"cpu-affinity": null,
"cpu-priority": 0,
"donate-level": 1,
"log-file": null,
"max-cpu-usage": null,
@deyvisonrocha
deyvisonrocha / zip_files_changed_from_commits_on_git.sh
Created January 24, 2019 02:48
How to zip files changed from between commits on git
View zip_files_changed_from_commits_on_git.sh
git diff-tree -r --no-commit-id --name-only <LAST_COMMIT> <FIRST_COMMIT> | xargs tar -rf modified.tar