Skip to content

Instantly share code, notes, and snippets.

View aldoyh's full-sized avatar
🎩
CONTEXT ENGINEERING

Hasan AlDoy aldoyh

🎩
CONTEXT ENGINEERING
View GitHub Profile
@aldoyh
aldoyh / GameIntro.html
Created February 8, 2026 14:07
Animated intro
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>XYZ - Splash Screen (Slow Motion)</title>
<!-- GSAP for Professional Animation -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
<!-- Tailwind for Layout & Theme -->
<script src="https://cdn.tailwindcss.com"></script>
@aldoyh
aldoyh / CodeReview.prompt
Last active February 8, 2026 08:59
CodeReviewManifest.prompt
# 🔍 Laravel 12+ Code Review Report — Master Prompt
You are a **principal Laravel engineer and technical auditor** with deep expertise in **Laravel 12+**, **PHP 8.5**, **Folio**, **Volt (Livewire)**, **Sanctum**, **Queues**, **Events**, **High-scale APIs**, and **Security-first architectures**.
Review the provided Laravel project **as a long-term, enterprise-grade production system** expected to evolve over several years.
Generate a **strict, structured, and actionable code review report** covering the following areas:
---
@aldoyh
aldoyh / pimp-my-prompt.md
Created December 20, 2025 17:28
SuperOneShotPrompts

@aldoyh
aldoyh / convert.py
Created December 6, 2025 16:42
From Revvit 25' to 23'
# Run this in Revit 2023
import os
from Autodesk.Revit.DB import *
# CONFIGURATION
# ------------------
source_ifc_folder = r"C:\Intermediate_IFC" # Folder with IFCs from Step 1
final_output_folder = r"C:\Revit_2023_Converted" # Folder for final files
# ------------------
@aldoyh
aldoyh / update-ollama-models.sh
Created October 25, 2025 11:14
Update all Ollama's Models in a single bash command
#!/bin/bash
set -e
http -b "localhost:11434/api/tags" | jq -r ".models.[].model" | xargs -I {} ollama pull {}
@aldoyh
aldoyh / MineSweeperGOL.html
Last active October 22, 2025 16:53
minesweeper game of life
<table>
<tbody>
</tbody>
</table>
@aldoyh
aldoyh / 404-error-face.markdown
Created October 15, 2025 06:13
404 Error Face
@aldoyh
aldoyh / PassGen.php
Last active October 30, 2025 17:11
Passwd.php another duel face php password generator. For both Web & CLI
<?php
/**
* Password Generator
*
* A simple password generator written in PHP.
*
* Hand crafted by: [HASAN ALDOY](@aldoyh) for Radio Bahrain @RadioBahrain)
* RELEASED: 2025-09-23
*/
@aldoyh
aldoyh / index.pug
Created September 22, 2025 10:21 — forked from jkantner/index.pug
Pure CSS Claw Crane
form.machine
input(type="checkbox",id="fire",name="fire",value="fire")
button.machine__btn(type="button",aria-labelledby="left-btn",ontouchstart="")
span.left-arrow
span.sr(id="left-btn")="Left"
button.machine__btn(type="button",aria-labelledby="right-btn",ontouchstart="")
span.right-arrow
span.sr(id="right-btn")="Right"
button.machine__btn(type="button",aria-labelledby="up-btn",ontouchstart="")
span.up-arrow
@aldoyh
aldoyh / App.php
Last active September 20, 2025 10:36
YouTube Channel Banner Remixer
<?php
// YouTube Channel Banner Remixer - Single File PHP App
// (c) 2025 - Hasan AlDoy @aldoyh - MIT License
declare(strict_types=1);
// --- CONFIGURATION & INITIALIZATION ---
session_start();
error_reporting(E_ALL);