Skip to content

Instantly share code, notes, and snippets.

View xbalajipge's full-sized avatar
🐜
Actively Coding 👍

Balaji V (xbalajipge) xbalajipge

🐜
Actively Coding 👍
View GitHub Profile
@xbalajipge
xbalajipge / asp-ase.md
Created November 25, 2025 20:20
asp-ase.md

Azure ASP vs ASE

1. What is Azure ASP vs ASE?

ASP (App Service Plan)

An App Service Plan defines the compute resources for hosting your web apps, APIs, and functions in Azure App Service.
It determines region, VM size, scaling options, and pricing tier.
Multiple apps can share the same ASP.

@xbalajipge
xbalajipge / terraform-tfe-modules.md
Last active November 20, 2025 07:03
terraform-tfe-modules.md

xbalajipge: Describe the design of the terraform code in tfe/modules/{projects,teams,workspaces} folder; give a high level over view as bullet points, suitable for presentationn

Workspace: Collecting workspace information# High-Level Design Overview: TFE Modules

response

Based on the Terraform code in tfe/modules/{projects,teams,workspaces}, here's a presentation-ready overview:


@xbalajipge
xbalajipge / extract_chat.py
Created November 20, 2025 03:22
extract_chat.py
#! /usr/bin/env python3
import json
import argparse
from pathlib import Path
def extract_chat_to_markdown(json_file_path: str, output_file_path: str):
"""
Extract chat prompts and responses from a Copilot chat JSON file and save as markdown.
@xbalajipge
xbalajipge / terraform-on-terraform.md
Last active November 20, 2025 02:54
terraform-on-terraform.md

prompt 1

what is the purpose of the terraform code in `terraformv2` folder; give a high level over view as bullet points

response 1

Collecting workspace informationThis Terraform configuration in the terraformv2 folder is designed to manage Terraform Cloud (TFC) resources programmatically. Its primary purpose is to automate the creation and management of TFC workspaces and their associated team permissions.

Here is a high-level overview:

@xbalajipge
xbalajipge / ai-mcp-end2end.md
Last active November 8, 2025 03:47
ai-mcp-end2end.md

The Architecture of Modern AI Systems: Introducing the Model Context Protocol (MCP)

1. Foundations of AI and the Large Language Model

1.1 Defining the Core Components of Modern AI

Artificial Intelligence (AI) is the broad field of computer science dedicated to building machines that can perform tasks normally requiring human intelligence. Within this landscape, Generative AI and Large Language Models (LLMs) represent a significant leap forward.

A Large Language Model (LLM), such as Claude, GPT-4, or Llama, is a type of generative model trained on vast amounts of text data. It excels at reasoning, understanding context, generating creative text, summarizing, and translating.

@xbalajipge
xbalajipge / ai-architecture-ladder-chart.md
Last active November 8, 2025 02:33
ai-architecture-ladder-chart.md
Write mermaid code for architecture and a ladder chart showing AI communication between:
- User
- AI Client
- LLM
- MCP Server
- MCP Registry
- Multiple MCP Agents

Include:
@xbalajipge
xbalajipge / ai-gateway-notes.md
Last active October 3, 2025 06:25
ai-gateway-notes.md
 python apitest.py -m "Where is PG&E" -u "https://aws-ai-gateway.nonprod.pge.com/v1"  -M "@bedrock-aigatew-02d091/us.anthropic.claude-sonnet-4-20250514-v1:0" -s "You are a helpful assistant"
python apitest.py -m "Where is PG&E" -u "https://aws-ai-gateway.nonprod.pge.com/v1"  -M "@bedrock-aigatew-02d091/us.anthropic.claude-3-7-so
nnet-20250219-v1:0"

invoking classifer

@xbalajipge
xbalajipge / html-github-repos.html
Created June 18, 2025 05:55
html-github-repos.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub Repositories</title>
<style>
/* Generated by Copilot */
* {
margin: 0;
@xbalajipge
xbalajipge / html-pagerduty-schedule-calendar.html
Last active June 18, 2025 07:58
html-pagerduty-schedule-calendar.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PagerDuty Schedule Calendar</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<style>
@xbalajipge
xbalajipge / html-universal-stock-dashboard.html
Created June 18, 2025 05:54
html-universal-stock-dashboard.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Universal Stock Dashboard</title>
<style>
/* Generated by Copilot */
* {
margin: 0;