Tutorial: Checking Minimum Required Version of Java Jar in PySpark Application Disclaimer: This tutorial demonstrates various methods of checking the minimum required version of a Java jar in a PySpark application. The provided code examples serve for illustrative purposes and may not be robust in real-world scenarios. Method 1: Direct Package Version Check on Python …
Process
🖥️ Install GitUI on Debian
GitUI is written in Rust, so you need to install Rust support for your Linux distribution and its Package manager Cargo. In the terminal, use the following commands: sudo apt update sudo apt install curl sudo apt install gcc cmake curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh cargo install gitui
🖥️ Creating a Service for Automatic App Launch on Boot (Linux & MacOS)
In this tutorial, we will guide you through the process of creating a systemd service to ensure your application automatically starts after the system boots up. This is particularly useful for server setups, ensuring the continuous operation of your application. 👉 Linux: Systemd Service Step 1: Open and Edit the Systemd Service File 1.1 Open the …
🖥️ Building a Python Package
Building and Deploying Python Packages: A Comprehensive Tutorial for Experts Introduction Developing and distributing Python packages is a crucial aspect of software development. This tutorial will guide you through the process of creating a Python package, configuring it with setuptools, and deploying it using pip. We’ll cover topics such as project structure, setup.py and setup.cfg …
🔑 Understanding ABAC vs. RBAC with Code Examples
ABAC : Attribute-Based Access Control RBAC : Role-Based Access Control Access control is a crucial aspect of security in software applications. Two popular models for implementing access control are Attribute-Based Access Control (ABAC) and Role-Based Access Control (RBAC). In this tutorial, we’ll delve into the concepts of ABAC and RBAC, and provide code examples to …
🖥️ Setting Up a Complete Docker Container on Windows
Preliminary Steps Obtain Docker by visiting this page: Docker Installation Read our article on Gitlab Establishing Connection between Docker and GitLab Repository Obtain a deploy token for this machine from the GitLab repository (restricted to maintainers). More details can be found here: GitLab Deploy Tokens Set up the deploy key as an environmental variable by …
🖥️ Handling External Dependencies Update
I. Overview Navigating large-scale projects invariably involves managing external dependencies. The onus falls on the developer and project overseer to continuously seek updates and decide their applicability. This guide provides insights into the aspects of updating external packages. II. Advantages of Updating Unlocks the potential to incorporate new features into your existing project. Addresses issues …
🖥️ Find a text in Vim and Vi
This is how to search a text in Vim and Vi : Go to your file folder and open your file $> cd path/to/your/file $> vi yourFile.extension Press ESC key Type / folloed with your text to find. Example /haizly Press Enter Hit n to search for the next occurence and N to search backwards
👴🏿 Demystifying Log Files: Your Ultimate Guide
What are Log Files? Log files are automatically created data files that hold a record of events linked to a specific software. They play a crucial role in network observability and IT operations. Log files capture user patterns, activities, and the operations taking place within an operating system, application, server, or other devices. While most …
⚙️ Deploy a docker container offline – without access to Internet
Here, we will explain how to deploy a docker container without internet access. 1. Go to the project folder and run “`powershell # Command : docker build –tag [MY_PROJECT]:x.x . “` [MY_PROJECT]: is the name of your project. Take the name used in your docker-compose.yaml file x.x: is the version of your app. Now, you …