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 | |
/** | |
* | |
* Add only for parents coustom term Options | |
* @author rene reimann | |
* @home http://www.rene-reimann.de | |
* | |
* @hook category_add_form_fields Hooks into the category edit page | |
* @hook edit_tag_form_fields Hooks into the category frontpage |
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 | |
/** | |
* | |
* Wordpress Hook into the plugin action links and filter them! | |
* @author rene reimann | |
* @authorHome http://www.rene-reimann.de | |
* | |
* @hook plugin_action_links Hooks into the plugin action links | |
* |
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 | |
/** | |
* Smarty plugin | |
* @package Smarty | |
* @subpackage PluginsModifier | |
*/ | |
/** | |
* Smarty {$xml|parseXML} function plugin | |
* |
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
// ==UserScript== | |
// @name Ingress Intel: Notify UI | |
// @namespace https://arantius.com/misc/greasemonkey/ | |
// @description Annotate the Ingress Intel Dashboard with links to control the Ingress Notify app. | |
// @match http://www.ingress.com/intel* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
//const NOTIFY_SERVER = 'http://localhost:8080/' |
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
<h3>Ferien im Monat <?php echo strftime ('%B' , get_post_meta($post_id , 'Date', true ) ) ?></h3> | |
<?php | |
$i = 0; | |
$nextPeriod = false; | |
foreach ($days as $day) { | |
$vacationDataJson = get_post_meta($day->ID, 'Ferien', true ); | |
### Ist dies ein Ferientag? ### | |
if( strlen($vacationDataJson) > 0 ) { |
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
# Apache Configuration File | |
# https://github.com/h5bp/server-configs-apache | |
# (!) Using `.htaccess` files slows down Apache, therefore, if you have access | |
# to the main server config file (usually called `httpd.conf`), you should add | |
# this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html. | |
# ############################################################################## | |
# # CROSS-ORIGIN RESOURCE SHARING (CORS) # | |
# ############################################################################## |
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 | |
$url = $_GET['url']; | |
$allowedurls = array( | |
'http://developer.yahoo.com', | |
'http://icant.co.uk' | |
); | |
if(in_array($url,$allowedurls)){ | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $url); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); |
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
// ==UserScript== | |
// @id iitc-export-import-draw@skamander | |
// @name IITC plugin: export and import data from draw tools | |
// @version 0.0.1 | |
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion | |
// @description Import/Export Data from draw tools | |
// @include https://www.ingress.com/intel* | |
// @include http://www.ingress.com/intel* | |
// @match https://www.ingress.com/intel* | |
// @match http://www.ingress.com/intel* |
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
if (navigator && navigator.platform && navigator.platform.match(/^(iPad|iPod|iPhone)$/)) { | |
//do something magic | |
} |
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
if (is_sticky() ) { | |
the_content(); | |
} else { | |
the_excerpt(); | |
} |
OlderNewer