Skip to content

Instantly share code, notes, and snippets.

View yezz123's full-sized avatar
πŸ—½
Focusing

Yasser Tahiri yezz123

πŸ—½
Focusing
View GitHub Profile
@ddanier
ddanier / fastapi_globals.py
Last active February 5, 2026 09:34
flask.g for FastAPI.
"""
This allows to use global variables inside the FastAPI application using async mode.
# Usage
Just import `g` and then access (set/get) attributes of it:
```python
from your_project.globals import g
@yezz123
yezz123 / Exploitation.md
Created May 24, 2021 12:09
Pentesting-Exploitation