Skip to content

Instantly share code, notes, and snippets.

@jbeee
jbeee / footer.php
Last active August 29, 2015 14:23 — forked from mommaroodles/footer.php
@jbeee
jbeee / gist:9779417
Created March 26, 2014 09:14
Terminal Commands for Smusher, Include in GEMfile google rails debugger, and JS toggle fullscreen
IMG optimization
smusher /apps/x/public/images [options]
smusher /apps/x/public/images/x.png [options]
smusher /apps/x/public/images/*.png [options]
///////////////////////////////////////////////
#GOOGLE RAILS DEBUGGER
add to gemfile
MONGO NOTES :D
(Not functional code. Do not run this. Just for Reference)
-h [ --help ] show this usage information
--version show version information
-f [ --config ] arg configuration file specifying additional options
-v [ --verbose ] be more verbose (include multiple times for more
verbosity e.g. -vvvvv)
@jbeee
jbeee / rAF.js
Created March 12, 2014 14:17 — forked from paulirish/rAF.js
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];