This file contains hidden or 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 | |
/** | |
* Wraps output from functions attached to the wp_footer hook with HTML comments | |
* Useful for finding stray bits of output. Save as an MU plugin and change the hook to whatever you want. | |
*/ | |
add_action( 'wp_footer', function() { | |
echo '<!-- Start wp_footer -->' . "\n"; | |
global $wp_filter; |
This file contains hidden or 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
{ | |
"basics": { | |
"label": "Web Developer", | |
"email": "[email protected]", | |
"phone": "(603) 244-8843", | |
"website": "https://eriktdesign.com", | |
"name": "Erik Teichmann", | |
"summary": "Erik is a freelance web developer living in Lancaster, Pennsylvania. He is also a musician, photographer, videographer, family man, and all around Nice Guy.", | |
"picture": "https://www.gravatar.com/avatar/dce6423212023c22e5cca7d020b48e35?s=800.jpg", | |
"profiles": [ |
This file contains hidden or 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 | |
if [ "$1" != "" ]; then | |
theme_name=$1 | |
fi | |
FILE=.gitignore | |
if test -f "$FILE"; then | |
echo ".gitignore exists, aborting." | |
else |
This file contains hidden or 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 | |
# Get params | |
POSITIONAL=() | |
while [[ $# -gt 0 ]]; do | |
case $1 in | |
-s|--server) | |
SERVER="$2" | |
shift # past argument | |
shift # past value |
This file contains hidden or 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
#!/usr/bin/php | |
<?php | |
# Script Options | |
$shortopts = ""; | |
# $shortopts .= "p:"; // Required value | |
# $shortopts .= "v::"; // Optional value | |
$shortopts .= "i"; // Use http | |
$longopts = array( |
This file contains hidden or 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/?.*$ | |
RewriteRule ^(.*)$ https://production-site-url.com/$1 [QSA,L] | |
</IfModule> |
This file contains hidden or 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
<iframe id="tithely-web-widget-wrapper" style="overflow: hidden; background-color: #ffffff; opacity: 1; max-height: 80vh;" src="https://tithe.ly/give_new/www/#/tithely/give-one-time/<<<YOUR CHURCH ID NUMBER HERE>>>" width="100%" height="770px" frameborder="0"></iframe> |