This is a curated collection of programming examples, architectural patterns, and reusable code snippets I’ve built while exploring new technologies and refining existing ones.

Filter by Domain:
A simple Node.js example showing to change all images extension from .jpeg to .jpg...
In this example we consider the rewrite rules for Apache and Nginx to redirect a website from http to https...
In this example we show how to redirect all the pages from an old website and domain to a new one or redirect only some selected pages or how to redirect only the main website page...
A simple example of rotating infinitely an image with pure CSS...
In this example we show how can you embed and play a mp3 file on a web page...
In this brief tutorial, we consider a basix example of adding an MP4 video to a web page...
A basic example of searching XML file using PHP XPath queries...
An useful example of creating a simple JavaScript function to print the content of a selected DIV on a page...
Nowadays validating the user input in web applications is really important and in this article we review the filter_var function that can be very useful when programming in PHP...
Check an example of how you can resize an image with PHP...
Speed up your website loading and improve SEO by converting your jpg images to webp...
Find out how you can import faster files in MySQL tables by disabling the keys before the import and re-enabling them again after...
import asyncio from sqlalchemy.ext.asyncio import create_async_engine # Optimized connection pool for high-concurrency class DatabaseManager: def __init__(self, db_url: str): self.engine = create_async_engine( db_url, pool_size=20, max_overflow=10, pool_pre_ping=True ) async def get_session(self): """Yields a highly available session.""" async with self.engine.begin() as conn: yield conn # ... security middleware logic below
I believe code should be self-documenting. Whether it's Python, PHP, or JavaScript, I adhere to strict standards (PSR-12, PEP 8) to ensure that the systems I build are maintainable by your team long after I leave.