Skip to content

Instantly share code, notes, and snippets.

View abubaker417's full-sized avatar
🎯
Focusing

AbuBaker abubaker417

🎯
Focusing
View GitHub Profile

CMD ["gunicorn", "main:app", "-k", "uvicorn.workers.UvicornWorker", "-w", "3", "-b", "0.0.0.0:8000"] AWSApplicationAutoscalingECSServicePolicy

🧾 1. Is ChromaDB modified at runtime?

β€œDoes the chatbot service add/update embeddings during user requests?”

If answer is: ❌ NO β†’ safe

@abubaker417
abubaker417 / ECS.md
Last active April 5, 2026 18:42
Elastic Container Service
@abubaker417
abubaker417 / route53.md
Last active April 4, 2026 18:50
How to Set Up Route 53 with GoDaddy Domain

Step 1 β€” Create Hosted Zone in Route 53:

Go to Route 53 β†’ Hosted Zones β†’ Create Hosted Zone Enter your domain e.g. yourcompany.com AWS gives you 4 nameservers like:

ns-123.awsdns-45.com ns-456.awsdns-67.net ns-789.awsdns-89.org ns-012.awsdns-34.co.uk

  1. Give permission to user

    1. AWS Managed Policy: AWSLambda_FullAccess
    2. AWS Managed Policy: AmazonEventBridgeFullAccess
    3. AWS Managed Policy: CloudWatchLogsFullAccess
    
  2. Create a Lambda Execution Role => Name => lambda-ec2-start-stop-role

<!DOCTYPE html>
<html>
<head>
<title>Register</title>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.19/css/intlTelInput.css" />
<style>
/* optional: make input wider for country flag */
#phone {
width: 250px;

πŸ“‹ Complete Laravel Docker Setup Guide

πŸ—‚οΈ Project Structure your-laravel-project/ β”œβ”€β”€ .dockerignore β”œβ”€β”€ Dockerfile β”œβ”€β”€ docker-compose.yml # Dev/QA β”œβ”€β”€ docker-compose.prod.yml # Production (local storage) β”œβ”€β”€ docker-compose.prod-s3.yml # Production (with S3) β”œβ”€β”€ .env.example

@abubaker417
abubaker417 / ollama-setup.md
Last active February 10, 2026 19:28
Ollama

Option 1: Use with Ollama (easiest for local setup):

First, install and run Ollama:

# Install Ollama (if not already installed)
curl -fsSL https://ollama.com/install.sh | sh

# Start Ollama and pull a model
ollama serve &

AWS Production Deployment Guide for Laravel with Docker πŸš€

Complete Step-by-Step Setup

This guide will help you deploy your Laravel project with Docker on AWS using production-level security practices.


Overview - What We'll Build

## πŸ”Ή Vim Modes (most important concept)
- `i` β†’ Insert mode (start typing)
- `Esc` β†’ Back to Normal mode (always your safe key)
- `:` β†’ Command mode
- `v` β†’ Visual mode (select text)
------
## πŸ”Ή File Commands