Skip to content

Instantly share code, notes, and snippets.

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
@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

@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
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

You can’t perform that action at this time.