Python

Calculating the distance in kilometers between two geographic coordinates with Python

In this article, we will see how to use Python to calculate the distance between two geographic coordinates, expressed in kilometers.

September 21, 2024
JavaScript

Calculate the distance in kilometers between two coordinates with JavaScript

In this article, we will see how to implement this calculation in JavaScript using the haversine formula, a widely used method for determining the distance between two points on a sphere.

September 21, 2024
Bash

How to Create a Bash Script to Kill All Processes Related to a Service

In this guide, we will see how to create a Bash script to simplify this task.

September 21, 2024
Bash

Create a Bash Script to Remove a Let's Encrypt Certificate

In this article, we will see how to create a Bash script that accepts a domain name as a parameter, checks if a Let's Encrypt certificate exists for that domain, and if so, removes it.

September 21, 2024
Bash

How to export cronjobs to a CSV file using a Bash script

In this article, I will walk you through creating a Bash script to export all active cronjobs to CSV format, with two main columns: the schedule (date/time) and the associated command.

September 21, 2024
Go

Calculate the distance in kilometers between two coordinates with Go

The Go language (Golang) offers a perfect environment to implement this type of operation efficiently. In this article, I will walk you through the steps to calculate the distance in kilometers between two coordinates using the Haversine formula.

September 21, 2024