I hereby claim:
- I am sehraramiz on github.
- I am sehraramiz (https://keybase.io/sehraramiz) on keybase.
- I have a public key ASD87zEbkWZyd-OGISb8SDUoaqc7L1AjVb4irkgQt_8sggo
To claim this, I am signing this object:
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
<ul id="panjere"></ul> | |
<script src="https://cdn.jsdelivr.net/gh/sehraramiz/sehraramiz.github.io@latest/static/panjere.js"></script> | |
<script>showPanjere("https://mypanjere.ir/api/random/?count=5");</script> |
I hereby claim:
To claim this, I am signing this object:
"""use pydantic version 2""" | |
import enum | |
from typing import Generic, TypeVar | |
from pydantic import Field, BaseModel | |
from fastapi.encoders import jsonable_encoder | |
T = TypeVar("T") |
file path:
Add this script to .git/hooks
It looks at the staged changes in git and add a prefix to commit message based on the location of the change
If the change is in the /*/api/api_a/*.py the commit message would be: