OS X
Configuration
~/Library/Preferences/<PRODUCT><VERSION>
Caches
~/Library/Caches/<PRODUCT><VERSION>
OS X
Configuration
~/Library/Preferences/<PRODUCT><VERSION>
Caches
~/Library/Caches/<PRODUCT><VERSION>
| # because color + coffee is awesome | |
| PS1=$'\e[39m\u@\h:\e[32m\w\e[39m \u2615 \uFE0F ' |
| 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 |
| alias ls='ls -FGH' | |
| alias ll='ls -l' | |
| export JAVA_HOME=/Libary/Java/Home | |
| kubecontext() | |
| { | |
| if [[ -e ~/.kube/config && $(type -P kubectl 2>/dev/null) ]]; then | |
| echo -n " [$(kubectl config current-context)]" | |
| else |
| https://www.datadoghq.com/blog/postgresql-monitoring/ | |
| https://www.datadoghq.com/blog/postgresql-monitoring-tools/ |
| #!/bin/bash | |
| if [ -z "${prefix}" ]; then | |
| echo "warn: prefix is not set" | |
| fi | |
| for f in *; do | |
| if [ -d "${f}" ]; then | |
| echo "Zipping ${f} to ${prefix}${f}.cbz" | |
| zip -r "${prefix}${f}.cbz" "${f}" |
| -Xms2g | |
| -Xmx2g | |
| -XX:ReservedCodeCacheSize=1024m | |
| -XX:+UseG1GC | |
| -XX:+UseCompressedOops | |
| -Dsun.io.useCanonCaches=false |
| [user] | |
| name = Ronald Suwandi | |
| email = ronald@ronaldsuwandi.com | |
| [core] | |
| excludesfile = ~/.gitignore_global | |
| editor = subl -n -w # sublime text | |
| [diff] | |
| tool = default-difftool |
| # Created by https://www.toptal.com/developers/gitignore/api/go,python,node,java,intellij+all,sublimetext,visualstudiocode,xcode,maven,gradle | |
| # Edit at https://www.toptal.com/developers/gitignore?templates=go,python,node,java,intellij+all,sublimetext,visualstudiocode,xcode,maven,gradle | |
| ### Go ### | |
| # Binaries for programs and plugins | |
| *.exe | |
| *.exe~ | |
| *.dll | |
| *.so |
| 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 |