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
View high_sierra_git_passphrase_fix.md

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
alextrastero / keyboard_repeat_rate.md
Last active Mar 6, 2018
Increase keyboard repeat rate mac
View keyboard_repeat_rate.md

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
alextrastero / prune_local_branches.md
Created Mar 6, 2018
Remove all local branches except MASTER
View prune_local_branches.md

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

View rbenv-howto.md

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.