Skip to content

Instantly share code, notes, and snippets.

View mtoensing's full-sized avatar

Marc Tönsing mtoensing

View GitHub Profile
<?php
header_no_cache();
use xPaw\MinecraftQuery;
use xPaw\MinecraftQueryException;
// Edit this ->
define( 'MQ_SERVER_ADDR', 'XXXXXXXX );
define( 'MQ_SERVER_PORT', 25565 );
define( 'MQ_TIMEOUT', 1 );
// Edit this <-
@mtoensing
mtoensing / marctv-out-linker.php
Last active October 30, 2017 17:57
Better Internal Link Search Add-On for out links
<?php
/**
* Plugin Name: MarcTV Out Linker
* Description: Adds Links
* Plugin URI: https://marc.tv
* Version: 0.0.1
*/
function marctv_out_shortscuts( $shortcuts ) {
@mtoensing
mtoensing / gtc_remove_duplicates.php
Last active January 13, 2017 14:42
Remove duplicates of AMP and comment pages from Google Analytics Top Content Widget
<?php
/**
* Plugin Name: Google Analytics Widget - Remove AMP and comment page duplicates
* Contributors: MarcDK
* Donate link: http://paypal.me/marctoensing
* Description: Remove AMP and comment pages from google analytics widget
* Plugin URI: https://gist.github.com/mtoensing/a9df8174c5923959dd9948cf9125b142/
* Version: 1.0
*/