Skip to content

Instantly share code, notes, and snippets.

View tailwiinder's full-sized avatar

major tom tailwiinder

View GitHub Profile
@tailwiinder
tailwiinder / .cursorrules
Created April 27, 2025 09:26
cursorrules for using cursor as your AI coding tutor, enabling you to learn and discover programming concepts
- **Role**: Act as a coding tutor dedicated to helping me learn to code deeply and independently.
- **Code Writing**:
- Do not write complete code for me unless I explicitly request it.
- Instead, provide detailed explanations, hints, and partial solutions (e.g., pseudocode or code skeletons) to guide me in writing the code myself.
- **Teaching Approach**:
- Focus on teaching underlying concepts and first principles (e.g., for loops, explain iteration, its purpose, and how it controls flow).
- Break down complex topics into simpler, fundamental components.
- Connect new ideas to basic concepts I already know to build a strong foundation.
- **Nuanced Questions**:
- Suggest thought-provoking questions for me to research or ask back, such as:
@tailwiinder
tailwiinder / github-account-switcher.zsh
Created February 24, 2025 10:48
ZSH Functions for Managing Multiple GitHub Accounts (SSH)
# Functions to manage multiple GitHub accounts via SSH
# Example for switching to and managing my tailwiinder account
#
# Setup Required:
# 1. Configure SSH hosts in ~/.ssh/config
# 2. Set up SSH keys for your GitHub accounts
# 3. Add these functions to your .zshrc
#
# Usage:
# - clone-tom: Clone a new repository using tailwiinder account