Skip to content

Instantly share code, notes, and snippets.

@urig
urig / gist:fff7c34f3bd6a3f7522465023e8f9596
Last active July 26, 2017 11:42 — forked from paulirish/gist:3098860
Open Conference Expectations

Open Conference Expectations

This document lays out some baseline expectations between conference speakers and conference presenters. The general goal is to maximize the value the conference provides to its attendees and community and to let speakers know what they might reasonably expect from a conference.

We believe that all speakers should reasonably expect these things, not just speakers who are known to draw large crowds, because no one is a rockstar but more people should have the chance to be one. We believe that conferences are better -- and, dare we say, more diverse -- when the people speaking are not just the people who can afford to get themselves there, either because their company paid or they foot the bill themselves. Basically, this isn't a rock show rider, it's some ideas that should help get the voices of lesser known folks heard.

These expectations should serve as a starting point for discussion between speaker and organizer. They are not a list of demands; they are a list of rea

@urig
urig / index.js
Created November 22, 2015 16:22
Firefox add-on index.js with elegant hack to load a page-mod script from the add-on's root folder rather than from under its /data folder (for http://stackoverflow.com/questions/22656494/contentscriptfile-dont-work-in-pagemod)
var self = require('sdk/self');
var pageMod = require("sdk/page-mod");
pageMod.PageMod({
include: "*.github.com",
contentScriptFile: "resource://<your_extension_name>/somefile.js"
});
@urig
urig / index.js
Last active November 20, 2015 22:06
Firefox add-on index.js with nasty hack to load a page-mod script from the add-on's root folder rather than from under its /data folder (for http://stackoverflow.com/questions/22656494/contentscriptfile-dont-work-in-pagemod)
var self = require('sdk/self');
var pageMod = require("sdk/page-mod");
// Nasty hack based on source code from sdk/self.js
const options = require('@loader/options');
const { get } = require("sdk/preferences/service");
const { readURISync } = require('sdk/net/url');
const id = options.id;
const readPref = key => get("extensions." + id + ".sdk." + key);
const name = readPref("name") || options.name;