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 | |
# Usage: | |
# curl -o- https://gist.githubusercontent.com/kienstra/af4f8ad4c0606343eeb09e7de117ed93/raw/84d11672958d6d5802fd2cd5cd0c35083dbb7cfc/CLI%2520Setup | bash | |
echo "Checking that git is installed…" | |
if [ "$(git --version)" ] | |
then | |
echo "git is installed, as expected" | |
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
# https://circleci.com/docs/2.0/config-intro/ | |
version: 2.1 | |
jobs: | |
test: | |
docker: | |
- image: cimg/node:16.8.0-browsers | |
steps: | |
- checkout |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "WP Plugin Jest unit tests", | |
"type": "node", | |
"request": "launch", | |
"protocol": "inspector", | |
"cwd": "${workspaceFolder}/sitio/wp-content/plugins/augmented-reality/", | |
"program": "${workspaceFolder}/sitio/wp-content/plugins/augmented-reality/node_modules/@wordpress/scripts/scripts/test-unit-jest.js", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
/** | |
* Plugin Name: Invalid AMP | |
* Description: Intentionally outputs invalid AMP. | |
*/ | |
/** | |
* Outputs a disallowed <script> for post types of 'page' only. | |
*/ | |
add_action( 'wp_print_footer_scripts', function() { |
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
.gform_wrapper ul { | |
padding-left: 0; | |
list-style: none; } | |
.gform_wrapper li { | |
margin-bottom: 15px; } | |
.gform_wrapper form { | |
margin-bottom: 0; } |