Setup Visual Studio Code for Python Development

In this tutorial, we will have an overview of an open source IDE VS Code and why we choose to go with it for Python development. We will also see how to setup Visual Studio Code for Python development and configure it for a sample Python based Flask hello world project.

2 Comments
Setup Visual Studio Code for Python Development - TutLinks
Setup Visual Studio Code for Python Development - TutLinks

Deploy FastAPI on Ubuntu and Serve using Caddy 2 Web Server

In this tutorial we will see how to Deploy FastAPI on Ubuntu. Our FastAPI application does CRUD operations on a PostgreSQL database running on Ubuntu 18.04.5 LTS (Bionic Beaver). We expose FastAPI running on Gunicorn as a reverse proxy using Caddy 2 Web Server.

3 Comments
Deploy FastAPI on Ubuntu and Serve using Caddy 2 Web Server – TutLinks
Deploy FastAPI on Ubuntu and Serve using Caddy 2 Web Server – TutLinks

Debug FastAPI in VS Code IDE

In this tutorial we will setup Visual Studio Code IDE to help debug FastAPI repository. Analyse the state of variables and see how to debug FastAPI in VS Code. To do this we will add a debug configuration and create a breakpoint in a sample FastAPI repository and hit that breakpoint.

1 Comment
Debug FastAPI in VS Code IDE – TutLinks
Debug FastAPI in VS Code IDE – TutLinks

301 Redirect from non-www to www for WordPress to resolve Redundant Hostnames

Sometimes few websites are set up in such a way that the example.com and www.example.com will be treated as different websites. Although both URLs have same content and represent the same website, tracking few analytics becomes cumbersome when the domain with and without www does not resolve to the same hostname.

0 Comments
301 Redirect to resolve redundant hostnames - TutLinks
301 Redirect to resolve redundant hostnames - TutLinks

How to add CAA record to Azure DNS in 4 simple steps

In this tutorial we will see how to add CAA record to Azure DNS. Azure does not have a straight forward way to add CAA record using GUI front as of 2020. This needs to be manually added using PowerShell scripts by accessing Microsoft Azure Cloud Shell.

0 Comments
Adding CAA record to Azure DNS Zone – TutLinks
Adding CAA record to Azure DNS Zone – TutLinks