Skip to content

Instantly share code, notes, and snippets.

View mattbrett's full-sized avatar

Matt Brett mattbrett

View GitHub Profile
<?php
add_action( 'init', 'prefix_disable_post_page_analysis' );
/**
* Conditionally disable the Yoast Page Analysis on post and page admin edit screens.
*
* @uses prefix_is_edit_screen
* @return NULL if we're not on the right admin screen
* @author Robert Neu <http://wpbacon.com>
* @link http://auditwp.com/wordpress-seo-admin-columns/
@bryanveloso
bryanveloso / fix_airplay.sh
Created March 11, 2013 19:02
Fix AirPlay audio when OS X refuses to select an AppleTV as an audio output.
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`
@adamloving
adamloving / temporary-email-address-domains
Last active July 24, 2024 20:49
A list of domains for disposable and temporary email addresses. Useful for filtering your email list to increase open rates (sending email to these domains likely will not be opened).
0-mail.com
0815.ru
0clickemail.com
0wnd.net
0wnd.org
10minutemail.com
20minutemail.com
2prong.com
30minutemail.com
3d-painting.com
@marcedwards
marcedwards / high-dpi-media.css
Last active November 19, 2023 12:56
A CSS media query that captures almost all high DPI aware devices.
/* ---------------------------------------------------------- */
/* */
/* A media query that captures: */
/* */
/* - Retina iOS devices */
/* - Retina Macs running Safari */
/* - High DPI Windows PCs running IE 8 and above */
/* - Low DPI Windows PCs running IE, zoomed in */
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */
/* - Android hdpi devices and above */