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 | |
/** | |
* Plugin Name: APC Object Cache | |
* Description: An object cache implementation that uses APC. | |
* Author: Christopher Davis | |
* Author URI: http://christopherdavis.me | |
* Version: 0.1 | |
* | |
* Based on Mark Jaquith's APC object cache | |
* http://txfx.net/wordpress-plugins/apc/ |
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
# Beispiel-Codeschnipsel für die WordPress-htaccess-Datei | |
# https://www.wp-sicherheit.info | |
# Marc Nilius, info@wp-sicherheit.info | |
# Mit Material von Zodiac1978, siehe auch https://gist.github.com/Zodiac1978/d25a8f3aebba7cd1c01c | |
# | |
# Diese Codeschnipsel gehören in die .htaccess-Datei im Hauptverzeichnis von WordPress | |
# Jeder einzelne Bestandteil kann einzeln kopiert und genutzt werden. | |
# Bitte die Verwendungshinweise (Kommentare) an jedem Schnipsel beachten |
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
// js/editor_plugin.js | |
/** | |
* an example tinyMCE Plugin | |
*/ | |
tinymce.create( | |
'tinymce.plugins.myPlugin', | |
{ | |
/** | |
* @param tinymce.Editor editor | |
* @param string url |
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 | |
class Custom_Widget extends WP_Widget { | |
function Custom_Widget() { | |
... | |
} | |
function widget($args, $instance) { | |
... | |
} | |
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 | |
/* | |
Plugin Name Easy Debug function | |
Plugin URI https://gist.github.com/1042827 | |
Description Allows the use of <code>_dump( $example_var );</code> or <code>_dump( 'example_global' );</code> for debugging variables. Collects everything in a global & prints in the footer (admin & public). If you want to not print, just return, then set <code>$hook</code> to <code>false</code> when calling the function. | |
Author Franz Josef Kaiser | |
Author URI https://github.com/franz-josef-kaiser | |
Version 0.1 | |
Options Version 0.1 | |
License MIT Extended |
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
/** | |
* Custom Gallery Setting | |
*/ | |
( function( $ ) { | |
var media = wp.media; | |
// Wrap the render() function to append controls | |
media.view.Settings.Gallery = media.view.Settings.Gallery.extend({ | |
render: function() { | |
media.view.Settings.prototype.render.apply( this, arguments ); |
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 3.1 Taxonomy Feeds Plugin (Must-Use) | |
* | |
* Copyright (C) 2011 hakre <http://hakre.wordpress.com/> | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Affero General Public License as | |
* published by the Free Software Foundation, either version 3 of the | |
* License, or (at your option) any later version. |
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
#!/usr/bin/env bash | |
echo "@@@ @@@ @@@@@@@@ @@@ @@@ @@@@@@@ @@@@@@@@ @@@ @@@ " | |
echo "@@@ @@@ @@@@@@@@ @@@@ @@@ @@@@@@@ @@@@@@@@ @@@ @@@ " | |
echo "@@! !@@ @@! @@!@!@@@ @@! @@! @@! !@@ " | |
echo "!@! @!! !@! !@!!@!@! !@! !@! !@! @!! " | |
echo " !@@!@! @!!!:! @!@ !!@! @!! @!!!:! @!@@!@! " | |
echo " @!!! !!!!!: !@! !!! !!! !!!!!: !!@!!! " | |
echo " !: :!! !!: !!: !!! !!: !!: !!: :!! " | |
echo ":!: !:! :!: :!: !:! :!: :!: :!: !:! " |