Skip to content

Instantly share code, notes, and snippets.

View cdsalmons's full-sized avatar

Dustin Salmons cdsalmons

View GitHub Profile
@cdsalmons
cdsalmons / whitelist-pingdom-iptables.sh
Last active August 28, 2016 04:20
Whitelist Pingdom probe-servers in iptables
#!/bin/bash
#
# Whitelist Pingdom probe-servers in iptables.
#
# Create a chain called "PINGDOM" and jump to it somewhere before
# the final REJECT/DROP, e.g.
#
# # New chain for Pingdom rules
# :PINGDOM - [0:0]
#
@cdsalmons
cdsalmons / Remove-Stuff.php
Created October 23, 2016 00:09 — forked from wycks/Remove-Stuff.php
Remove WordPress Admin Stuff
<?php
/**
* @package WordPress
* @subpackage WP-Skeleton
*/
// REMOVE SOME HEADER OUTPUT
function Wps_remove_header_info() {
remove_action('wp_head', 'rsd_link');