Conditionally load SQLAlchemy model relationships in FastAPI
Suppose you have a FastAPI app responsible for talking with database via sqlalchemy and retrieving data. The sqlalchemy models have some relationships and th...
Suppose you have a FastAPI app responsible for talking with database via sqlalchemy and retrieving data. The sqlalchemy models have some relationships and th...
trap them and kill them! There is a beautiful command in Linux called trap which traps signals and let you run specific commands when they invoked. There is ...
It’s been a while… It has been so long that I forgot how I was writing my blogs back then. My life didn’t change that much. Actually, it is getting worse.
Recently, Github announced that they are making Github Copilot available for everyone. Previously, it was in Beta and you could get it through the waiting l...
A failure story Last week, I received an email from Let’s Encrypt reminding me to renew my certificates. I forgot to renew it and the certificate expired. No...
Anytime I install a new system on my machine, I pray God for nothing bad happens. But it usually happens. When I reboot, I find myself in the “Grub rescue” m...
Story In my previous post, I explained how to do port forwarding to access some machine behind private network. I will use this method to fix some issues in ...
Story I believe there is always a “tech support person” in every home. Everyone knows that when there is a problem with any electronic device, they should as...
Story Today, I have recorded a video for one of my classes and I was required to upload it till midnight. The video was perfect except for a few seconds wher...
In this post I will explain how you can use GitHub to automate the build and deployment processes that you have. I am going to automate the deployment of thi...
cat some_file | grep some_pattern I’m sure that you run a command something like above at least once if you are using terminal. You know how cat and grep wo...
Hello, World!* So here I am and welcome to my first blog. Having a personal space on the Internet has been a dream for me for years and I am happy that it fi…