This file contains hidden or 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 | |
| import re | |
| import sys | |
| from urllib import urlopen | |
| def isup(domain): | |
| resp = urlopen("http://www.isup.me/%s" % domain).read() | |
| return "%s: %s" % (domain, "UP" if re.search("It's just you.", resp, | |
| re.DOTALL) else "DOWN") |
This file contains hidden or 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
| // -------------------------------------------------------- | |
| // arrows | |
| // -------------------------------------------------------- | |
| // $direction: top, left, right, bottom, top-left, top-right, bottom-left, bottom-right | |
| // $color: hex, rgb or rbga | |
| // $size: px or em | |
| // @example | |
| // .element{ | |
| // @include arrow(top, #000, 50px); | |
| // } |
This file contains hidden or 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 | |
| sites = [ | |
| 'google.com', | |
| ] | |
| USE_BOXCAR = True | |
| USE_GROWL = True | |
| BOXCAR_EMAIL = '' | |
| BOXCAR_API_KEY = '' |