Whenever you feel something isn't working as expected, clear the cache.
- Quit out of Teams completely.
- Navigate to ~/Library/Application Support/Microsoft.
- Right-click the Teams folder then select Move to Trash.
- Navigate to Keychain Access.
| #!/bin/bash | |
| # Simple hook to process trailing options | |
| input=$(cat) | |
| # Check if there are options at the end of prompt | |
| if echo "$input" | grep -q '"prompt".*-[a-z]\+"'; then | |
| # Extract just the options part (e.g., "-uj" -> "uj") | |
| options=$(echo "$input" | grep -o '\-[a-z]\+"' | tail -1 | sed 's/-//' | sed 's/"//') |
| #!/bin/bash | |
| # Enhanced notify-slack.sh that handles both Notification and Stop hooks | |
| # Replace YOUR_WEBHOOK_URL with your actual Slack webhook URL | |
| # Slack Webhook URL (replace with your actual URL) | |
| WEBHOOK_URL="YOUR/WEBHOOK/URL" | |
| # Check if webhook URL has been updated | |
| if [[ "$WEBHOOK_URL" == *"YOUR/WEBHOOK/URL"* ]]; then |
nvmNode.js| type Member = { | |
| id: string; | |
| firstName: string; | |
| lastName: string; | |
| age: number; | |
| salary: number; | |
| }; | |
| for (const field of ['firstName', 'lastName', 'age', 'salary'] as Array< | |
| keyof Member |
Lambda Permission for API Gateway in Terraform
resource "aws_api_gateway_rest_api" "MyDemoAPI" {| // --------------EDIT REQUIRED START--------------------- | |
| // Trello | |
| var TRELLO_USERNAME = "<USERNAME>";// enter your trello username | |
| var TRELLO_KEY = "<TRELLO KEY>";// enter your trello key | |
| var TRELLO_TOKEN = "<TRELLO TOKEN>";// enter your trello token | |
| var TRELLO_BOARD_NAME = "<TRELLO BOARD NAME>"; // enter your trello board name | |
| var TRELLO_LIST_NAME = "<TRELLO LIST NAME>"; // enter your trello list name | |
| // Slack | |
| var SLACK_WEBHOOK_URL = '<SLACK WEBHOOK URL>'; // enter your slack webhook url |