Skip to content

Instantly share code, notes, and snippets.

View dinhoabreu's full-sized avatar

Edison E. Abreu dinhoabreu

View GitHub Profile
@dinhoabreu
dinhoabreu / tmux.conf
Created April 11, 2017 15:40 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@dinhoabreu
dinhoabreu / .profile
Created March 21, 2017 03:57 — forked from bmhatfield/.profile
Automatic Git commit signing with GPG on OSX
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO
else
@dinhoabreu
dinhoabreu / CL_PROTEUS_LNX.sh
Created January 17, 2017 17:10 — forked from wendelhp/CL_PROTEUS_LNX.sh
Bash - Applying Proteus baseline
#!/usr/bin/env bash
#
##################################################################
# Script para aplicar baseline da Proteus #
# 12 Jan 2016 - Wendel Amix - v1.0 #
##################################################################
#
# Historico / Atualizacoes
#
# Data: 17/Jan/2017 - Wendel
@dinhoabreu
dinhoabreu / README.md
Created August 2, 2016 19:05 — forked from awmichel/README.md
Docker Machine OSX Autostart

Docker Machine OSX Autostart

This is a simple launchd config that will start your default docker-machine on startup. You can customize the machine that is started by updating lines 11 and 16 with the correct machine name.

Install

  1. Copy the file com.docker.machine.default.plist below to ~/Library/LaunchAgents/com.docker.machine.default.plist.
  2. Run the following in a terminal: launchctl load ~/Library/LaunchAgents/com.docker.machine.default.plist
  3. Profit!