Skip to content

Instantly share code, notes, and snippets.

View alexandreramosdev's full-sized avatar
:shipit:
Working...

Alexandre Ramos alexandreramosdev

:shipit:
Working...
View GitHub Profile
@alexandreramosdev
alexandreramosdev / git.md
Created September 11, 2018 14:21 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

#GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@alexandreramosdev
alexandreramosdev / GitCommitEmoji.md
Created December 6, 2018 17:54 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@alexandreramosdev
alexandreramosdev / fetch-api-examples.md
Created April 12, 2019 21:28 — forked from justsml/fetch-api-examples.md
JavaScript Fetch API Examples
@alexandreramosdev
alexandreramosdev / .vimrc
Created July 19, 2019 17:09 — forked from Tset-Noitamotua/.vimrc
Powerline Setup for my VIM
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
" "
" __ _ _ _ __ ___ _ __ ___ "
" \ \ / / | '_ ` _ \| '__/ __| "
" \ V /| | | | | | | | | (__ "
" \_/ |_|_| |_| |_|_| \___| "
" "
" "
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
@alexandreramosdev
alexandreramosdev / token-generator.js
Created November 7, 2019 02:52 — forked from ziluvatar/token-generator.js
Example of refreshing tokens with jwt
/**
* Example to refresh tokens using https://github.com/auth0/node-jsonwebtoken
* It was requested to be introduced at as part of the jsonwebtoken library,
* since we feel it does not add too much value but it will add code to mantain
* we won't include it.
*
* I create this gist just to help those who want to auto-refresh JWTs.
*/
const jwt = require('jsonwebtoken');
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
"Plug 'tsony-tsonev/nerdtree-git-plugin'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'
@alexandreramosdev
alexandreramosdev / .zshrc
Created June 4, 2020 21:29 — forked from ThYpHo0n/.zshrc
WSL(2) bash profile helpers
# Windows XSrv config
export $(dbus-launch)
export LIBGL_ALWAYS_INDIRECT=1
export WSL_VERSION=$(wsl.exe -l -v | grep -a '[*]' | sed 's/[^0-9]*//g')
export WSL_HOST=$(tail -1 /etc/resolv.conf | cut -d' ' -f2)
export DISPLAY=$WSL_HOST:0