Skip to content

Instantly share code, notes, and snippets.

View asad-albadi's full-sized avatar

Asàd Al-Badi asad-albadi

View GitHub Profile

Auto-Mounting an SMB Share on Debian

This guide provides steps to auto-mount an SMB share on Debian using a systemd mount unit and NetworkManager-wait-online.service.

Prerequisites

Ensure cifs-utils is installed:

sudo apt update
sudo apt install cifs-utils

Setting Up Scrutiny Collector Metrics on Windows

Step 1: Create the collector.yaml File

  1. Open PowerShell:

    • Press Win + X and select "Windows PowerShell" or "Windows PowerShell (Admin)".
  2. Navigate to the Desired Directory:

    cd C:\opt\scrutiny\config

Privacy Policy

Astral Hive Solutions built the AstralCalc app as a commercial app. This SERVICE is provided by Astral Hive Solutions and is intended for use as is.

Information Collection and Use

We do not collect, use, save, or have access to any of your personal data recorded in AstralCalc. The app does not collect user data.

Log Data

MJPG Streamer Installation and Setup Guide

Step 1: Install Required Dependencies

Update your package lists:

sudo apt update

Install necessary dependencies:

Hardware Overview

Device Processor RAM Storage Graphics Additional Specs
Raspberry Pi 4 Model B Broadcom BCM2711, Quad-core Cortex-A72 @ 1.5GHz 4GB LPDDR4-3200 MicroSD card slot Broadcom VideoCore VI Dual-band Wi-Fi, Bluetooth 5.0, Gigabit Ethernet, 4 USB ports, 2 micro-HDMI ports
Raspberry Pi 5 Broadcom BCM2712, Quad-core Cortex-A76 @ 2.4GHz 8GB LPDDR4X-4267 MicroSD card slot (high-speed SDR104) VideoCore VII Dual-band Wi-Fi, Bluetooth 5.0 / BLE

NFS Share Auto-Mount Guide on Boot

This guide details the steps to ensure an NFS share mounts automatically at boot on a Linux system, incorporating troubleshooting tips and a custom systemd service for reliability.

Prerequisites

  • NFS client utilities installed on your system.
  • Access to edit system configuration files with root permissions.

Step 1: Install NFS Client Utilities

Homelab Overview

HomeLab Checklist

Electronics Lab Inventory

Device Processor RAM Storage Graphics Additional Specs
Raspberry Pi 4 Model B Broadcom BCM2711, Quad-core Cortex-A72 @ 1.5GHz 4GB LPDDR4-3200 MicroSD card slot Broadcom VideoCore VI Dual-band Wi-Fi, Bluetooth 5.0, Gigabit Ethernet, 4 USB ports, 2 micro-HDMI ports
Raspberry

CPU Comparison (Speculative)

Feature Intel Core i7 8700K AMD Ryzen 9 7950X Intel Core i9-14900K Next-Gen AMD Ryzen (9000 Series) Next-Gen Intel Core (15th Gen)
Architecture Coffee Lake (14nm) Zen 4 (5nm) Raptor Lake (Intel 7) Zen 5 (expected) Intel 7 / Intel 4 (expected)
Cores/Threads 6 Cores / 12 Threads 16 Cores / 32 Threads 24 Cores (8P+16E) / 32 Threads 16+ Cores (expected) 24+ Cores (expected)
Base/Boost Clock 3.7 GHz / 4.7 GHz 4.5 GHz / 5.7 GHz Up to 5.8 GHz Higher than previous gen (expected) Higher than previous gen (expected)
L3 Cache 12M

WhatsApp Image 2023-12-26 at 12 29 37_2555d5e2

Character Name: Deava Primus

Race: Elf (with both high elf and dark elf traits)

Age: 28

Gender: Male

@asad-albadi
asad-albadi / Enable RDP on Pop!_OS using xrdp.md
Created November 29, 2023 05:24
Enable RDP on Pop!_OS using xrdp

Enable RDP on Pop!_OS using xrdp

  1. Open a terminal:

    • Press Super (the key with the Windows or Apple logo on it) and type "Terminal" to open the terminal emulator.
  2. Update your package list:

    • Run the following command to make sure your package list is up to date:
      sudo apt update