Archives: Notes

  • No idea what prompted me to take this photo four years ago.

  • I should do something about self-hosted snippets with active previews. gitlab or a private jsbin install seems too much though.

  • Anyone with a Galaxy S3 able to do me a favour and hit it with a hammer?

  • Presto looks great if you have 2.7 children and need to cook dinner.

  • As dumb as it is, I wish it was possible to do this as feature detection.

    .thing {
      float: calc( 1 * left )
    }
  • From #wpmelb last night, here’s the filter I use for adding the async attribute to script tags.
    https://peterwilson.cc/code-samples/async-javascript-wordpress-filter/

  • <style>
    .js #w {display:none; }
    .no-js #w {width:auto; width:calc( 1px - 1px ); overflow:hidden; }
    </style>
    <div id="w">I resent you</div>
  • A one word search on Flickr has produced a large bucket of crazy. That word: LIES.

  • It’s both weird and convenient this works.

    <script>
    var pwcc="working";
    alert( window.window.window.pwcc );
    </script>
  • Kickstarter to try and regain credibility after selling out to a politician.