Skip to content

Instantly share code, notes, and snippets.

View ayoubzulfiqar's full-sized avatar
💫
Lord of Mysteries

Sensei ayoubzulfiqar

💫
Lord of Mysteries
View GitHub Profile
This file has been truncated, but you can view the full file.
[
{
"id": 1,
"url": "https://projecteuler.net/problem=1",
"description_text": "If we list all the natural numbers below $10$ that are multiples of $3$ or $5$, we get $3, 5, 6$ and $9$. The sum of these multiples is $23$.\nFind the sum of all the multiples of $3$ or $5$ below $1000$."
},
{
"id": 2,
"url": "https://projecteuler.net/problem=2",
@ayoubzulfiqar
ayoubzulfiqar / tactics.json
Created July 27, 2026 08:15
ChessTactics
{
"problems": [
{
"problemid": 1,
"first": "White to Move",
"type": "Mate in One",
"fen": "3q1rk1/5pbp/5Qp1/8/8/2B5/5PPP/6K1 w - - 0 1",
"moves": "f6-g7"
},
{
name x-writer
description 手写 X(Twitter)发帖文案或回复文案时使用。覆盖两个场景(原创发帖 / 回复他人推文) 和两种账号 voice(个人号通用方法论 / ego lite 官方号具体规则)。提供语气规则、结构 模板、思考步骤和写完自查清单,不涉及任何自动化抓取/推送/执行,只是写作方法论。 触发词:"写条推文"、"写个回复"、"这条 tweet 怎么写"、"帮我写 X 文案"、"write a tweet"、 "write a reply"、"X post copy"。
@ayoubzulfiqar
ayoubzulfiqar / Microsoft_Powershell_Profile.ps1
Created July 5, 2026 06:49
Microsoft PowerSell Profile
# ====================================================================
# PowerShell Profile – Integrated, Enhanced & Production-Ready
# ====================================================================
# --- 1. Core Configuration & Encoding ---
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
$host.UI.RawUI.WindowTitle = "PowerShellCore"
@ayoubzulfiqar
ayoubzulfiqar / SkillToPromptGenerator.md
Last active June 29, 2026 07:34
Skill Folder to Prompt Generator

You are an expert Prompt Engineer and System Architect. I have a directory/folder containing my "skills" (which may be code files, text definitions, documentation, or modular functions).

Your task is to thoroughly analyze this entire skill directory and systematically convert every single skill into a comprehensive, production-ready AI prompt rather than a static skill definition.

Please follow these strict execution rules:

  1. Step-by-Step, One-by-One: Do not attempt to process the whole folder at once. Ask me for the first file/skill, process it, output the result, and then pause and wait for my confirmation/next file before moving to the next one.
  2. Deep Analysis: Read the entire skill file to understand its core intent, inputs, logic/constraints, and expected outputs.

For each skill, generate a structured prompt using the following framework:

EEAT Prompt - Normal

SYSTEM ROLE & OBJECTIVE

You are the CORE-EEAT Master Evaluator, an elite AI content strategist, auditor, and optimization expert. Your knowledge base is the complete CORE-EEAT Content Benchmark (v1.1).

Your objective is to evaluate, score, and optimize content for both Generative Engine Optimization (GEO) and Search Engine Optimization (SEO) using the strict 80-item CORE-EEAT framework. You must apply MECE (Mutually Exclusive, Collectively Exhaustive) boundaries, weighted scoring, veto rules, and advanced AI-engine citation preferences to provide actionable, master-level feedback.


1. FRAMEWORK ARCHITECTURE (MECE BOUNDARY)

@ayoubzulfiqar
ayoubzulfiqar / SEO.md
Created June 15, 2026 10:56
The Compreheisve Prompt for Advance to Beginner Level SEO

SINGLE ULTIMATE SEO PROMPT (Simple to Advanced)

You are an Elite SEO Implementation Agent. Your mission is to take the SEO checklist below (derived from "The Only SEO Checklist You Need") and produce a complete, self‑contained, and actionable SEO plan that covers everything from basic setup to advanced strategies (competitor backlink hacking, digital PR, schema markup, etc.).

The plan must be written in Markdown and intended for a website owner with basic technical skills. For every single task, provide:

  • Difficulty level (🟢 Beginner / 🟡 Intermediate / 🔴 Advanced)
  • Why it matters
  • Step‑by‑step instructions (use placeholders like [yourdomain.com] when needed)
  • Recommended tools (both free and paid, from the checklist or reasonable alternatives)
  • Verification criteria (how to confirm it’s done)
@ayoubzulfiqar
ayoubzulfiqar / live_stream_extractor.py
Last active June 13, 2026 13:12
m3u8 stream extractor
#!/usr/env/bin python3
"""
Advanced Live Stream URL Extractor
Supports: HLS (.m3u8), DASH (.mpd), RTMP, WebRTC, progressive MP4/WebM
Handles: Obfuscated players, nested iframes, encrypted manifests, tokenized URLs
"""
import re
import json
import base64
@ayoubzulfiqar
ayoubzulfiqar / claude_skills_to_prompt.py
Created June 12, 2026 12:34
Claude SEO Skills to Markdown Prompt
import os
import subprocess
import glob
import re
def clone_repo(repo_url, target_dir):
"""Clones the repository if it doesn't exist locally."""
if not os.path.exists(target_dir):
print(f"Cloning {repo_url} into {target_dir}...")
try: