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 | |
// This is defined somewhere high up in functions.php | |
// $GLOBALS['cnmd_inline_css_record'] = array(); | |
/** | |
* Used to shoot out css files in-line, and only once per file. Uses the CSS ID as an | |
* index into an array to prevent dupes. | |
* |
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 | |
# | |
# Wordpress Deprecated function checker | |
# | |
# Version: 0.2 | |
# | |
# Author: Michiel Roos <[email protected]> | |
# Jeff Buchbinder (https://github.com/jbuchbinder) | |
# | |
# www.php.net/manual/en/migration53.deprecated.php |
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
D pre_comment_author_name | |
H dashboard_primary_title - on hold | |
D wpmu_signup_user_notification | |
D the_weekday_date | |
D post_row_actions | |
D wp_terms_checklist_args | |
D post_comments_feed_link | |
D get_the_generator_{$type} | |
D teeny_mce_buttons | |
D posts_join_paged |
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 | |
define('CLIENT_ID', 'YOUR_CLIENT_ID'); | |
define('API_KEY', 'YOUR_API_KEY'); | |
define('TOKEN_URI', 'https://connect.stripe.com/oauth/token'); | |
define('AUTHORIZE_URI', 'https://connect.stripe.com/oauth/authorize'); | |
if (isset($_GET['code'])) { // Redirect w/ code | |
$code = $_GET['code']; |
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/env bash | |
# args | |
MSG=${1-'deploy from git'} | |
BRANCH=${2-'trunk'} | |
# paths | |
SRC_DIR=$(git rev-parse --show-toplevel) | |
DIR_NAME=$(basename $SRC_DIR) | |
DEST_DIR=~/svn/$DIR_NAME/$BRANCH |