TIL – Find the git commit that deleted a file in a git repository

The below command filters commits that deleted file using diff-filter from git log git log --diff-filter=D -- deleted_file.example It takes advantage of the flag diff-filter.

Setup Nginx Reverse Proxy to access PostgreSQL database remotely

In this tutorial, we will be discussing how we can leverage the power of Nginx to create a reverse proxy for our PostgreSQL server. This will allow us to access our PostgreSQL database from remote servers. So for example, let's say you have an app hosted in a vps and you would like to access the app db from your local computer.

How to download a file from a website link using Python script or, code snippet

How to download files using python

In this article, I’m going to demonstrate some code snippets that you can utilize to download files from the Internet using Python. Before we begin, you might be wondering why go through all the hassles of writing scripts to download files when you can simply click and download it by opening it on a browser!…

How to Check Web page for SEO Using Python

Banner vector created by macrovector - www.freepik.com

Website SEO aka Search Engine Optimization is important for every modern website. However manually validating SEO criteria is quite cumbersome. It is possible to automate most of the SEO checks using python. In this article, I'm going to demonstrate some ideas using basic python code snippets. These scripts will work as a good starting point…

How to run Multiple Terminal Sessions on Linux VPS Server

In this article, I will introduce you with one of the handy tool for your vps servers. It is an extremely useful app for maintaining multiple terminal sessions through just one window! This Command Line Utility is called Screen.You may think of it as a Manager who manages different terminal sessions for you using shell.…