Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jankeromnes
jankeromnes / gist:3100087
Created July 12, 2012 18:46 — forked from paulirish/gist:3098860
Open Conference Expectations

Open Conference Expectations

For conferences, it's extremely important that attendees get top-quality content from industry experts. As a highly compelling format of educating others based on experience and research, conferences stand to be one of the best sources of refined knowledge available. Still, it's important for a successful event to have a few guidelines to ensure quality content from the best and most appropriate speakers. Below is a set of guidelines for conference organizers that ensure quality content for attendees and the community.

What We, As Speakers, Expect from Conferences

  1. Video recordings: Organizers should prioritize recording all talks and sessions. A conference that only teaches the ~300 people in the room has constrained value and is not worthwhile to a speaker who wants to benefit the community. When recorded, video will be available online under a permissive license (CC-BY-*) within six months of the event.

  2. Travel reimbursement: Conferences will reimburse trav

for(i=0;++i<5;)for(j=2;++j<22;)eval('a=patch_'+i+'_'+j).parentNode.appendChild(a)
for(i=0;++i<5;)for(j=2;++j<22;)eval('a=patch_'+i+'_'+j).parentNode.appendChild(a)
(function(a){a[Math.floor(Math.random()*a.length)](document.body)})([
function(b){b.style.fontFamily='cursive'},
function(b){b.style.color='#f06'},
function(b){b.style.cursor='cell'},
function(b){b.style.cursor='crosshair'},
function(b){b.style.cursor='help'},
function(b){b.style.cursor='move'},
function(b){b.style.cursor='none'},
function(b){b.style.cursor='not-allowed'},
function(b){b.style.cursor='pointer'},
@jankeromnes
jankeromnes / benchmark-pem-vs-rsacompat-vs-openssl.js
Created July 17, 2017 12:09
Benchmarking RSA certificate generation speed (PEM vs RSA Compat vs OpenSSL)
let exec = require('child_process').exec;
let forge = require('node-forge');
let rsa = require('rsa-compat').RSA;
let pem = require('pem');
function generateWithOpenSSL (callback) {
let start = Date.now();
exec('openssl genrsa 4096', (error, stdout, stderr) => {
@jankeromnes
jankeromnes / firefox-cloud9-config-examples.js
Created July 17, 2017 12:13
Configuring Cloud9 IDE for Firefox (brain dump with examples)
/*
└─ your.plugin
├─ builders // https://cloud9-sdk.readme.io/v0.1/docs/builders
| └─ firefox.build {
"cmd": ["./mach", "build", "$file", "$args"],
"env": {},
"selector": "source.ext"
}
├─ runners // https://cloud9-sdk.readme.io/v0.1/docs/runners
| └─ haskell.run {
@jankeromnes
jankeromnes / db.json
Created March 26, 2018 13:44
A redacted db.json file for https://janitor.technology with a project, admin user, 2 machines and 3 hosts.
{
"hostname": "janitor.technology",
"letsencrypt": {
"email": "admin@example.com",
"key": "-----BEGIN RSA PRIVATE KEY-----\r\n[REDACTED]\r\n-----END RSA PRIVATE KEY-----\r\n"
},
"https": {
"ca": [
"-----BEGIN CERTIFICATE-----\r\n[REDACTED]\r\n-----END CERTIFICATE-----\r\n"
],
@jankeromnes
jankeromnes / ephemeral.diff
Created January 7, 2019 14:13
Some old work-in-progress diff about janitor.technology
Commits:
- redirect when code=&state= URL parameters have been used
- save access token creation date and redirect tokens
- expire access tokens after 30 days
- save machine spawn time
- delete any container from admin page
- delete container/token after a timeout (but remember across server restarts)
- after spawn, redirect to specific container ID in Containers page
commit e30a726f79b24fe71257b27babf82ee644c8e4bb
@jankeromnes
jankeromnes / fxosdevices.js
Last active October 11, 2019 01:14
List of Firefox OS devices and their properties
// This list has moved to https://github.com/jankeromnes/devices/
// It's also hosted on a CDN: https://code.cdn.mozilla.net/devices/devices.json
var devices = {
"TYPES": [ "phones", "tablets", "laptops", "televisions", "consoles", "watches" ],
"phones": [
{
"name": "Firefox OS Flame",
"width": 320,
"height": 570,
"pixelRatio": 1.5,
building base image
initializing base image context
UGit operations complete location=/workspace/init
running base image build
Step 1/23 : FROM gitpod/workspace-full:latest
latest: Pulling from gitpod/workspace-full
Digest: sha256:25718cdee428df7bb6a4fc99793e73b51ab5387085dcebd66273ff5734c64e48
Status: Image is up to date for gitpod/workspace-full:latest
---> 1a449f4b5a13