Skip to content

Instantly share code, notes, and snippets.

View hassanazam's full-sized avatar
💭
Code is Poetry

~ MHA hassanazam

💭
Code is Poetry
View GitHub Profile
@hassanazam
hassanazam / ai-engineering-team-spec.md
Created February 22, 2026 17:46
AI Engineering Team - Autonomous Software Factory Spec

AI Engineering Team — Autonomous Software Factory

A 24/7 AI-Powered Software Development Lifecycle Engine with Human-in-the-Loop

Refined by Win ⚡ & Meezan 🧠 — February 2026 Original Vision: Waqas Ahmed Ansari & Hassan


Executive Summary

@hassanazam
hassanazam / gist:82a9dc2c22ccae69cd02745b15a53ee4
Created March 11, 2022 23:27
Docker Best Practices and 101
Docker Best Practices for setting up Python based applications. [https://testdriven.io/blog/docker-best-practices/]
@hassanazam
hassanazam / _understanding_output
Last active December 8, 2019 23:56
Python Refactor Test
products:
---------
{'source': 'greedy', 'name': 'Washing Machine', 'net_price':125, 'product_id':1}
{'source': 'greedy', 'name': 'Washing Machine', 'net_price':150, 'product_id':2}
{'source': 'greedy', 'name': 'MAC Book Pro', 'net_price':1000, 'product_id':3}
Product Model
-------------
class Product(models.Model):
@hassanazam
hassanazam / curlpost.txt
Created July 23, 2018 21:13
Json POST request using cURL
curl --header "Content-Type: application/json" \
--request POST \
--data '{"username":"xyz","password":"xyz"}' \
http://localhost:3000/api/login
@hassanazam
hassanazam / dockerinstall.sh
Created July 23, 2018 20:42 — forked from wdullaer/install.sh
Install Latest Docker and Docker-compose on Ubuntu
# Ask for the user password
# Script only works if sudo caches the password for a few minutes
sudo true
# Install kernel extra's to enable docker aufs support
# sudo apt-get -y install linux-image-extra-$(uname -r)
# Add Docker PPA and install latest version
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"