scrap / legacy-tools-wheel-of-vomit-and-slack-export

Legacy Tools — Wheel of VOMIT & Slack Export

The Wheel of VOMIT

import random

def wheel_of_vomit():
    # Define the prompts for each category
    prompts = {
        'Vent': [
	          "What makes me angry is...", 
              "What's frustrating me right now is...", 
              "I feel overwhelmed by..."
        ],
        'Obligations': [
		      "List every task you need to do, no matter how small.", 
              "What are your top three priorities right now?", 
              "What obligations are weighing on you the most?"],
        'Mindset': [
	          "How is this the best thing that has ever happened to me?", 
              "I am [desired identity] because...", 
              "List three things you're grateful for today."
        ],
        'Ideate': [
              "Set a timer for 5 minutes and write down 30 ideas on [topic].", 
              "How would [person/organization] solve this problem?", 
              "What question do you need answering? Write it down before bed."
        ],
        'Trajectory': [
              "Are your daily actions moving you closer to your goals?", 
              "What excited me today? What drained me of energy? What did I learn?", 
              "Looking at your current trajectory, what needs to change?"
        ]
    }

    # Randomly select a category
    category = random.choice(list(prompts.keys()))

    # Randomly select a prompt from the chosen category
    prompt = random.choice(prompts[category])

    return category, prompt

# Generate and print a random VOMIT journaling prompt
category, prompt = wheel_of_vomit()
print(f"Category: {category}\nPrompt: {prompt}")

Export to Slack

cd /Users/ignacio.alvarez/Personal/second_brain
keyword="what i learned"
note=$(find @vault_path -type f -iname "*$keyword*")
/usr/local/bin/pandoc --to=markdown $note -o output.md
date +"%Y-%m-%d %T"