Skip to content

Instantly share code, notes, and snippets.

View daniel-fanjul-alcuten's full-sized avatar

Daniel Fanjul Alcutén daniel-fanjul-alcuten

View GitHub Profile
@daniel-fanjul-alcuten
daniel-fanjul-alcuten / gist:4692778
Last active December 12, 2015 01:39
building at Spotify
alias xdebug='XRELEASE=0 && xstatus'
alias xrelease='XRELEASE=1 && xstatus'
alias xquiet='XVERBOSE=0 && xstatus'
alias xverbose='XVERBOSE=1 && xstatus'
alias xnoapk='XAPK=0 && xstatus'
alias xapk='XAPK=1 && xstatus'
if [ "$(uname)" = Darwin ]; then
XPROCS=$(sysctl -n hw.ncpu)
else
XPROCS=$(grep ^processor /proc/cpuinfo | wc -l)
*.go filter=gofmt
*.cgo filter=gofmt
*.docx diff=textutil
if [ -x /usr/bin/wcd.exec ]; then
function wcd() {
/usr/bin/wcd.exec -z 40 "$@"
. ~/bin/wcd.go
if [ "$STY" ]; then
screen -X title "$(basename "$PWD")"
fi
}
alias j='wcd -j'
alias g='wcd -g'