Examples shown are bare minimum needed to achieve a simple goal.
- Google Chrome's Dev Tools' Network Panel
c-c-c-c-c-ULTIMATE c-c-c-COMBO!!!
- requestb.in enpoints for your HTTP Requests as a free service.
Examples shown are bare minimum needed to achieve a simple goal.
c-c-c-c-c-ULTIMATE c-c-c-COMBO!!!
{ | |
"user": { | |
"debug": true, | |
"delay": 0.25, | |
"error_color": "D02000", | |
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme", | |
"gutter_theme_excludes": [], | |
"lint_mode": "background", | |
"linters": { | |
"phpcs": { |
// Added in 4.9 | |
// Allows filtering of data sent during the core version check. | |
// https://core.trac.wordpress.org/ticket/16778#comment:101 | |
add_filter( 'core_version_check_query_args', 'callback', 10, 1 ); | |
$results = $this->format_posts( get_posts( $args ) ); | |
unset( $queries ); | |
$queries[] = $wpdb->queries; | |
usort( $queries, array( $this, 'sort_db_queries' ) ); | |
error_log( 'Query Results: ' . print_r( $queries, true ) ); | |
public function sort_db_queries( $a, $b ) { | |
//error_log( 'got here: ' . print_r( gettype( $a[1] ), true ) ); |
// https://halfelf.org/2017/add-item-publish-box/?mc_cid=7909524ac0&mc_eid=563cffac3d | |
// Add css separately. | |
add_action( 'post_submitbox_misc_actions', 'MYSITE_post_page_metabox' ); | |
function MYSITE_post_page_metabox() { | |
global $post; | |
switch ( $post->post_type ) { | |
case 'post_type_shows': | |
$count = get_post_meta( $post->ID, 'shows_char_count', true ); | |
?><div class="misc-pub-section MYSITE misc-pub-MYSITE"> |
git clone --recursive http://github.com/BostonGlobe/Primary-Vagrant.git | |
// if you forget the recursive | |
git submodule init | |
git submodule update | |
git remote add original http://github.com/ChrisWiegman/Primary-Vagrant.git | |
git pull original dev | |
git status | |
git push origin dev |
var path = require('path'); | |
// var pathToSassLodader | |
module.exports = { | |
entry: "./public/css/styles.scss", | |
module: { | |
loaders: [ |
// Array keys will become keys in querystring. | |
$params['key1'] = isset( $_GET['firstkey'] ) ? $_GET['firstkey'] : 'string'; | |
$params['key2'] = isset( $_GET['secondkey'] ) ? $_GET['secondkey'] : 'string'; | |
$params['key3'] = isset( $_GET['thirdkey'] ) ? $_GET['thirdkey'] : '1'; | |
$params['key4'] = isset( $_GET['fourthkey'] ) ? $_GET['fourthkey'] : true; | |
// Prepare Querystring key/value pairs then reduce to proper querystring | |
$params = array_map( array( $this, 'prep_qs' ), array_keys( $params ), $params ); | |
$qs = array_reduce( $params, array( $this, 'reduce_to_qs' ) ); |
AL | |
AK | |
AS | |
AZ | |
AR | |
CA | |
CO | |
CT | |
DE | |
DC |
# Install zBarcode Dependencies | |
# Anything you would normally use apt-get, use this syntax | |
package { 'php5-imagick': | |
ensure => 'installed' | |
} | |
package { 'libmagickwand-dev': | |
ensure => 'installed' | |
} | |
package { 'libmagickcore-dev': | |
ensure => 'installed' |