Skip to content

Instantly share code, notes, and snippets.

Alexander Odell alextrastero

Block or report user

Report or block alextrastero

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Add this to ~/.ssh/config

  Host *
    UseKeychain yes

You will still need to enter your password once more, make sure to source your shell

alextrastero /
Last active Mar 6, 2018
Increase keyboard repeat rate mac

First one is repeat rate and the second one is the delay before start repeating

defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 20
alextrastero /
Created Mar 6, 2018
Remove all local branches except MASTER

git branch | grep -v "master" | xargs git branch -D


Setting up and installing rbenv, ruby-build, rubies, rbenv-gemset, and bundler

This guide enables you to install (ruby-build) and use (rbenv) multiple versions of ruby, isolate project gems (gemsets and/or bundler), and automatically use appropriate combinations of rubies and gems.

TL;DR Demo

# Ensure system is in ship-shape.
aptitude install git zsh libssl-dev zlib1g-dev libreadline-dev libyaml-dev
You can’t perform that action at this time.