I hereby claim:
- I am kcmerrill on github.
- I am kcmerrill (https://keybase.io/kcmerrill) on keybase.
- I have a public key ASCuWWUIXEASi-eSTWfYd_4MbP6vb_kHQAEull5Tf6-eRAo
To claim this, I am signing this object:
func (a *Alfred) invoke(method string, args ...interface{}) chan bool { | |
finished := make(chan bool) | |
params := make([]reflect.Value, len(args)) | |
for idx := range args { | |
params[idx] = reflect.ValueOf(args[idx]) | |
} | |
reflect.ValueOf(a).MethodByName(strings.Title(strings.ToLower(method))).Call(params) | |
return finished | |
} |
I hereby claim:
To claim this, I am signing this object:
Just a quick short list of things I can't live without in my .vimrc file. Along with other non vimy type things. | |
- Packages/Plugins that are _must_ haves | |
Airline(file info about the buffer) | |
Gitgutter(useful to see what you've changed) | |
CtrlP(fuzzy file finder) | |
committia(Amazing git commit panes) | |
- Remap escape to jk/kj. | |
inoremap jk <C-[> |
pre: | | |
echo "pre!" | |
success: | | |
echo "success!" | |
failure: | | |
echo "failure" | |
post: | |
[filter "media"] | |
required = true | |
clean = git media clean %f | |
smudge = git media smudge %f | |
[user] | |
name = kc merrill | |
email = [email protected] | |
[filter "hawser"] | |
clean = git hawser clean %f | |
smudge = git hawser smudge %f |
source ~/.bash_prompt | |
# Start tmux | |
if [[ -t 1 && -z ${TMUX} ]]; then | |
tmux attach > /dev/null || tmux new -s "TMUX" | |
fi | |
export GOROOT=/usr/local/go | |
export GOPATH=/code/go |
!#/bin/bash | |
if [[ $(whoami) == "root" ]]; then | |
printf "To finalize your yoda installation, simply put this into your ~/.bash_profile as an alias\n\n\nalias " | |
printf "alias yoda='docker run --rm -ti --name yodaapp -v $HOME/.ssh:$HOME/.ssh -v $HOME/.yoda/shares:/yoda/www/share -v $HOME/.docker:$HOME/.docker -v $HOME/.yoda:$HOME/.yoda -e containerized=true -h=$HOSTNAME -v /var/run/docker.sock:/var/run/docker.sock -v $(if [ $(dirname $PWD) == \"/\" ]; then echo $PWD; else dirname $PWD; fi):$(if [ $(dirname $PWD) == \"/\" ]; then echo $PWD; else dirname $PWD; fi) -w $PWD -u $(id -u $USER) kcmerrill/yoda'"; | |
else | |
mkdir yoda | |
cd yoda | |
printf "FROM kcmerrill/yoda\n\nRUN useradd $(whoami) -u $(id -u $USER)" > Dockerfile | |
docker build -t yodabin . | |
printf "To finalize your yoda installation, simply put this into your ~/.bash_profile as an alias\n\n\nalias " |
mkdir yoda | |
cd yoda | |
printf "FROM kcmerrill/yoda\n\nRUN useradd $(whoami) -u $(id -u $USER)" >> Dockerfile | |
docker build -t kcmerrill/yoda . |
export PS1='\[\e[01;30m\]\@`if [ $? = 0 ]; then echo "\[\e[32m\] ✔ "; else echo "\[\e[31m\] ✘ "; fi`\[\e[00;37m\]\u \[\e[01;37m\]`[[ $(git status 2> /dev/null) =~ Changes\ to\ be\ committed: ]] && echo "\[\e[33m\]" || echo "\[\e[31m\]"``[[ ! $(git status 2> /dev/null) =~ nothing\ to\ commit,\ working\ .+\ clean ]] || echo "\[\e[32m\]"`$(__git_ps1 "(%s)\[\e[00m\]")\[\e[01;34m\] \W\[\e[00m\] ] ' |
bind \ split-window -h | |
bind - split-window -v | |
bind-key k select-pane -U | |
bind-key j select-pane -D | |
bind-key h select-pane -L | |
bind-key l select-pane -R | |
set-option -g renumber-windows on | |
bind-key c new-window -n '' | |
set-option -g allow-rename off |