Skip to content

Instantly share code, notes, and snippets.

View lukecav's full-sized avatar
Infinite data generation engine

Luke Cavanagh lukecav

Infinite data generation engine
View GitHub Profile
@lukecav
lukecav / Commands
Created May 1, 2022 22:57
Update Craft CMS from console
php craft update
php craft update all
@lukecav
lukecav / Commands
Created May 1, 2022 22:54
Updating ExpressionEngine using EECLI
php eecli.php update
@lukecav
lukecav / Command
Created May 1, 2022 22:53
Update Drupal 9 using Composer
composer update drupal/core-recommended --with-dependencies
@lukecav
lukecav / Links
Created April 29, 2022 17:04
Site24x7 Prometheus Integration
@lukecav
lukecav / wp-config.php
Created April 28, 2022 19:22
Remove invalid text on target site used for WP Migrate migration
define( 'WPMDB_STRIP_INVALID_TEXT', true );
@lukecav
lukecav / functions.php
Created April 28, 2022 17:27
Disable admin email verification prompts in WordPress
add_filter( 'admin_email_check_interval', '__return_false' );
@lukecav
lukecav / functions.php
Last active April 28, 2022 17:22
Disable DNS prefetch links on the front-end in WordPress
remove_action( 'wp_head', 'wp_resource_hints', 2 );
@lukecav
lukecav / Links
Last active April 27, 2022 15:17
cPanel suspend an account
@lukecav
lukecav / functions.php
Created April 26, 2022 15:43
Disable lazy loading in WordPress
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
@lukecav
lukecav / Link
Created April 20, 2022 16:43
Configuring caching plugins with Growmatik