// phantomjs --web-security=no most_used_css_property_names.js | |
var urls = [ | |
'http://google.com', | |
'http://facebook.com', | |
'http://youtube.com', | |
'http://yahoo.com', | |
'https://github.com/', | |
'http://twitter.com/', | |
'http://en.wikipedia.org/wiki/Main_Page', |
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
<?php | |
/* | |
Plugin Name: Force IE Edge | |
Description: Add an X-UA-Compatible header to WordPress | |
Author: Christopher Davis | |
Author URI: http://christopherdavis.me | |
License: GPL2 | |
Copyright 2012 Christopher Davis |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This is an unofficial draft spec, not formally endorsed by the WHATWG. It is suitable only for reviewing the details of the proposed element.
function resolveURL(baseURL, relativeURL) { | |
var html = document.implementation.createHTMLDocument(""); | |
var base = html.createElement("base"); | |
base.setAttribute("href", baseURL); | |
var a = html.createElement("a"); | |
a.setAttribute("href", relativeURL); | |
html.head.appendChild(base); | |
html.body.appendChild(a); | |
return a.href; | |
} |
// Simple JavaScript Templating | |
// John Resig - http://ejohn.org/ - MIT Licensed | |
(function(){ | |
var cache = {}; | |
this.tmpl = function tmpl(str, data){ | |
// Figure out if we're getting a template, or if we need to | |
// load the template - and be sure to cache the result. | |
var fn = !/\W/.test(str) ? | |
cache[str] = cache[str] || |
// For use in jQuery | |
// Some mobile browsers (ie. Mobile Safari) don't focus their associated inputs | |
// so we force that behavior when possible. | |
$('label[for]') | |
// First we check when a label is touched and is associated with a radio or checkbox input, | |
// if so then we mark it as having focus. | |
.live('touchstart', function(event) { | |
var input = event.target.control ? $(event.target.control) : $('#' + event.target.htmlFor); | |
if (input.is('[type=checkbox], [type=radio]')) |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.