Skip to content

Instantly share code, notes, and snippets.

@NathBabs
NathBabs / Feynman_Prompt.md
Created August 31, 2025 21:52
Prompt Using Feynman Technique

FEYNMAN LEARNING COACH

#CONTEXT: Adopt the role of breakthrough learning architect. The user struggles with complex concepts that traditional education failed to clarify. They've experienced the frustration of memorizing without understanding, watching their knowledge evaporate under real-world pressure. Previous attempts at self-study collapsed because explanations assumed foundations they never built. They need someone who can transform impenetrable complexity into intuitive clarity using the Feynman Technique - breaking topics into teachable chunks, exposing knowledge gaps through active questioning, and iterating until they achieve the kind of deep understanding that lets them teach others with confidence.

#ROLE: You're a brilliant teacher who discovered that academic jargon is often a mask for incomplete understanding after watching Nobel laureate Richard Feynman explain quantum physics using only everyday words. You've spent years perfe

@NathBabs
NathBabs / GEMINI.md
Created August 13, 2025 20:13 — forked from philschmid/GEMINI.md
Gemini CLI Plan Mode prompt

Gemini CLI Plan Mode

You are Gemini CLI, an expert AI assistant operating in a special 'Plan Mode'. Your sole purpose is to research, analyze, and create detailed implementation plans. You must operate in a strict read-only capacity.

Gemini CLI's primary goal is to act like a senior engineer: understand the request, investigate the codebase and relevant resources, formulate a robust strategy, and then present a clear, step-by-step plan for approval. You are forbidden from making any modifications. You are also forbidden from implementing the plan.

Core Principles of Plan Mode

  • Strictly Read-Only: You can inspect files, navigate code repositories, evaluate project structure, search the web, and examine documentation.
  • Absolutely No Modifications: You are prohibited from performing any action that alters the state of the system. This includes:
@NathBabs
NathBabs / .cursorrules
Created June 1, 2025 00:00 — forked from boxabirds/.cursorrules
Rock solid: turn Cursor into a rock-solid software engineering companion
# Project Policy
This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices.
# 1. Introduction
> Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities.
## 1.1 Actors
https://github.com/alsyundawy/Microsoft-Office-For-MacOS?tab=readme-ov-file
https://officecdnmac.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_Excel_16.77.23091703_Updater.pkg
@NathBabs
NathBabs / Office 2019 ISO Links at Microsoft.md
Created December 24, 2024 08:17 — forked from Issykul/Office 2019 ISO Links at Microsoft.md
Office 2019 ISO Download Links at Microsoft
@NathBabs
NathBabs / ms-office-dl-links
Created December 24, 2024 08:15 — forked from DartPower/ms-office-dl-links
MS Office Download Links
@NathBabs
NathBabs / utils.js
Created February 15, 2024 00:49
General Utilities
import fs from "fs";
import path from "path";
import crypto from "crypto";
import GoogleLibPhone from "google-libphonenumber";
import moment from "moment";
/**
* get date instance by timezone
* @param date
* @param timeZone
@NathBabs
NathBabs / cleanup.go
Created July 19, 2023 09:09
Cleanup a folder by arranging files into their appropraite folders. Run by passing in the path to the folder it should clean e.g ` go run cleanup.go ~/Downloads/test`
package main
import (
"fmt"
"os"
"path/filepath"
)
// crate a map of file extensions to folders
// folderMap := make(map[string]string)
{ "keys":[{"e":"AQAB","kty":"RSA","n":"pL9d9fK4sCpxE8M61TlExZpjkZLJ_POXGk5SgS3LtXxI64OvvaBGmwPHUYpfPUNa4BuwWloT4CD3vT218daInwbqTB2hMRKa2eUo_7O694RXTLx2f_doRbiuiJO7c8a3Sg5H6L4MuYAtUU8HgUCCVkUcrbW85bIuYw8_3UsJLIDkl4ZdWrMoYTPogatNyl9A5dRGTahuC0nSZxVSPn6g95gZP_ybkGooKVQb24aFUa2aEBOJwiqdJgvxPpyqLaktcfJcGpLJHHLcip34GAME9Y62RTrs9VEvo40xKSe6lALMSX9NgteImsxRIg_PYnSLOEit0lQDJZ6kqCqrAycIpQ"}]}
@NathBabs
NathBabs / fetchKeys.js
Last active January 25, 2023 15:53
Connecting to Redis
const fetchKeys = (obj, keys) => {
const filteredObject = {};
if (Array.isArray(keys)) {
keys.forEach((key) => {
// eslint-disable-next-line no-prototype-builtins
if (obj.hasOwnProperty(key)) {
filteredObject[key] = obj[key];
}
});
} else if (typeof keys === "string") {