Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (30 sloc) 1.009 kb
# git-prompt
alias t="tmux"
alias agp='ag -G ".*\.py" --ignore-dir="migrations"'
# Memory hogs using top and ps
alias mem_hogs_top='top -l 1 -o rsize | head -30'
alias mem_hogs_ps='ps wwaxm -o pid,stat,vsize,rss,time,command | head -20'
# CPU hogs using ps
alias cpu_hogs='ps wwaxr -o pid,stat,%cpu,time,command | head -20'
# Open sockets using lsof
#alias lsock='sudo lsof -i -P -n'
# Processus
#alias stop="kill -TSTP"
#alias int="kill -s INT"
#alias quit="kill -s QUIT"
# IP configurations
#alias ip0_info='ipconfig getpacket en0'
#alias ip1_info='ipconfig getpacket en1'
#alias ip2_info='ipconfig getpacket en2'
# Optical Drive information
#alias od_info='drutil info'
# Access Point information
#alias ap_info='/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I'
# Eject a volume
#alias eject='hdiutil eject'
#
# Copy the working dir to the clipboard
if [[ -x `which pbcopy` ]]; then
#alias cpwd="pwd | pbcopy"
alias cpwd='pwd | xargs echo -n | pbcopy'
fi
Jump to Line
Something went wrong with that request. Please try again.