This file contains 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 | |
/** | |
* Generate sitemap files in base XML as well as popular namespace extensions | |
* | |
* @author Automattic | |
* @version 2.0 | |
* @link http://sitemaps.org/protocol.php Base sitemaps protocol | |
* @link http://www.google.com/support/webmasters/bin/answer.py?answer=74288 Google news sitemaps | |
*/ |
This file contains 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 | |
/** | |
* Adds categories to the sitemap by filtering wpcom_print_sitemap. | |
* | |
* @uses array_key_exists, esc_url, function_exists, get_categories, is_array, taxonomy_image_plugin_get_associations, taxonomy_image_plugin_get_image_src, trailingslashit, wpcom_sitemap_array_to_simplexml | |
* @return array | |
*/ | |
function nesn_filter_wpcom_print_sitemap( $tree, $latest_mod ) { | |
$url_base = trailingslashit( get_bloginfo( 'siteurl' ) ); | |
$categories = array(); |
This file contains 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
/** | |
* Hookable filter which loads external scripts in the footer. See the example below | |
* | |
* <code> | |
* filter_nesn_load_external_script( $params ) { | |
* $params['unique_id']['url'] = 'http://path.to/resource.js'; | |
* $params['unique_id']['callback'] = 'callMeAfterScriptLoads'; | |
* return $params; | |
* } | |
* |
This file contains 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 | |
/** | |
* NESN PROGRAMMING | |
* | |
* Handles the TV Tune-In and the TV Schedule | |
*/ | |
class NESN_Programming { | |
/** | |
* Class variables |
This file contains 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
// Define this at the beginning of your JavaScript file. | |
// Use thusly: tb_remove( function(){ console.log( "Thickbox has left the building" )} ); | |
var tb_removeOriginal = window.tb_remove; | |
window.tb_remove = function( callback ) { | |
tb_removeOriginal(); | |
var obj = {}; | |
// Check that "callback" is actually a function. |
This file contains 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
/** | |
* Ensures that the object window has not been reassigned a new value. | |
* @param Object window | |
*/ | |
(function(window) { | |
/** | |
* An array of valid CSS rules. This is the only part of the code that | |
* ought to be edited. | |
* |
This file contains 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
// | |
// ADModalSegue.h | |
// | |
// Created by Jeffrey Kereakoglow on 11/28/14. | |
// Copyright (c) 2014 Alexis Digital. All rights reserved. | |
// | |
@import UIKit; | |
@interface ADModalSegue : UIStoryboardSegue |
This file contains 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
// | |
// symmetric-difference.m | |
// RosettaCodeData | |
// | |
// Created by Ingy döt Net on 4/2/14. | |
// https://github.com/acmeism/RosettaCodeData/blob/master/Task/Symmetric-difference/Objective-C/symmetric-difference.m | |
// | |
#import <Foundation/Foundation.h> |
This file contains 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
// | |
// regex-tester.m | |
// Alexis Digital | |
// | |
// Created by Jeff Kereakoglow on 1/23/15. | |
// | |
// Use this code snippet to test your regular expression syntax. | |
// | |
#import <Foundation/Foundation.h> |
This file contains 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
// | |
// ADAuthenticationModel.h | |
// NetworkAuthentication | |
// | |
// Created by Jeffrey Kereakoglow on 3/11/15. | |
// Copyright (c) 2015 Alexis Digital. All rights reserved. | |
// | |
@import Foundation; |
OlderNewer