Skip to content

Instantly share code, notes, and snippets.

View lukecav's full-sized avatar
Translucent form radiates

Luke Cavanagh lukecav

Translucent form radiates
View GitHub Profile
@lukecav
lukecav / Prompt examples
Last active October 4, 2023 00:37
DALLE-3 - Prompt Examples
Prompts
cinemaitc movie still of
cinematic scene of, ultra realistic, high-quality photos, UHD, 8k uhd, 32k uhd
Ratios
Wide 1792 x 1024 pixels
Square 1024 x 1024
Talk 1024 x 1792
@lukecav
lukecav / robots.txt
Created September 29, 2023 20:58
Disallow Google Extended for site content being included in AI training (Bard and Vertex AI generative APIs)
User-agent: Google-Extended
Disallow: /
@lukecav
lukecav / functions.php
Created September 26, 2023 18:14
Disable the after payment action for email notification to remove any delay in sending in EDD
add_filter( 'edd_use_after_payment_actions', '__return_false' );
@lukecav
lukecav / Prompts
Last active December 22, 2023 21:19
DALL-E Prompts - Cinematic
Cinematic cameras
Captured by (camera)
Sony cinealta
Cannon cinema eos
Phantom high speed camera
Arri Alexa
Arri Alexa 35
Super-16
@lukecav
lukecav / Cron events
Created September 1, 2023 17:04
EWWW Image Optimizer plugin cron events
wp_ewwwio_image_optimize_cron
ewww_image_optimizer_auto
@lukecav
lukecav / Prompt examples
Last active February 8, 2024 04:57
Stable Diffusion XL Prompt examples
Cinematic images
detailed textures, sharp focus, ultra-high pixel detail, intricate, realistic, movie scene, cinematic, high-quality, full colors, incredibly detailed, 4k, 8k, 16k, hyper-realistic, RAW photo, masterpiece, ultra-detailed, professionally color graded, professional photography
cinematic, cinematic lighting, 8K raw photo, best quality, masterpiece, ultra high res, realistic, photography, digital painting, vibrant, intricate details, high-definition, detailed, sharp focus, 8k uhd
Lens Types
Wide-angle lens
Telephoto lens
@lukecav
lukecav / robots.txt
Created August 7, 2023 20:15
Disallowing GPTBot from OpenAI on your site
User-agent: GPTBot
Disallow: /
@lukecav
lukecav / wc_auto_complete_virtual.php
Created August 4, 2023 13:51 — forked from jessepearson/wc_auto_complete_virtual.php
Auto Complete all WooCommerce virtual orders
<?php // only copy this line if needed
/**
* Auto Complete all WooCommerce virtual orders.
*
* @param int $order_id The order ID to check
* @return void
*/
function custom_woocommerce_auto_complete_virtual_orders( $order_id ) {
@lukecav
lukecav / Command
Created July 27, 2023 18:50
Dismiss all notices in the Really Simple SSL plugin from WP-CLI command
wp rsssl update_option --dismiss_all_notices=true
@lukecav
lukecav / Commands
Created July 17, 2023 16:42
Stop all on-demand scanning tasks in Immunify360
imunify360-agent malware on-demand stop --all
imunify360-agent malware on-demand list