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
// 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 (window) { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; |
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 | |
/** | |
* Grayscale Image Editor | |
* | |
* Expands GD Image Editor class by adding a grayscale filter. | |
*/ | |
require_once ABSPATH . 'wp-includes/class-wp-image-editor.php'; | |
require_once ABSPATH . 'wp-includes/class-wp-image-editor-gd.php'; |
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 | |
/** | |
* Plugin Name: Disable Blog | |
* Description: Disable Posts and Comments in Wordpress. | |
* Author: Dan Boulet | |
* Author URI: http://danboulet.com/ | |
*/ | |
class Customize_Disable_Blog { | |
/** |