Skip to content

Instantly share code, notes, and snippets.

View mcdaqc's full-sized avatar
:octocat:
Focusing

David Quispe mcdaqc

:octocat:
Focusing
View GitHub Profile
var cover = document.createElement("div");
let css = `
position: fixed;
pointer-events: none;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: white;
mix-blend-mode: difference;
@jjmartres
jjmartres / how-to-shrink-a-wsl2-virtual-disk.md
Last active April 14, 2025 18:15
How to Shrink a WSL2 Virtual Disk

How to Shrink a WSL2 Virtual Disk

Before you begin

Before shrinking a WSL2 virtual disk, you need to ensure that WSL2 is not running.

You can check if it’s running with the command wsl.exe --list --verbose in PowerShell:

PS C:\Users\valorin> wsl.exe --list --verbose
 NAME STATE VERSION