Public Gists by meritt

Gravatar
Sat Oct 03 01:04:33 -0700 2009
1
2
3
# Ubuntu Server Upgrade
 
sudo apt-get install update-manager-core
Gravatar
Wed May 06 09:46:55 -0700 2009
1
2
3
var DateHelper = {
  // Takes the format of "Jan 15, 2007 15:45:00 GMT" and converts it to a relative time
  // Ruby strftime: %b %d, %Y %H:%M:%S GMT
Gravatar
Sat Apr 04 00:52:23 -0700 2009
1
2
3
# Monitor HTTP requests being made from your machine with a one-liner..
# Replace "en1" below with your network interface's name (usually en0 or en1)
sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E "Host\: .*|GET \/.*"