Skip to content

Instantly share code, notes, and snippets.

View di3goleite's full-sized avatar

Diego Leite di3goleite

View GitHub Profile
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
" 2 - Packages
" 2.1 - Apparence
NeoBundle 'morhetz/gruvbox'
" Just for term with 256 colors support
NeoBundle 'godlygeek/csapprox.git'
NeoBundle 'skwp/vim-colors-solarized'
NeoBundle 'chrisbra/color_highlight.git'
" 2.2 - Git
NeoBundle 'tpope/vim-git'
" Enable powerline fonts
let g:airline_powerline_fonts = 1
" 3.2 - NERDTree
let NERDTreeMinimalUI = 1
let NERDTreeDirArrows = 1
let g:NERDTreeWinSize = 30
let g:NERDTreeShowBookmarks=1
" 3.3 - NERDTree Tabs
@di3goleite
di3goleite / .vimrc
Last active December 30, 2015 02:13
"*****************************************************************************
"" NeoBundle core
"*****************************************************************************
if has('vim_starting')
set nocompatible " Be iMproved
" Required:
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
@di3goleite
di3goleite / phpPgAdmin-openSUSE-13.2
Created August 29, 2015 00:43
PhpPgAdmin on openSUSE 13.2
# install phpPgAdmin
sudo dnf install phpPgAdmin
# start apache2 service
sudo systemctl start apache2
# access phpPgAdmin on browser
http://localhost/phpPgAdmin
@di3goleite
di3goleite / postgreSQL-openSUSE-13.2
Last active June 6, 2018 20:10
PostgreSQL on openSUSE 13.2
# install latest postgresql
sudo yum install postgresql-server postgresql-contrib
# start postgresql
sudo systemctl start postgresql
# change postgres user password
sudo passwd postgres
# create a database and create a new user
@di3goleite
di3goleite / laravel-openSUSE-13.2
Last active August 7, 2016 04:36
LaravelStack for openSUSE 13.2
# install PHP
sudo zypper install php5 php5-gd php5-mcrypt php5-pear php5-mysql php5-pgsql php5-gd php-xml php5-mbstring php5-openssl php5-phar php5-fileinfo
# install composer
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
@di3goleite
di3goleite / vimrc
Last active September 20, 2015 15:38
Annotations for my future vimrc
# fonts
## solve Terminess Font problem on Ubuntu
## https://github.com/powerline/fonts/pull/79#issuecomment-64906357
https://github.com/powerline/fonts
http://larsenwork.com/monoid/
# color-scheme
## dark
http://vimcolors.com/289/onedark/dark
https://github.com/zenorocha/dracula-theme
@di3goleite
di3goleite / utilities-fedora-22
Last active May 17, 2016 11:43
Utilities for Fedora 22
# installation list:
## rpmfusion repo
## vim, tmux, zsh, ack, npm, vlc, gimp, inkscape
## spotify-client
## flash plugin
## synaptic driver
# install rpm fusion repo
su -c 'dnf install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
@di3goleite
di3goleite / .tmux.conf
Last active November 25, 2015 01:21 — forked from dilannery/tmux.conf
My tmux configuration file
###########################
# Configuration
###########################
# use 256 term for pretty colors
set -g default-terminal "screen-256color"
# increase scroll-back history
set -g history-limit 5000