I hereby claim:
- I am jjeaton on github.
- I am jjeaton (https://keybase.io/jjeaton) on keybase.
- I have a public key whose fingerprint is D60F 9699 1C9B 6C64 E244 5E81 AAC7 AA3A 832A 97B4
To claim this, I am signing this object:
shelp = "!shelp() { MANWIDTH=80 MANPAGER='col -bx' git help \"$@\" | subl ;}; shelp" |
man -t [command] | open -f -a Preview |
<?php | |
// ...<snip>... | |
<span class="milestone"><# wp.hooks.doAction('milestonerevs.metadata', data) #></span> | |
// ...<snip>... | |
add_action( 'admin_footer-revision.php', 'wpse151630_test' ); | |
function wpse151630_test() { | |
?> | |
<script> |
<?php | |
/** | |
* Disable heartbeat API on all admin pages except post.php and post-new.php | |
* | |
* Plugin Name: Disable Heartbeat API | |
* Plugin URI: http://www.josheaton.org/ | |
* Description: Disables the heartbeat API on all admin pages except post.php and post-new.php | |
* Version: 0.1 | |
* Author: Josh Eaton | |
* Author URI: http://www.josheaton.org/ |
<?php | |
# Implements a recursive null object pattern. | |
# | |
# Implemented as a trait so any object can make it's properties use | |
# the null pattern without resorting to inheritance. | |
# | |
# The goal is so you can pull data off a partially populated object | |
# without excessive existance checks. | |
trait NullPattern { |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Small plugin to demonstrate how to place the bbPress Report Content links wherever you want | |
* | |
* @author Josh Eaton <http://www.josheaton.org/> | |
*/ | |
if ( ! function_exists( 'shmoo_bbp_the_topic_report_link' ) ) { | |
/** | |
* Output a topic report link |
Cutout a triangle from the border of an element and show the background through.
A Pen by Josh Eaton on CodePen.
<?php | |
/* Register custom post types on the 'init' hook. */ | |
add_action( 'init', 'my_register_post_types' ); | |
/** | |
* Registers post types needed by the plugin. | |
* | |
* @since 0.1.0 | |
* @access public |