💻 Coding & Development Prompts
Python, JavaScript, SQL, debugging, API
← All Categories
2 prompts
in Tools & Workflow
Git Workflow Cheat Sheet
Create a comprehensive Git cheat sheet organized by task: 1) Setup (init, clone, config), 2) Daily workflow (add, commit, push, pull), 3) Branching (create, switch, merge, delete, rename), 4) Undo mistakes (reset, revert, stash, amend), 5) Inspection (log, diff, blame, bisect), 6) Collaboration (rebase, cherry-pick, fetch vs pull), 7) Tags (create, push, delete). For each command, include the exact syntax and a one-line explanation of when to use it.
💡 Always use git stash before switching branches with uncommitted changes.
Regex Patterns Collection
Give me regex patterns for common validation tasks: 1) Email address, 2) URL (http/https), 3) Phone number (US format), 4) Date (YYYY-MM-DD), 5) IP address (IPv4), 6) Strong password (min 8, uppercase, lowercase, number, special), 7) Credit card number (basic format), 8) Hex color code, 9) Username (alphanumeric, 3-16 chars), 10) File path (Windows and Unix). For each: provide the regex, explain what each part does, and give test examples (valid and invalid).
💡 Test regex at regex101.com before using in production. Edge cases will surprise you.