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
<html><head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
function tally (selector) { | |
$(selector).each(function () { | |
var total = 0, | |
column = $(this).siblings(selector).andSelf().index(this); | |
$(this).parents().prevUntil(':has(' + selector + ')').each(function () { |
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
"""Display the (scraped) surf report for San Diego from the noaa in a notification.""" | |
__author__ = 'Nikolaj Baer <[email protected]>' | |
__copyright__ = 'Copyright (c) 2009' | |
__license__ = 'MIT License' | |
import urllib,re | |
LOCATION="San Diego" | |
AREA="SGX" | |
REPORT_URL="http://newweb.wrh.noaa.gov/sgx/print_version.php?sid=%s&pil=SRF&version=0"%AREA |
NewerOlder