I hereby claim:
- I am markjaquith on github.
- I am markjaquith (https://keybase.io/markjaquith) on keybase.
- I have a public key whose fingerprint is 6537 F2DF 3921 E11E 46C5 D6B7 56AD 3A85 0F62 922E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Genesis Front Page Manager | |
* | |
* @package Genesis_Front_Page_Manager | |
* @author Brad Potter | |
* @license GPL-2.0+ | |
* @link http://www.bradpotter.com/plugins/genesis-front-page-manager | |
* @copyright Copyright (c) 2014, Brad Potter | |
*/ |
<?php | |
/* | |
Usage: | |
$frag = new CWS_Fragment_Cache( 'unique-key', 3600 ); // Second param is TTL | |
if ( !$frag->output() ) { // NOTE, testing for a return of false | |
functions_that_do_stuff_live(); | |
these_should_echo(); | |
// IMPORTANT | |
$frag->store(); | |
// YOU CANNOT FORGET THIS. If you do, the site will break. |
<?php | |
/* | |
Author: Hans2103 | |
credit: Jim Westergren, Jeedo Aquino & Flynsarmy | |
File: index-with-redis.php | |
Updated: 2013-05-27 | |
This is a redis caching system for Wordpress based on Redis connection using PHPRedis. | |
https://github.com/nicolasff/phpredis |
<?php | |
/* | |
Usage: | |
cache_fragment_output( 'unique-key', 3600, function () { | |
functions_that_do_stuff_live(); | |
these_should_echo(); | |
}); | |
*/ | |
function cache_fragment_output( $key, $ttl, $function ) { |
diff --git a/Gruntfile.js b/Gruntfile.js | |
index 53fe849..80ce14a 100644 | |
--- a/Gruntfile.js | |
+++ b/Gruntfile.js | |
@@ -56,6 +56,16 @@ module.exports = function (grunt) { | |
max_jshint_notifications: 5 | |
} | |
}, | |
+ uncss: { | |
+ gettingStarted: { |
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function(grunt) { | |
// load all grunt tasks | |
require('load-grunt-tasks')(grunt); |
diff --git a/Gruntfile.js b/Gruntfile.js | |
index 53fe849..80ce14a 100644 | |
--- a/Gruntfile.js | |
+++ b/Gruntfile.js | |
@@ -56,6 +56,16 @@ module.exports = function (grunt) { | |
max_jshint_notifications: 5 | |
} | |
}, | |
+ uncss: { | |
+ gettingStarted: { |