Cursor / Claude / Copilot commands.
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
| #!/usr/bin/env bash | |
| [ -f test.log ] && rm -f test.log | |
| { | |
| { | |
| echo foo 1 | |
| sleep 1 | |
| echo bar 1 >&2 | |
| echo foo 2 |
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
| #!/usr/bin/env bash | |
| { | |
| echo foo 1 | |
| sleep 1 | |
| echo bar 1 >&2 | |
| echo foo 2 | |
| sleep 1 | |
| echo bar 2 >&2 | |
| } \ |
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
| #!/bin/bash | |
| # Analyzes git commit history to find ticket-related commits | |
| # Usage: ./repository-history.sh [-h COMMIT_HASH] [-t TICKET] [-a AUTHOR] [-d DAYS] | |
| # - Without arguments: Shows ticket commits from current branch (last 30 days) | |
| # - -h COMMIT_HASH: Shows ticket commits up to that hash in current branch (within specified days) | |
| # - -t TICKET: Filters results to show only commits for specific ticket (e.g., OV-12345) | |
| # - -a AUTHOR: Filters results by author name/email (case-insensitive partial match) | |
| # - -d DAYS: Number of days to look back (default: 30) | |
| # - All flags can be combined: -h HASH -t TICKET -a AUTHOR -d DAYS |
OlderNewer