Last update: 30-01-2024
Last view: 30-01-2024
Go to your work folder, mine is located at:
F:/Work/EnterpriseName/
And then create a .gitconfig-work with the following data:
This guide will walk you through the process of installing the 1Password Command Line Interface (CLI) on a Windows system and setting up an alias for it in the Windows Subsystem for Linux (WSL) using Zsh.
This guide demonstrates how to combine multiple commits into a single commit using Git's interactive rebase feature.
Squashing commits is useful when you want to:
| <?php | |
| namespace Valet\Drivers\Custom; | |
| use Valet\Drivers\ValetDriver; | |
| class PrestaShopValetDriver extends ValetDriver | |
| { | |
| /** | |
| * Determine if the driver serves the request. |
Analyze this codebase to generate or update .github/copilot-instructions.md for guiding AI coding agents.
Focus on discovering the essential knowledge that would help an AI agents be immediately productive in this codebase. Consider aspects like:
Source existing AI conventions from **/{.github/copilot-instructions.md,AGENT.md,AGENTS.md,CLAUDE.md,.cursorrules,.windsurfrules,.clinerules,.cursor/rules/**,.windsurf/rules/**,.clinerules/**,README.md} (do one glob search).
The Model Context Protocol (MCP) in VS Code provides external tools and data sources to enhance Copilot's capabilities.
Key MCP Servers:
| // More comprehensive check with visual highlighting | |
| function findNestedButtons() { | |
| const allButtons = document.querySelectorAll('button'); | |
| const issues = []; | |
| allButtons.forEach(button => { | |
| const nestedButtons = button.querySelectorAll('button'); | |
| if (nestedButtons.length > 0) { | |
| issues.push({ | |
| parentButton: button, |