Skip to content

Instantly share code, notes, and snippets.

View triblondon's full-sized avatar

Andrew Betts triblondon

View GitHub Profile
triblondon / page.html
Last active January 3, 2016 03:08
Recommended Origami JavaScript loader
(function() {
if (Modernizr.classlist && Modernizr.queryselector && Modernizr.localstorage && Modernizr.eventlistener) {
var j = document.createElement('script');
j.type = 'text/javascript';
j.async = true;
j.src = '/resources/javascript/bundle.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(j, s);
} else {
triblondon / SassMeister-input.scss
Created January 15, 2014 23:43
Generated by
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
$o-colors-is-silent: true !default;
pink #fff1e0,
black #000000,
triblondon / .travis.yml
Last active January 4, 2016 22:09
Sample Travis test to ensure that Origami-compliant modules will build successfully
- "test/travis.rb"
language: ruby
- gem install sass
- npm install -g bower
- npm install -g grunt-cli
- npm install
- bower install
triblondon / Gruntfile.js
Created January 29, 2014 13:05
Sample Grunt config for Origami compliant build process
module.exports = function(grunt) {
"use strict";
sass: {
docs: {
options: {
style: 'compressed',
loadPath: './bower_components'
triblondon / .travis.yml
Last active August 29, 2015 13:57
Travis CI config for Origami projects
language: node_js
- "0.10"
- npm install -g
- origami-build-tools install
- origami-build-tools test
triblondon / SassMeister-input.scss
Created March 27, 2014 23:19
Generated by
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
/* So our dependency tree looks like:
- ModuleB
- ModuleA
- UserAgent
triblondon / .scss-lint.yaml
Last active August 29, 2015 14:01
Proposed scss-lint rules
# "border: 0" not "border: none"
enabled: true
# No capitals in selectors
triblondon /
Last active August 29, 2015 14:13
Edge conf 5: London 2015

#Early draft of Edge conf 5

This was a discussion of the schedule for Edge 5, which is now finalised, and the information below is out of date. See the website for current details.


Edge 5 will feature a single track of 4 sequential panel discussions on topics of universal importance and topicality to the web community, followed by lunch and then 12 breakout sessions across 4 tracks, in which face to face discussions of specific current and future web topics can be had in boardroom style with groups of up to 50.

triblondon /
Created May 27, 2015 07:36

Keybase proof

I hereby claim:

  • I am triblondon on github.
  • I am triblondon ( on keybase.
  • I have a public key whose fingerprint is 499E 3F7D 72A6 1EFE B9AF 3789 7237 0952 AC58 BFA9

To claim this, I am signing this object:

triblondon /
Last active October 9, 2016 12:48
Paid content pass specification proposal

Paid content pass specification proposal

Paid content makes up a significant portion of the content available online, especially high value content. Users who are seeking information via search engines frequently run queries for which the most relevant content is to be found from payment-required sources. However, in order that search crawlers are able to index this content, paid content publishers typically permit such crawlers to access their pages as if the crawler were a paid-up subscriber. As a result, search results displayed to users of search engines can create the expectation of free content and disappointment or frustration when the user is denied access.

To date, search providers have attempted to solve this problem by requiring content owners to make content available to searchers in the same form as it is available to the crawler, when a searcher clicks on a search result, a practice known as "First click free". In most cases it is a breach of the search provider's terms of service to bar se