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 | |
//* Do NOT include the opening php tag | |
//* Add JS to allow elements to be faux anchors | |
add_action( 'wp_footer', 'bg_script_clickable' ); | |
function bg_script_clickable() { | |
echo '<script type="text/javascript">jQuery(document).ready(function($){$(".content .entry").click(function(){window.open($("a",this).attr("href"), "_blank");});});</script>'; | |
} |
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 | |
# Find all boxes which have updates | |
AVAILABLE_UPDATES=`vagrant box outdated --global | grep outdated | tr -d "*'" | cut -d ' ' -f 2` | |
if [ ! ${#AVAILABLE_UPDATES[@]} -eq 0 ]; then | |
for box in $AVAILABLE_UPDATES ; do | |
echo "Found an update for $box" |
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: Filename Based Cache Busting | |
* Plugin URI: https://gist.github.com/gMagicScott/5400268 | |
* Description: Bustin' up cache's in WordPress. Doing it H5BP style, and without a build script. | |
* Author: Scott Lesovic, forked from Ben Sampo | |
* Author URI: | |
* Version: 0.2-dev | |
*/ |
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
http://davidfarr.com/click/all-night-graduation-parties.php?email=%$email$%&Name=%$name$%&Company=%$company$%&Workphone=%$workphone$%&Homephone=%$homephone$%&City=%$city$%&field9=%$custom:field9$%&field2=%$custom:field2$%&auto=yes |