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
alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'
61
-
# alias canary='/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary'
62
45
63
46
# IP addresses
64
47
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
@@ -68,16 +51,9 @@ alias ips="ifconfig -a | grep -o 'inet6\? \(addr:\)\?\s\?\(\(\([0-9]\+\.\)\{3\}[
68
51
# Show active network interfaces
69
52
alias ifactive="ifconfig | pcregrep -M -o '^[^\t:]+:([^\n]|\n\t)*status: active'"
70
53
71
-
# Flush Directory Service cache
72
-
# alias flush="dscacheutil -flushcache && killall -HUP mDNSResponder"
73
-
74
54
# Clean up LaunchServices to remove duplicates in the “Open With” menu
75
55
# alias lscleanup="/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder"
76
56
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
57
# Canonical hex dump; some systems have this symlinked
82
58
command -v hd > /dev/null ||alias hd="hexdump -C"
83
59
@@ -114,9 +90,9 @@ alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && k
114
90
# URL-encode strings
115
91
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);"'
0 commit comments