Skip to content

Instantly share code, notes, and snippets.

View HasanKhatib's full-sized avatar
🕵️‍♂️
seeking the truth

Hasan Alkhatib HasanKhatib

🕵️‍♂️
seeking the truth
  • IKEA Sweden
  • Malmö, Sweden
View GitHub Profile
@HasanKhatib
HasanKhatib / the-floor-is-lava.md
Last active June 12, 2025 14:20
The Floor is Lava – IKEA Edition

The Floor is Lava – IKEA Edition (Project: Operation Youth Assimilation) 🧪

Overview

Prepare for the most diabolically brilliant plan yet! "The Floor is Lava – IKEA Edition" is our secret weapon to capture young minds through an interactive, gamified experience where players control IKEA's beloved soft toy characters (e.g., Blåhaj the shark, Jättelik the monkey, Gosig Golden the dog) as they navigate 3D rooms designed entirely with IKEA articles to avoid the rising lava. The game ingeniously blends IKEA's product planning tools, article knowledge, and brand charm into a viral, immersive digital experience that will have children begging their parents for more IKEA visits!

It's not just a game – it's a psychological product discovery tool and a marketing mind-control engine all in one! [Evil genius laughter intensifies]


@HasanKhatib
HasanKhatib / ex1.py
Created January 31, 2025 13:32
ai-data-management-lab
# Exercise A.0.1 - Cinnamon Buns Price Calculator
PRICE_REGULAR = 35
DISCOUNT_RATE = 0.60
num_buns = int(input("Enter the number of day-old Kanelbulle: "))
# Price calculations
regular_price = num_buns * PRICE_REGULAR
discount_amount = regular_price * DISCOUNT_RATE
@HasanKhatib
HasanKhatib / global-git-hooks.sh
Created September 28, 2023 13:18
🔗 Universal Git Hook: Auto-detect your project type and run tests before every commit! Keep your codebase clean and bug-free. 🚀
#!/bin/bash
set -e
# Create global git hooks directory and configure git
mkdir -p ~/.git-hooks && git config --global core.hooksPath ~/.git-hooks
# Create the pre-commit hook
cat > ~/.git-hooks/pre-commit << 'EOF'
#!/bin/sh
@HasanKhatib
HasanKhatib / spring-and-jaeger.yaml
Created November 7, 2022 17:07
SpringBoot + Jaeger docker-compose file
version: '3.3'
services:
observability:
image: jaegertracing/all-in-one:1.38
ports:
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "4317:4317"