This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- Helpful things to keep in your <head/> | |
// Brian Blakely, 360i | |
// http://twitter.com/brianblakely/ | |
--> | |
<head> | |
<!-- Disable automatic DNS prefetching. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// &file=`assets/foo/bar.php` indicates the file to include | |
// &return=`1` return explicit content from return statement in included file | |
// default behavior is to use output buffering to capture the content from the include | |
$output = ''; | |
if (isset($file) && file_exists($modx->config['base_path'] . $file)) { | |
if (!isset($return) || $return == false) { | |
ob_start(); | |
include ($modx->config['base_path'] . $file); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SCSS Color Methods for Accessibility | |
================================================================================ | |
Adjust given colors to ensure that those color combination provide sufficient | |
contrast. | |
@version 0.1 | |
@link http://eye48.com/go/scsscontrast |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Patterns matching CSS files that should be minified. Files with a -min.css | |
# suffix will be ignored. | |
CSS_FILES = $(filter-out %-min.css,$(wildcard \ | |
public/css/*.css \ | |
public/css/**/*.css \ | |
)) | |
# Patterns matching JS files that should be minified. Files with a -min.js | |
# suffix will be ignored. | |
JS_FILES = $(filter-out %-min.js,$(wildcard \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<!-- Encoding --> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"></meta> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dear soon-to-be-former user, | |
We've got some fantastic news! Well, it's great news for us anyway. You, on | |
the other hand, are fucked. | |
We've just been acquired by: | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (w, d) { | |
var a, k = 'protocol hostname host pathname port search hash href'.split(' '); | |
w.UFCOE = w.UFCOE || {}; | |
/** | |
* Parse a URI, returning an object similar to Location | |
* | |
* Usage: UFCOE.parseUri("hello?search#hash").search -> "?search" | |
* | |
* @param String url | |
* @return Object |
Save from the Etherpad: http://bit.ly/polyfilling
This is for the QCon session 'Polyfilling the HTML5 Gaps'
- https://github.com/addyosmani/getUserMedia.js (posted monday, still needs docs. thxx for waiting. Tested as working in FF/Safari/Opera/Chrome + Opera.next,Canary + IE8. Rememer to test with a local HTTP server)
- Bruce Lawson's recent article on getUserMedia() is a good read if you haven't heard about the feature or WebRTC before. Doesn't factor in the above just yet, but will give you a primer on the feature http://dev.opera.com/articles/view/getusermedia-access-camera-privacy-ui/
- https://github.com/wesbos/HTML5-Face-Detection (console based version that works in Canary/Opera.next camera build)
- http://code.google.com/p/jebgl/ (they're working on the osx issues reported, otherwise should work fine on other platforms)
- http://flashcanvas.net/ (here's a high-level summary of excanvas vs flashcanvas http://blog.oskoui-oskoui.com/?p=1038 only comment I would make is that chrome frame as an option i
OlderNewer