You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Clean up LaunchServices to remove duplicates in the “Open With” menu
75
70
alias lscleanup="/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder"
76
71
77
-
# View HTTP traffic
78
-
alias sniff="sudo ngrep -d 'en1' -t '^(GET|POST) ' 'tcp and port 80'"
79
-
alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \/.*\""
80
-
81
72
# Canonical hex dump; some systems have this symlinked
82
73
command -v hd > /dev/null ||alias hd="hexdump -C"
83
74
@@ -114,9 +105,9 @@ alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && k
114
105
# URL-encode strings
115
106
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);"'
0 commit comments