blog.shahid.codesOpening a port in Ubuntu VM (OCI - Oracle Cloud Infrastructure)Whether you're setting up a web server, database, or other services on a virtual machine (VM) in Oracle Cloud Infrastructure (OCI), you'll often need to open specific ports to allow incoming traffic. Opening a port in OCI VM is not as straightforward...Aug 30, 2023·1 min read
blog.shahid.codesBuilding Your First Virtual Router Using PFSense/OPNSense and ProxmoxI've been thinking about virtualizing my router for a long time now. It gives excellent control over what goes in and out of your network. Plus you can do all sorts of cool things like running a VPN server, a recursive DNS server and more. I had a sp...Sep 10, 2022·4 min read
blog.shahid.codesRun your CI/CD runner with Gitlab Runner in 2 minutesI really like Gitlab for their CI/CD services. And specially their generous free usage offering. These month I've been running out of CI/CD minutes. So I decided to run my own runner inside a VM which I don't use that much. Prerequisites Docker inst...Jan 30, 2022·2 min read
blog.shahid.codesHow to exclude a route from caching in nest.jsI love working with Nest.js, it's such an excellent framework for teams to build a scalable backend server. Recently, I've been working on caching all our routes. It worked well for a few days then I noticed I missed an endpoint that can not be cac...Jan 13, 2022·2 min read
blog.shahid.codesSetup Redis with TLS using DockerRecently, I was trying to set up Redis for a production environment and I must say it was a bumpy ride. I ran into a lot of problems while setting up TLS. If you don't know What is Redis? Redis is an open-source (BSD licensed), in-memory data struc...Jan 7, 2022·4 min read