Skip to content

Instantly share code, notes, and snippets.

View gilzow's full-sized avatar

Paul Gilzow gilzow

View GitHub Profile
@gilzow
gilzow / console
Last active September 14, 2021 12:11
Console out from backstop ref+test via backstop --docker
╰─ backstop reference --docker
BackstopJS v5.3.0
Loading config: /Users/gilzowp/Documents/work/test/backstop-debug/backstop.json
COMMAND | Executing core for "reference"
Delegating command to Docker... docker run --rm -it --mount type=bind,source="/Users/gilzowp/Documents/work/test/backstop-debug",target=/src backstopjs/backstopjs:5.3.0 reference "--moby"
BackstopJS v5.3.0
Loading config: /src/backstop.json
COMMAND | Executing core for "reference"
@gilzow
gilzow / gist:0ee8ab6ef40fb71f8e6a3beee655c45b
Created April 16, 2021 19:36
Console output from second run inside Docker
root@0acda0b4cf61:/src# backstop reference
BackstopJS v5.3.0
Loading config: /src/backstop.json
COMMAND | Executing core for "reference"
(node:22986) ExperimentalWarning: The fs.promises API is experimental
clean | backstop_data/bitmaps_reference was cleaned.
createBitmaps | Selected 5 of 5 scenarios.
CREATING NEW REFERENCE FILE
Cookie state restored with: []
@gilzow
gilzow / console
Created April 16, 2021 19:30
Console Output, run locally, but no errors!
╰─ backstop reference
BackstopJS v5.3.0
Loading config: /Users/gilzowp/Documents/work/test/backstop-debug/backstop.json
COMMAND | Executing core for "reference"
clean | backstop_data/bitmaps_reference was cleaned.
createBitmaps | Selected 5 of 5 scenarios.
CREATING NEW REFERENCE FILE
Cookie state restored with: []
CREATING NEW REFERENCE FILE
@gilzow
gilzow / console
Created April 16, 2021 19:28
Console Output Inside Docker with Failures
root@0acda0b4cf61:/src# backstop reference
BackstopJS v5.3.0
Loading config: /src/backstop.json
COMMAND | Executing core for "reference"
(node:21018) ExperimentalWarning: The fs.promises API is experimental
clean | backstop_data/bitmaps_reference was cleaned.
createBitmaps | Selected 5 of 5 scenarios.
CREATING NEW REFERENCE FILE
Cookie state restored with: []
{
"id": "backstop_default",
"viewports": [
{
"label": "phone",
"width": 320,
"height": 480
},
{
"label": "desktop",
@gilzow
gilzow / post_grid_filters.php
Created August 20, 2019 13:05
referenced post_grid_filters code
<?php
/*
Element Description: VC Post Grid Filters
*/
// Element Class
class vcpostgridfilters extends WPBakeryShortCode
{
// Element Init
@gilzow
gilzow / blockquote.php
Created August 20, 2019 13:04
referenced blockquotes code
<?php
/*
Element Description: VC Info Box
*/
// Element Class
class vcblockquote extends WPBakeryShortCode {
// Element Init
function __construct() {
@gilzow
gilzow / breadcrumb.php
Created August 20, 2019 13:03
referenced breadcrumb code vc_templates/breadcrumb.php
<?php
/*
Element Description: VC Info Box
*/
// Element Class
class vcbreadcrumbs extends WPBakeryShortCode {
// Element Init
function __construct() {
@gilzow
gilzow / custom.php
Created August 20, 2019 13:02
vc_before_init hook
<?php
add_action('vc_before_init', 'vc_before_init_actions');
function vc_before_init_actions()
{
require_once(get_template_directory() . '/vc_templates/breadcrumb.php');
require_once(get_template_directory() . '/vc_templates/blockquote.php');
require_once(get_template_directory() . '/vc_templates/post_grid_filters.php');
}
{#
*
*
* @package WordPress
* @subpackage
* @category theme
* @category view
* @author Paul Gilzow, Mizzou Creative, University of Missouri
* @copyright 2016 Curators of the University of Missouri
#}