- UglifUI: http://alexsexton.com/uglifui/
- cssmin: http://tools.w3clubs.com/cssmin/ (post)
- Smush.it: http://www.smushit.com/ysmush.it/
- Spritecow: http://www.spritecow.com/
/*! | |
* jQuery whenthen - v0.2 - 3/12/2011 | |
* http://benalman.com/ | |
* | |
* Copyright (c) 2011 "Cowboy" Ben Alman | |
* Dual licensed under the MIT and GPL licenses. | |
* http://benalman.com/about/license/ | |
*/ |
// the text-align: centaur; polyfill | |
// by paul irish | |
// it will find any styles that use `text-align: centaur` and instantly centaurize that text! | |
// uses the JSCSSP parser by Daniel Glazman | |
// thx to cameron daigle for march 2011's best javascript. | |
// http://textaligncentaur.com/ |
// articles per page | |
var limit = 10; | |
// pagination middleware function sets some | |
// local view variables that any view can use | |
function pagination(req, res, next) { | |
var page = parseInt(req.params.page) || 1, | |
num = page * limit; | |
db.articles.count(function(err, total) { | |
res.local("total", total); |
/** | |
* Cross Browser helper to addEventListener. | |
* | |
* @param {HTMLElement} obj The Element to attach event to. | |
* @param {string} evt The event that will trigger the binded function. | |
* @param {function(event)} fnc The function to bind to the element. | |
* @return {boolean} true if it was successfuly binded. | |
*/ | |
var cb_addEventListener = function(obj, evt, fnc) { | |
// W3C model |
@mixin box-shadow($top, $left, $blur, $color, $inset: false) { | |
@if $inset { | |
-webkit-box-shadow:inset $top $left $blur $color; | |
-moz-box-shadow:inset $top $left $blur $color; | |
box-shadow:inset $top $left $blur $color; | |
} @else { | |
-webkit-box-shadow: $top $left $blur $color; | |
-moz-box-shadow: $top $left $blur $color; | |
box-shadow: $top $left $blur $color; | |
} |
Track A | |
Bytes and Blobs – David Flanagan @__DavidFlanagan | |
Slides: http://davidflanagan.com/Talks/jsconf11/BytesAndBlobs.html | |
Conference Wifi Redux - Malte Ubi @cramforce | |
Sashimi: https://github.com/cramforce/Sashimi | |
Slides: http://social-traffic.streamie.org/preso/static/#slide1 | |
Run Your JS everywhere with Jellyfish – Adam Christian @admc |
/* | |
* Property prefix hacks | |
*/ | |
/* IE6 only - any combination of these characters */ | |
_ - £ ¬ ¦ | |
/* IE6/7 only - any combination of these characters */ |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Kambfhase | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
javascript:(function(){var d=document,j=d.getElementById('__paulify_nodes'),k=null;var files=['https://github.com/rtgibbons/Paulify/raw/master/js/paulify.js','https://github.com/rtgibbons/Paulify/raw/master/js/paulify_run.js'];if(j){paulify_add();}else{k=d.createElement('div');k.id='__paulify_nodes';d.getElementsByTagName('body')[0].appendChild(k);for(var l=0;l<files.length;l++){j=d.createElement('script');j.src=files[l];k.appendChild(j);}}})(); |