View exercise-equivalent-binary-trees.go
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
View keybase.md

Keybase proof

I hereby claim:

  • I am ronaldsuwandi on github.
  • I am gantengx (https://keybase.io/gantengx) on keybase.
  • I have a public key ASADwbmOrSNIZx6oS-enWv8hFQ92NyWBF4eFE0kAHxwH3Qo

To claim this, I am signing this object:

View .bashrc
# because color + coffee is awesome
PS1=$'\e[39m\u@\h:\e[32m\w\e[39m \u2615 \uFE0F '
View Intellij IDEA 14.md

Source

OS X

Configuration ~/Library/Preferences/<PRODUCT><VERSION>

Caches ~/Library/Caches/<PRODUCT><VERSION>

View tmux.conf
# Set prefix key to Ctrl-a
unbind-key C-b
set-option -g prefix C-a
# send the prefix to client inside window
bind-key C-a send-prefix
# clear screen and scroll history by simply pressing Ctrl+K
# -n allows it to run without needing of prefix key
# bind -n C-k send-keys C-l \; run-shell "sleep .3s; tmux clear-history"
View config.fish
# nice light cyan color instead of dark blue
set -gx LSCOLORS gxfxcxdxbxegedabagacad
function ls --description 'List contents of directory'
command ls -lhFG $argv
end
function df --description 'Displays disk free space'
command df -H $argv
end
View .gitconfig
[user]
name = Ronald Suwandi
email = ronald@ronaldsuwandi.com
[core]
excludesfile = /Users/ronald/.gitignore_global
# editor = subl -nw
editor = vim
[diff]