Skip to content

Instantly share code, notes, and snippets.

@johnbillion
johnbillion / install-debug-bar-extensions.sh
Last active December 27, 2024 21:41
Use WP-CLI to install a load of Debug Bar extensions (which work with Query Monitor too) in one go
# wp-cli: http://wp-cli.org/
wp plugin search debug-bar --field=slug --format=csv --per-page=50 \
| grep -F 'debug-bar-' \
| xargs -n 1 wp plugin install
@johnbillion
johnbillion / roles.sh
Created November 22, 2017 00:19
Create a user account for each role on your WordPress site
# wp-cli: http://wp-cli.org/
wp role list --fields=role --format=csv \
| tail -n +2 \
| xargs -I {} wp user create "user-{}" "{}@example.com" --role={}
<?php
namespace Foo\Blocks;
/**
* Generic block rendering callback function to load a block from a theme template part.
*
* Loads a block from the `blocks` subdirectory according to the name of the block, and places the
* block attributes and block content into namespaced query vars. If there's no corresponding block
* template part, the block content is returned unaltered.
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
atomic-blocks
caxton
coming-soon-blocks
cosmic-blocks
drop-shadow-boxes
ecwid-shopping-cart
editor-blocks
elegant-blocks
embedpress
enhanced-blocks
@johnbillion
johnbillion / gist:0c75d86169373041259f8af802ec06a6
Created July 21, 2020 22:23
BMW E39 M5 (MSS52) INPA error codes
1 Fuel Pump Relay
2 Idle Speed Actuator- Closing Coil
3 Fuel Injector Cyl 1
4 Fuel Injector Cyl 3
5 Fuel Injector Cyl 2
7 Intake Cam Position Sensor Bank 1
8 Intake Cam Position Sensor Bank 2
9 Knock Sensor- Cyl 1-2
10 Exhaust Cam Position Sensor Bank 1
@johnbillion
johnbillion / docker-compose.override.yml
Last active August 28, 2025 12:27
XHProf and Buggregator for WordPress core development
services:
buggregator:
image: ghcr.io/buggregator/server:latest
ports:
- 127.0.0.1:8000:8000
- 127.0.0.1:1025:1025
- 127.0.0.1:9912:9912
- 127.0.0.1:9913:9913
networks:

GitHub Actions Security Tools Comparison

This document was generated by an AI powered coding agent and provides a comparison of GitHub Actions workflow file linting tools.

Tools Overview

  • Actionlint: Static checker for GitHub Actions workflow files with syntax validation and best practices
  • Poutine: Supply chain security scanner for detecting risks in CI/CD pipelines
  • Octoscan: Security scanner for GitHub Actions workflows focusing on vulnerability detection
  • Zizmor: Security audit tool for GitHub Actions workflows