- AI Agent Design Patterns – Agentic Design | Agentic Design Patterns
- Awesome Agentic Patterns
- ai-agents-for-beginners | 12 Lessons to Get Started Building AI Agents
- Interactive Tutorial: Agentic Design Patterns
- Agent Patterns Documentation — Agent Patterns 0.2.0 documentation
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 | |
| # set -euo pipefail | |
| set -x | |
| sudo apt-get update && sudo apt-get install -y debootstrap qemu-utils | |
| echo "create and partition disk image..." | |
| . ./vars.sh |
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
| <# | |
| Reset-WindowsUpdate.ps1 (fixed interpolation) | |
| Run from an elevated PowerShell window. | |
| #> | |
| # --- Guard: must be admin --- | |
| if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent() | |
| ).IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)) { | |
| Write-Error "Run this script from an elevated PowerShell (Run as administrator)." | |
| exit 1 |
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
| sudo ip addr flush dev eth0 | |
| sudo ip addr add 10.1.1.1/24 dev eth0 | |
| sudo ip link set eth0 up | |
| sudo ip route add default via 10.1.1.1 |
Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.
- Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
- Select "Create new custom chat mode file"
- Select "User Data Folder"
- Give it a name (Beast Mode)
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 | |
| set -e | |
| getcosmos=$(terraform output -raw list_cosmos_container_permissions_command) | |
| echo $getcosmos | |
| $getcosmos | |
| getaks=$(terraform output -raw list_role_assignments_aks_command) | |
| echo "$getaks" | |
| eval $getaks |
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 | |
| set -epu | |
| # This script verifies that the managed identity associated with the Function App has the correct role assignment for the Cosmos SQL account. | |
| # Check if jq and az cli are installed | |
| if ! command -v jq &> /dev/null | |
| then | |
| echo "jq could not be found. Please install jq." | |
| exit |
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
| // ----------------------------------------------------------------------------- | |
| // Azure RG Janitor - Spectre Edition | |
| // Run with: dotnet run cleanup-rg.cs | |
| // Targets: .NET 10 Preview 4+ | |
| // ----------------------------------------------------------------------------- | |
| #:package Azure.Identity@1.* | |
| #:package Azure.ResourceManager@1.* | |
| #:package Spectre.Console@0.50.0 |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| #define N (1 << 21) // 2^21 | |
| void loop_stride_256(int *a) { | |
| for (int i = 0; i < N; i += 256) { | |
| a[i]++; | |
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder