Skip to content

Instantly share code, notes, and snippets.

View omarmciver's full-sized avatar
🏠
Working from home

Omar McIver omarmciver

🏠
Working from home
View GitHub Profile
@omarmciver
omarmciver / create_self_signed_cert.sh
Created August 6, 2024 16:03
[create_self_signed_cert] #Shell
#!/bin/bash
# Check if the correct number of arguments is provided
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <hostname> <IP address>"
exit 1
fi
HOSTNAME=$1
IP=$2
@omarmciver
omarmciver / Windows DPC Latency Fixes.md
Created January 21, 2025 04:26
[Windows DPC Latency Fixes]

Windows & NVIDIA DPC Latency Issues: Troubleshooting Steps

General Steps:

1. Disable Power Saving Features

  • Disable all power-saving features in BIOS/UEFI settings.
  • Set a high-performance power plan in Windows:
    Right-click on 'Power' icon in taskbar > 'Choose what the power button does' > 'Change settings that are currently unavailable'
    
@omarmciver
omarmciver / new-data-vhdx-wsl2.md
Last active June 19, 2025 13:54
New VHDX attach to WSL2

Creating and Maintaining a VHDX Drive in WSL

This guide explains how to create, mount, and maintain a VHDX drive for use with WSL (Windows Subsystem for Linux).

Prerequisites

  • Windows 10/11 with WSL2 installed
  • Administrative access
  • PowerShell
  • Sufficient disk space