Skip to content

Instantly share code, notes, and snippets.

View kaem-e's full-sized avatar
💭
a

Kaem kaem-e

💭
a
View GitHub Profile
@kaem-e
kaem-e / tasks.jsonc
Created June 16, 2025 18:47
Run msbuild.exe (or cl.exe) from zed's tasks.json
{
"label": "Build Visual Studio Project (Debug)",
"command": "| Out-Null;cd $env:ZED_WORKTREE_ROOT;msbuild.exe",
"args": [
"(Split-Path $env:ZED_WORKTREE_ROOT -Leaf).sln",
"/p:Configuration=Debug",
"/p:Platform=x64",
"/m",
"/v:m",
@kaem-e
kaem-e / mount_qcow2.md
Created May 12, 2023 23:23 — forked from shamil/mount_qcow2.md
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8