Skip to content

Instantly share code, notes, and snippets.

View guimaluf's full-sized avatar

Guilherme Maluf Balzana guimaluf

View GitHub Profile
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
Plug 'airblade/vim-gitgutter'
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'godlygeek/tabular'
This file has been truncated, but you can view the full file.
execve("/usr/bin/python", ["python", "/var/tmp/otmpfile.py", "/var/storage/node/xvdf/tmp/"], 0x7ffcd3b1d3b8 /* 16 vars */) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = 0
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/liboneagentproc.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
Plug 'airblade/vim-gitgutter'
Plug 'godlygeek/tabular'
Plug 'hashivim/vim-terraform'
! ~/.Xresources
! vim:set foldmethod=expr foldexpr=getline(v\:lnum)=~'^!##'?'>1'\:'=':
*international: true
*customization: -color
!## TERMINAL COMMON
#ifndef FIXED
#if WIDTH > 1800
#define FIXED -misc-fixed-medium-r-normal--20-*-*-*-c-*
@guimaluf
guimaluf / rolldice.sh
Created October 15, 2018 17:35
Bash script to roll dices for D&D character sheet creation
#!/bin/bash
ATRIBUTOS=()
function remove_min {
local total=0
local dices=()
IFS=$'\n'
DICES=($(sort <<<"${ROLL[*]}"))
@guimaluf
guimaluf / config
Last active November 20, 2019 21:20
# vim:filetype=i3
set $mod Mod4
set $alt Mod1
set $wallpaper $HOME/.config/wallpapers
set $terminal i3-sensible-terminal
font pango:Inconsolata 14
# use Mouse+$mod to drag floating windows to their wanted position
@guimaluf
guimaluf / .tmux.conf
Last active November 20, 2019 21:19
# prefix is Ctrl-q
set -g prefix C-q
bind C-q send-prefix
bind-key C-q last-window
unbind C-b
set -sg escape-time 0
set -g base-index 1
setw -g pane-base-index 1
[user]
name = Guilherme Maluf
email = guimalufb@gmail.com
[color]
diff = auto
status = auto
branch = auto
[core]
@guimaluf
guimaluf / .vimrc
Last active November 20, 2019 21:20
if $TERM == "xterm-256color"
set t_Co=256
endif
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
@guimaluf
guimaluf / .zshrc
Last active November 20, 2019 21:21
autoload -U compinit promptinit
compinit
promptinit; prompt gentoo
zstyle ':completion::complete:*' use-cache 1
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="gozilla"
DISABLE_CORRECTION="true"
plugins=(git ruby rails history virtualenv)