Skip to content

Instantly share code, notes, and snippets.

@shiftkey
shiftkey / duchess.md
Last active December 14, 2015 01:38
Some words about a project idea codenamed Duchess - the goal is to make a replacement for Sandcastle and make creating documentation for open source project cool again

Burn Sandcastle to the Ground

Addressing The Documentation Problem

I've had lots of discussions with people over the past few days around how open source projects in the .NET space have poor documentation (if it exists). So how do we fix this?

At a high-level, I've got these goals in mind:

  • make it easy
  • make it cool
@iainmcgin
iainmcgin / plus_one_rt.js
Created December 11, 2013 16:47
Example of using the W3C Resource Timing API to display the resource timing information of +1 buttons. This code can be pasted into the Javascript console in Chrome on any page.
(function() {
// request PerformanceResourceTiming info for all resources on the page
var resources = window.performance.getEntriesByType('resource');
// filter all resources to just +1 button iframes with timing information
var p1Resources = resources.filter(function(rtInfo) {
return rtInfo.name.indexOf('_/+1/fastbutton') != -1 &&
rtInfo.responseStart != 0;
});