Skip to content

Instantly share code, notes, and snippets.

View gustavomedeiross's full-sized avatar

Gustavo Medeiros gustavomedeiross

  • Bluecode
  • Florianópolis, Brazil
View GitHub Profile
@gustavomedeiross
gustavomedeiross / init.vim
Created November 21, 2019 00:14
neovim config
call plug#begin('~/.config/nvim/bundle')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'scrooloose/nerdtree'
Plug 'scrooloose/nerdcommenter'
Plug 'scrooloose/syntastic'
Plug 'trevordmiller/nova-vim'
Plug 'https://github.com/joshdick/onedark.vim'
Plug 'pangloss/vim-javascript'
Plug 'mxw/vim-jsx'
Plug 'tpope/vim-surround'
@gustavomedeiross
gustavomedeiross / build
Created November 21, 2019 14:11
docker-compose build bash script for UID permissions on Linux
#!/bin/bash
echo "Building docker containers!"
eval "docker-compose build --build-arg uid=$UID"
*,
*::before,
*::after {
margin: 0;
padding: 0;
outline: 0;
border: 0;
box-sizing: border-box;
}
"
" /---------| |-- /--| * mendes13 - Gustavo Mendes de Medeiros
" | /-------| | \ / | * GitHub: https://www.github.com/mendes13
" | | | \ \ / /| |
" | | |---\ | | | \__/ | | My .vimrc configuration file, feel free to try
" | \-----/ | | | | | it out! Keep in mind that I do use Vim Plug as
" \---------/ |_| |_| my plugin manager, so don't forget to install it!
"
# ctrl-space for modifier
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# color theme
set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
# mouse functionality
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(
git
vi-mode
shrink-path
asdf
@gustavomedeiross
gustavomedeiross / .Xresources
Created July 16, 2020 02:31
To update the config, run the command "$ xrdb .Xresources"
! /---------| |-- /--| - Gustavo Mendes de Medeiros
! | /-------| | \ / |
! | | | \ \ / /| | GitHub: https://www.github.com/mendes13
! | | |-----\ | |\ \/ / | | Twitter: @mendesss13
! | | |---\ | | | \__/ | |
! | \-----/ | | | | |
! \---------/ |_| |_|
!
--
-- xmonad example config file.
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
import XMonad
#!/bin/bash
# depends on the pacman-contrib
cupd=$(checkupdates | wc -l)
echo "$cupd available "
@gustavomedeiross
gustavomedeiross / settings.json
Created October 14, 2020 13:59
settings.json (vscode)
{
//Styles and Font Size of the editor (General)
"workbench.iconTheme": "material-icon-theme",
// "workbench.colorTheme": "One Dark Pro",
"editor.fontSize": 12,
"terminal.integrated.fontSize": 12,
"window.titleBarStyle": "custom",
"editor.tabSize": 2,
"editor.cursorStyle": "block",
"editor.acceptSuggestionOnEnter": "off",