This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# sample usage: checksites.py eriwen.com nixtutor.com yoursite.org | |
import pickle, os, sys, logging | |
from httplib import HTTPConnection, socket | |
from smtplib import SMTP | |
def email_alert(message, status): | |
fromaddr = '[email protected]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Terrain generation based on noise. | |
# The terrain is a simple line grid. | |
# Noise generation using Casey Duncan's noise library: | |
# http://pypi.python.org/pypi/noise/1.0b1 | |
# Use WASD to move through the scene | |
# Use Q and E to move up/down | |
# Use the mouse to look in the view | |
# Use the arrow keys to offset the noise grid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On Controller node | |
$ tcpdump -envi eth0 | grep -i gre | |
$ tcpdump -envi br-int | |
$ tcpdump -envi br-tun | |
$ ip netns exec qrouter-d72adddf-4c02-4916-ae6d-16bfdaf59d99 tcpdump -nn -i qr-63ea2815-b5 icmp | |
$ ip netns exec qrouter-d72adddf-4c02-4916-ae6d-16bfdaf59d99 tcpdump -nn -i qg-e7110dba-a9 icmp | |
$ tcpdump -envi 192.168.122.163 | |
$ tcpdump -envi br-ex | |
$ tcpdump -i eth0 -n arp or icmp |