Skip to content

Instantly share code, notes, and snippets.

View Compro-Prasad's full-sized avatar
🔨
Building stuff. Mostly software.

Compro Prasad Compro-Prasad

🔨
Building stuff. Mostly software.
View GitHub Profile
@Compro-Prasad
Compro-Prasad / base.py
Last active December 10, 2023 13:43
Sqlalchemy base template for FastAPI projects
import os
from typing import Any, AsyncGenerator, Generator
from datetime import datetime
from alembic_utils.pg_trigger import PGTrigger
from alembic_utils.pg_function import PGFunction
from sqlalchemy import create_engine
from sqlalchemy import func
from sqlalchemy.orm import Mapped as T
from sqlalchemy.orm import mapped_column as column
@Compro-Prasad
Compro-Prasad / hyprland.conf
Created November 5, 2024 05:17
hyperland config
# location: ~/.config/hypr/hyprland.conf
# #######################################################################################
# AUTOGENERATED HYPR CONFIG.
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# #######################################################################################
autogenerated = 0 # remove this line to remove the warning