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
commitm() { | |
local system_prompt='Based on these changes, suggest a concise commit message, ideally less than 5 words:' | |
local execute_commit=false | |
local git_output_temp_file=$(mktemp) | |
local commit_message_temp_file=$(mktemp) | |
local cleaned_up=false # Flag to indicate whether cleanup has been run | |
# Check for the execute flag (-e) | |
if [[ "$1" == "--execute" ]] || [[ "$1" == "-e" ]]; then | |
execute_commit=true |
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
# Slack Block Kit Cheatsheet | |
This is a cheatsheat for the [Block Kit API](https://api.slack.com/block-kit), great for referencing when wireframing out Slack interactions. | |
## Values to know | |
### Surfaces | |
- [50 blocks per message](https://api.slack.com/reference/block-kit/blocks#:~:text=You%20can%20include%20up%20to,in%20modals%20or%20home%20tabs.) | |
- [100 blocks per modal or in the home tab](https://api.slack.com/reference/block-kit/blocks#:~:text=You%20can%20include%20up%20to,in%20modals%20or%20home%20tabs.) |