OS X
Configuration
~/Library/Preferences/<PRODUCT><VERSION>
Caches
~/Library/Caches/<PRODUCT><VERSION>
-Xms2g | |
-Xmx2g | |
-XX:ReservedCodeCacheSize=1024m | |
-XX:+UseG1GC | |
-XX:+UseCompressedOops | |
-Dsun.io.useCanonCaches=false |
package main | |
import "fmt" | |
import "golang.org/x/tour/tree" | |
func WalkRecursive(t *tree.Tree, ch chan int) { | |
if t.Left != nil { | |
WalkRecursive(t.Left, ch) | |
} | |
ch <- t.Value |
# because color + coffee is awesome | |
PS1=$'\e[39m\u@\h:\e[32m\w\e[39m \u2615 \uFE0F ' |
OS X
Configuration
~/Library/Preferences/<PRODUCT><VERSION>
Caches
~/Library/Caches/<PRODUCT><VERSION>
########### | |
# general # | |
########### | |
# Replace C-b prefix with Alt+Space (so it won't clash with vim) | |
unbind C-b | |
set-option -g prefix M-Space | |
set-window-option -g mode-keys vi | |
# set-option -g default-shell /usr/local/bin/fish |
function ls --description 'List contents of directory' | |
command ls -lFG $argv | |
end | |
function subl --description 'Launches sublime text in a new window' | |
command subl -n $argv | |
end | |
function code --description 'Launches visual code studio in a new window' | |
command code -n $argv |
[user] | |
name = Ronald Suwandi | |
email = [email protected] | |
[core] | |
excludesfile = ~/.gitignore_global | |
editor = subl -n -w # sublime text | |
[diff] | |
tool = default-difftool |