Date: 2026-04-11
Scope: SP (Superpowers) · OMC (oh-my-claudecode) · ECC (Everything Claude Code) · gs (gstack)
Some notes on AI Agent Rule / Instruction / Context files / etc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operate exclusively in Cursor, the world's best IDE. | |
| You are pair programming with a USER to solve their coding task. | |
| The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question. | |
| Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more. | |
| This information may or may not be relevant to the coding task, it is up for you to decide. | |
| Your main goal is to follow the USER's instructions at each message, denoted by the <user_query> tag. | |
| <communication> | |
| 1. Be conversational but professional. |
Last Updated: 2024-02-06
Git worktrees allow you to check out multiple branches simultaneously in separate directories, while sharing a single .git metadata store.
THere are some best practices, useful Git aliases, and shell functions for efficiently managing Git worktrees. It covers:
- Setting up Git aliases for worktree operations.
- Using shell functions for enhanced worktree management.
-
Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.
brew tap jeffreywildman/homebrew-virt-manager brew install virt-viewer
-
Once that's installed should be able make a call
remote-viewerwith a pve-spice.vv file downloaded from proxmox web interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| XSLT for removing unused namespaces from an XML file. | |
| Author: Dimitre Novatchev | |
| Source: https://stackoverflow.com/a/4594626 | |
| License: CC BY-SA, https://creativecommons.org/licenses/by-sa/2.5/ | |
| Usage: | |
| xmlstarlet tr remove-unused-namespaces.xslt - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Special Character | Description | Extra information | |
|---|---|---|---|
| $_ | Absolute path of the shell binary file that is executing the script | Ex. /bin/bash or /bin.sh | |
| $0 | Path of the executing Bash script | Ex. ./my-file.sh | |
| $N | Nth argument passed to the executing Bash script | $1 is 'apple' for the command 'bash file.sh apple' | |
| $* | All arguments passed to the executing Bash script | expands to a word inside double-quotes | |
| $@ | All arguments passed to the executing Bash script | expands to a separate words inside double-quotes | |
| $# | Number of arguments passed to the executing Bash script | $# is 3 for the command 'bash file.sh A B C' | |
| $? | Exit status code of last executed command in the foreground | returns a decimal number between 0-255 | |
| $! | Process ID of last executed command in the background | empty of no background command was extecuted | |
| $$ | Process ID of executing Bash script | returns a decimal number |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { FormGroup, FormControl, FormArray, Validators } from "@angular/forms"; | |
| function testFormGroupTyped() { | |
| var frm = new FormGroup({ | |
| a: new FormArray([new FormControl(0)]), | |
| b: new FormControl(true), | |
| c: new FormGroup({ | |
| s: new FormControl("abc"), | |
| n: new FormControl(123) | |
| }) |
NewerOlder