Skip to content

Instantly share code, notes, and snippets.

View initcron's full-sized avatar

Gourav J. Shah initcron

View GitHub Profile
@initcron
initcron / mcp.json
Created September 22, 2025 10:00
add this to .vscode/mcp.json
{
"servers": {
"mcp-gw": {
"type": "stdio",
"command": "docker",
"args": [
"mcp",
"gateway",
"run"
]
#!/bin/bash
echo "🔍 Docker AI Workshop - Environment Check"
echo "========================================"
echo "1. Docker:"
docker --version && echo "✅ Docker OK" || echo "❌ Docker FAILED"
echo "2. Docker Compose:"
docker compose version && echo "✅ Compose OK" || echo "❌ Compose FAILED"
@initcron
initcron / Dockerfile
Created September 22, 2025 02:45
Devcontainer Dockerfile
# DevContainer Dockerfile for Multi-Agent Assistant
FROM mcr.microsoft.com/vscode/devcontainers/python:3.11
# Use noninteractive apt to avoid debconf TTY issues
ENV DEBIAN_FRONTEND=noninteractive
# Install Node.js 22.x (meets engines >=22.9) via NodeSource
RUN apt-get update && \
apt-get install -y curl ca-certificates gnupg && \
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
{
"name": "Multi-Agent Assistant DevContainer",
"dockerFile": "Dockerfile",
"workspaceFolder": "/workspaces/multi-agent-assistant",
"forwardPorts": [8000, 3000],
"postCreateCommand": "pip install --upgrade pip && cd backend && pip install -r requirements.txt && cd ../frontend && npm install",
"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "/usr/local/bin/python3.11",
@initcron
initcron / SECURITY.md
Created September 21, 2025 09:23
Security Policy for Tech Stack Advisor Project

Security Policy

Vulnerability Scanning

This project uses automated security scanning as part of our CI/CD pipeline to ensure container images are free from known vulnerabilities.

Scanning Tools

  • Trivy: Primary vulnerability scanner for container images
  • SBOM Generation: Software Bill of Materials for supply chain transparency
@initcron
initcron / gha_goose_groq.yaml
Created September 21, 2025 07:07
GHA Code with Goose based PR Review - Groq Provider
name: Goose
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
@initcron
initcron / gha_goose_gemini.yaml
Created September 21, 2025 07:06
GHA Code for Goose based PR - Google Gemini Provider
name: Goose
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
@initcron
initcron / awx.md
Last active September 15, 2025 17:56
mkdir awx-op
cd awx-op

File: kind.config

@initcron
initcron / apache2.conf
Created September 15, 2025 02:45
Sample apache conf on ubuntu at /etc/apache2/apache2.conf
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.4/ for detailed information about
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific
# hints.
#
#
# Summary of how the Apache 2 configuration works in Debian:
# The Apache 2 web server configuration in Debian is quite different to
# upstream's suggested way to configure the web server. This is because Debian's
@initcron
initcron / prod
Created September 14, 2025 23:46
environments/prod
[local]
localhost ansible_connection=local
[lb]
lb ansible_host=localhost ansible_port=2220 ansible_password=codespaces ansible_python_interpreter=/usr/bin/python3
[app]
app1 ansible_host=localhost ansible_port=2221 ansible_password=codespaces
app2 ansible_host=localhost ansible_port=2222 ansible_password=codespaces