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
/* | |
* Behave.js | |
* | |
* Copyright 2013, Jacob Kelley - http://jakiestfu.com/ | |
* Released under the MIT Licence | |
* http://opensource.org/licenses/MIT | |
* | |
* Github: http://github.com/jakiestfu/Behave.js/ | |
* Version: 1.5 | |
*/ |
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 | |
class WP_Filter_Return { | |
private $val=''; | |
public function __construct( $val ) { | |
$this->val = $val; | |
} | |
public function display() { | |
echo $this->val; | |
} |
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: Hodor Translation Pack | |
* Description: Hodor hodor hodor. Hodor hodor? | |
* Version: 1.0 | |
* Author: Tom J Nowell | |
* Author URI: http://tomjn.com/ | |
* License: GPLv2+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt | |
*/ |
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 | |
global $wp_query; | |
array_walk( $wp_query->posts, function( $post, $key ) { | |
setup_postdata( $post ); | |
the_title(); | |
the_content(); | |
}); |
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
{ | |
"require": { | |
"justinrainsdasdfbow/json-schema": "~1.1" | |
}, | |
"scripts": { | |
"post-update-cmd": "cftp\\composer_checker::post", | |
"post-install-cmd": "cftp\\composer_checker::post", | |
"pre-install-cmd": "cftp\\composer_checker::pre", | |
"pre-update-cmd": "cftp\\composer_checker::pre" | |
}, |
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
{ | |
"name": "tomjn/composer-webtest", | |
"description": "tests for web based composer uis", | |
"license": "GPL-V2.0", | |
"authors": [ | |
{ | |
"name": "Tom J Nowell", | |
"email": "[email protected]" | |
} | |
], |
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
#!/bin/bash | |
# Takes a composer controlled repo and pushes a | |
# composed PACKAGE into a branch called "PACKAGE". | |
( | |
# SANITY CHECKS | |
# Check for uncommitted changes, and refuse to proceed if there are any | |
if [ -n "$(git ls-files . --exclude-standard --others)" ]; then |
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 | |
/** | |
* Exclude from official repo update check. | |
* | |
* @link http://markjaquith.wordpress.com/2009/12/14/excluding-your-plugin-or-theme-from-update-checks/ | |
* | |
* @param array $r | |
* @param string $url | |
* @return array |
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
{ | |
"name": "cftp/twitteroembed-hotfix", | |
"description": "Fixes oEmbedding tweets after Twitter's changes in Jan 2014", | |
"license": "GPL-2.0+", | |
"type": "wordpress-plugin", | |
"authors": [ | |
{ | |
"name": "Tom J Nowell", | |
"email": "[email protected]", | |
"homepage": "http://tomjn.com" |
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: JS Test Widget | |
Description: Tests a frustrating issue | |
Author: Tom J Nowell | |
Version: 1.0 | |
License: GPLv2 or later | |
License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
*/ |