From a trip to Boston last year. We walked way too far that day, from somewhere around Fenway Park all the way to Faneuil Hall.
I have a pair of more modern motorcycle boots (waterproof, velcro, shin armor, etc.), but I usually wear these Frye boots because they’re so comfortable…and good looking.
Situated right across from our local coal-fired power plant, of course.
While some friends were visiting the Capitol I wandered over to the power plant and spotted this disorienting sign cluster on the way back.
Auto-update an image every X seconds
For a web cam site I’m working on, I wanted to automatically update the web cam image every so often. The classic way to do this is with meta refresh, but that’s supposedly deprecated and it unnecessarily reloads the entire page. JavaScript to the rescue! This little snippet reloads any image with the “refresh” ID every 60 seconds. It’s mostly borrowed from here, with the setInterval thing added because I didn’t like the onload thing in the body tag.
function cambox_refresh() {echo "n" . '<script type="text/javascript">// <![CDATA[function refreshCam() {image = document.getElementById("refresh");image.src = image.src + "?rand=" + Math.random();} setInterval("refreshCam()", 60000);// ]]></script>'. "n";}add_action('wp_footer', 'cambox_refresh');