Skip to content

Instantly share code, notes, and snippets.

View oazabir's full-sized avatar

Omar AL Zabir oazabir

View GitHub Profile
@oazabir
oazabir / YouTube_fetch_playlist.py
Created November 12, 2024 09:45
Python Youtube channel, playlist and video fetch
from datetime import datetime, timedelta
import time
from google.oauth2.service_account import Credentials
from googleapiclient.discovery import build
import os
import json
from tenacity import RetryError, retry, stop_after_attempt, wait_fixed
# YouTube Data API setup
API_KEY = '' # put API key here
@oazabir
oazabir / HagueGroup.html
Last active April 7, 2025 09:55
Hague Group Email
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hague Group - Template Letters</title>
<style>
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
@oazabir
oazabir / DEVSECOPS.md
Last active September 17, 2025 08:26

DevSecOps Pipeline Checklist

Purpose: A practical, repo-ready checklist that mirrors the DevSecOps pipeline stages and their gates. Use it as your team’s working agreement.

Tip: Copy this file as DEVSECOPS_CHECKLIST.md in your repo. Create the PR template below at .github/pull_request_template.md.


How to use this checklist

@oazabir
oazabir / compact-context.md
Last active November 13, 2025 12:47
/compact-context
description Compact AGENTS.md or CLAUDE.md to reduce token usage while preserving essential context

Task: Compact AGENTS.md or CLAUDE.md

Read AGENTS.md or CLAUDE.md, then create a highly condensed version of the file that:

Must Keep (Essential Context):

  • ✅ Current phase status table (compact format)
@oazabir
oazabir / alibab-cost.md
Created January 6, 2026 07:40
Alibaba Cost

Required cluster size To tolerate two node failures and still have ≥64 vCPUs and ≥128 GB:

  • 12 nodes × (8 vCPU, 16 GB) = 96 vCPUs and 192 GB
  • After losing 2 nodes → remaining 80 vCPUs and 160 GB

Block Storage (approximate)

  • Using a published example of block storage from Alibaba Cloud pricing references: