Skip to content

Instantly share code, notes, and snippets.

View Ali-Raza-Arain's full-sized avatar
🍀
Hoping to do something better today.

Ali Raza Ali-Raza-Arain

🍀
Hoping to do something better today.
  • Pakistan
View GitHub Profile
@Ali-Raza-Arain
Ali-Raza-Arain / Simultaneously_Enable_WiFi_and_Hotspot_in_Ubuntu.md
Last active March 23, 2024 16:26
Simultaneously Enable WiFi and Hotspot in Ubuntu

Simultaneously Enable WiFi and Hotspot in Ubuntu:

Introduction:

In professional settings, efficiently managing network connectivity is crucial. Ubuntu, being a popular Linux distribution, provides powerful tools for networking. This guide will walk you through the process of enabling both WiFi and a hotspot simultaneously on Ubuntu, enhancing your network capabilities.

Requirements:

Ensure that you have administrative privileges on your Ubuntu system. Additionally, an active internet connection is necessary to download and install the required packages.

@Ali-Raza-Arain
Ali-Raza-Arain / Extending_your_default_LVM_space_in_Ubuntu_Server.md
Last active March 23, 2024 16:24
Extending your default LVM space in Ubuntu Server

Introduction

Ubuntu, by default, may leave a significant portion of disk space unused during installation. This guide will walk you through the process of extending your default Logical Volume Management (LVM) space to make better use of available resources. This is particularly useful when you're running out of space on your root filesystem.

image

Step 1: Check Free Space

  1. Open a terminal and use the command df -h to check the free space on your root filesystem. Identify the available space and assess whether you need to extend your storage.
@Ali-Raza-Arain
Ali-Raza-Arain / HEIC_Official_Packages.md
Created August 2, 2023 15:48
Official Packages to View HEIC Images on Linux

heif-gdk-pixbuf and heif-thumbnailer are two different tools that can be used to work with HEIF images on Linux.

heif-gdk-pixbuf

heif-gdk-pixbuf is a GDK-Pixbuf plugin that allows applications that use GDK-Pixbuf to display and manipulate HEIF images. GDK-Pixbuf is a library that is used by many applications to display images, so heif-gdk-pixbuf can be used to make a wide variety of applications able to display HEIF images.

Install heif-gdk-pixbuf:

sudo apt install heif-gdk-pixbuf
@Ali-Raza-Arain
Ali-Raza-Arain / Convert_HEIC_to_JPEG.md
Last active August 1, 2023 17:38
Conversion from HEIC to JPEG

Convert HEIC to JPEG

This script will convert all HEIC files in the current directory to JPEG files.

Prerequisites

  • The libheif-examples command must be installed.

If you are on a Linux system, you can install the libheif-examples command by running the following command: