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: Shortlinks? BE GONE! | |
Description: This plugin modifies links in comments as they are submitted, searches for URLs and then expands them if necessary. | |
Author: Jan Dembowski | |
Author URI: https://blog.dembowski.net/ | |
Version: 0.6 | |
*/ |
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: Are You Licensed? | |
Description: This plugin checks your hostname to see if you are adhering to the <a href="http://wordpressfoundation.org/trademark-policy/">WordPress Foundation Trademark Policy</a>. It does <strong>not</strong> check if you are running an activated installation of WordPress. This not a Microsoft plugin. | |
Author: Jan Dembowski | |
Author URI: https://blog.dembowski.net/ | |
Version: 0.3 | |
*/ |
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: Phantom 3D | |
Plugin URI: http://blog.dembowski.net/2012/02/12/now-in-3d/ | |
Description: This plugin wraps posted tagged with "Phantom 3D" in a div that applies red-blue to the text for an old fashioned 3D effect. | |
Author: Jan Dembowski | |
Version: 1.0 | |
Author URI: http://blog.dembowski.net/ | |
*/ |
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: GModules Rewrite Links | |
Description: This will filter links in posts, pages, and comments to use "http://gmodules.com/ig/proxy?url=" instead. | |
Version: 1.0 | |
*/ | |
add_filter( 'the_content' , 'mh_gmodule' , 50 ); | |
add_filter( 'the_content_rss' , 'mh_gmodule' , 50 ); | |
add_filter( 'comment_text' , 'mh_gmodule' , 50 ); |
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: Fix oembed_discovery_links output | |
Description: Modify the oembed discovery links in horrible ways | |
Version: 1.0 | |
Author: Jan Dembowski | |
Author URI: https://blog.dembowski.net/ | |
*/ |
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: Make new sites in the network with https URLs | |
Description: Force new sites in a multisite network to use HTTPS as the scheme. | |
Plugin Author: Jan Dembowski | |
This probably should not be necessary and the scheme should be picked up | |
by WordPress. But I could not get my new sites to use https so here I am. |
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
#!/bin/bash | |
CURRENTIP=$(dig +short tf2.dn7.me | tail -1) | |
OLDIP=$(</var/cache/tf2.dn7.me-ip) | |
if [ "$CURRENTIP" != "$OLDIP" ] | |
then | |
# Delete existing /sbin/iptables rules for port 27015 | |
# From http://serverfault.com/questions/401416/iptables-clear-all-prerouting-rules-with-a-specific-destination-address |
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: Import IFTTT created Instagram posts | |
Description: This plugin will identify IFTTT created Instagram posts when published and will download the image into the media library. It will also modify the post to use the media library copy. | |
Version: 0.4 | |
Author: Jan Dembowski | |
Author URI: https://blog.dembowski.net/ | |
*/ |
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
# | |
# Start with a fresh Raspbian Jessie Lite installation from https://www.raspberrypi.org/downloads/raspbian/ | |
# | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get -y dist-upgrade | |
sudo apt-get -y install vim | |
sudo apt-get -y install subversion | |
sudo apt-get -y install git |
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: Tin Foil Hat Gravatars | |
Description: Use Gravatars but don't use Gravatars. What? Shut up. | |
Author: Jan Dembowski | |
Author URI: https://blog.dembowski.net/ | |
Version: 0.7 | |
License: GPL2 | |
*/ |
OlderNewer