Permalink
Browse files

Merge branch 'master' of github.com:vytautasgimbutas/dotfiles

  • Loading branch information...
2 parents e68a3da + 4c80a15 commit 0448b2e36699aaec1db205151558802b7db57b1d @vytautasgimbutas committed May 2, 2012
View
@@ -43,8 +43,16 @@ alias rot13='tr a-zA-Z n-za-mN-ZA-M'
alias flush="dscacheutil -flushcache" # Flush Directory Service cache
# View HTTP traffic
-alias sniff="sudo ngrep -d 'en1' -t '^(GET|POST) ' 'tcp and port 80'"
-alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \/.*\""
+sniff()
+{
+ sudo ngrep -d $1 -t '^(GET|POST) ' 'tcp and port 80'
+}
+alias sniff=sniff
+httpdump()
+{
+ sudo tcpdump -i $1 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \/.*\"
+}
+alias httpdump=httpdump
# Show/hide hidden files in Finder
alias show="defaults write com.apple.Finder AppleShowAllFiles -bool true && killall Finder"
@@ -169,7 +169,7 @@
<key>DisableANSIColor</key>
<false/>
<key>EscapeNonASCIICharacters</key>
- <true/>
+ <false/>
<key>Font</key>
<data>
YnBsaXN0MDDUAQIDBAUGGBlYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 0448b2e

Please sign in to comment.