Skip to content

Instantly share code, notes, and snippets.

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

Carlos G. T. Armenta Andrade cgtarmenta

🏠
Working from home
View GitHub Profile
@cgtarmenta
cgtarmenta / gist:fffdc441e5ecdc13ef3deb40e434df1e
Created July 12, 2024 08:29
Allow user to use sudo without password
sudo sh -c 'echo "${SUDO_USER} ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers.d/${SUDO_USER}' && sudo chmod 440 /etc/sudoers.d/${SUDO_USER}
@cgtarmenta
cgtarmenta / new-data-vhdx-wsl2.md
Created March 16, 2025 17:25 — forked from omarmciver/new-data-vhdx-wsl2.md
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