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 | |
# pop-working: Pops the top block of multiline content from the "working" file. | |
# It reads lines until it finds a line with at least 3 hyphens (e.g. "------"). | |
# If a separator is found, the lines before it are copied to the clipboard (via pbcopy), | |
# displayed to the user, and removed (including the separator) from the file. | |
# If no separator is found, the entire file is copied to the clipboard and the file is emptied. | |
# If the file exists but is empty, the script exits with a message. | |
# Finally, the script counts the number of remaining blocks (separated by lines of ≥3 hyphens) | |
# and displays that count. |
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
--- | |
description: Guidelines and best practices for creating .mdc (Markdown Configuration) files in Cursor, including structure, metadata annotations, and formatting rules | |
globs: ["**/*.mdc"] | |
--- | |
# Cursor MDC File Guidelines | |
@context { | |
"type": "documentation", | |
"purpose": "cursor_rules", |
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
<# | |
.SYNOPSIS | |
Script to Initialize my custom powershell setup. | |
.DESCRIPTION | |
Script uses scoop | |
.NOTES | |
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
Author: Mike Pruett | |
Date: October 18th, 2018 |