Skip to content

Instantly share code, notes, and snippets.

View jeffpaul's full-sized avatar
🌊
at work, but dreaming of the beach

Jeffrey Paul jeffpaul

🌊
at work, but dreaming of the beach
View GitHub Profile
@alanbsmith
alanbsmith / peach-thyme-bourbon-infusion.md
Created August 27, 2021 23:59
Peach Thyme Bourbon Cocktail 🥃

Peach Thyme Bourbon Cocktail

Infusion

Ingredients

  • 2 cups high-proof bourbon (I like Knob Creek)
  • 1 peach
  • a few small fresh thyme sprigs
@lynt-smitka
lynt-smitka / lynt-installer-security.php
Last active September 1, 2022 20:17
This MU plugin blocks attempts to install WP to remote databases. https://smitka.me/2022/07/01/wordpress-installer-attack-race/
<?php
/**
* Plugin Name: Lynt WP Installer Security PoC1
* Author: Vladimir Smitka
* Author URI: https://lynt.cz/
* License: GNU General Public License v3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
if ( defined( 'WP_SETUP_CONFIG' ) && !empty( $_POST['dbhost'] ) ) {
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active August 23, 2025 10:42
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
<?php
/**
* Plugin Name: Speculative Loading: Eagerly Prerender First Post in Archive Loop
* Plugin URI: https://gist.github.com/westonruter/78c0640fb108e2e94e7b0a536e9a9140
* Description: For templates that list out one or more posts (i.e. blog index, archives, search results), eagerly prerender the first post in The Loop since it is the most likely link the user will visit.
* Requires at least: 5.7
* Requires PHP: 7.2
* Version: 0.1.0
* Author: Weston Ruter
* Author URI: https://weston.ruter.net/
<?php
/**
* Plugin Name: Speculative Loading: Eagerly Prerender Homepage from Singular Template
* Plugin URI: https://gist.github.com/westonruter/eb51e56c7e92f3cd6e3088eb87d9ce07
* Description: When viewing a singular post or page, eagerly prerender the homepage so that navigating there will be instant.
* Requires at least: 5.7
* Requires PHP: 7.2
* Version: 0.1.0
* Author: Weston Ruter
* Author URI: https://weston.ruter.net/
@kasparsd
kasparsd / readme.md
Last active June 13, 2025 14:26
WordPress handbooks as a single markdown file for LLMs (source https://developer.wordpress.org)