Skip to content

Instantly share code, notes, and snippets.

@dinolupo
dinolupo / gist:d2a717bbf31875006769
Last active October 22, 2015 09:07 — forked from saetia/gist:1623487
SAETIA - Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
@dinolupo
dinolupo / .zshrc
Created October 22, 2015 09:04
zshrc for my clean OS X ElCapitan installation
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="kphoen"
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m' # end underline

Notes from the distributed matters 2015 conference.

Jepsen V (Kyle Kingsbury)

Talks about how Jepsen works and what systems have been tested until now, among others:

  • Riak: default is last-write-wins, but you should not be using it
  • ZK: works as advertised (!)

... But all of this is also on his blog, not anything really new.

@dinolupo
dinolupo / Docker_frequent_ commands.md
Last active August 29, 2015 14:21
Docker frequent commands

Docker frequent commands

running a container

docker run -d -P  training/webapp python app.py
-d //is for background
-P // map any port inside container to the our host
docker ps -l  // details of last container

docker ps -a // details of all containers (also stopped ones)