Posts tagged: web

In-CSS Hacks

http://www.javascriptkit.com/dhtmltutors/csshacks2.shtml

CSS Tools – Reset CSS

CSS Reset: http://meyerweb.com/eric/tools/css/reset/

Encode HTML entities with jQuery

http://debuggable.com/posts/encode-html-entities-with-jquery:480f4dd6-13cc-4ce9-8071-4710cbdd56cb

Firebug Logging

http://getfirebug.com/logging

Using tcpdump to sniff HTTP traffic from a specific host

From: http://sleeplesscoding.blogspot.com/2011/01/using-tcpdump-to-sniff-http-traffic.html

This is mostly just a reminder to myself about my preferred parameters to tcpdump on linux, so that I don’t have to keep reading the man page.

tcpdump -c 20 -s 0 -i eth1 -A host 192.168.1.1 and tcp port http
The parameter breakdown:
  • -c 20: Exit after capturing 20 packets.
  • -s 0: Don’t limit the amount of payload data that is printed out. Print it all.
  • -i eth1: Capture packets on interface eth1
  • -A: Print packets in ASCII.
  • host 192.168.1.1: Only capture packets coming to or from 192.168.1.1.
  • and tcp port http: Only capture HTTP packets.

WordPress Themes