Skip to content

Instantly share code, notes, and snippets.

@firelightning13
firelightning13 / [GUIDE] GPU Passthrough for Laptop with Fedora.md
Last active March 28, 2026 16:30
[GUIDE] GPU Passthrough for Laptop with Fedora

Running Windows 10/11 Guest with GPU Passthrough using laptop running Fedora

Abstract

This is a full guide for people who wanted to set up Windows 10/11 VM with QEMU/KVM hypervisor enhancements for a laptop that is configured with hybrid graphics card like Intel/AMD + NVIDIA. This process will take about 1 to 2 hours, depending on your system's performance and your patience =)

There is another comprehensive guide you can follow here (shoutout to asus-linux team who made supergfxctl which is a very important tool for this guide). It is more up-to-date than mine. I would probably incorporate those information into my guide, but you are welcome to use this one as a reference!

Before we proceed:

  • This guide is exclusively for Fedora users because this distro is quite different to set up than other distro such as Arch. I would say Arch is easier to setup than Fedora, but sometimes you like to use Fedora than Arc
@muzlightbeer
muzlightbeer / windbg.md
Last active January 20, 2026 07:54
WinDbg for Linux Users

The Windows Debugger (WinDbg) for Linux users

The following provides commands for getting started with WinDbg if you've come from a Linux only background and have only used GDB and LLDB.

VMware Fusion and VHD images

Some Windows operating system trials come as virtual hard disk (VHD) images, that state Hyper-V is required to use them. With macOS and VMware Fusion (at the time of writing, VMware Fusion 12.1.2), you can drag the executable files into VMware (the same as with ISO images) and install them normally. No subscriptions are required to obtain access to a DVD or ISO image if you do not have a system that uses Windows as the base operating system.

Microsoft symbols

@AkdM
AkdM / Edit_Repack_ISO_tutorial.md
Last active November 10, 2025 13:38
Edit and repack .iso bootable image

On Linux

Installing mkisofs

apt-get install mkisofs

Editing ISO image

mkdir /tmp/custom_iso

@lgg
lgg / keepass-file-format-explained.md
Last active March 13, 2026 14:04
Keepass file format explained

Keepass file format explained

I’m currently working (I’m just at the beginning, and I’m quite slow) on a personal project that will use Keepass files (kdb and kdbx).
I tried to find some documentation about .kdb and .kdbx format, but I didn’t find anything, even in the Keepass official website. I you want to know how these file formats are structured, you must read Keepass’s source code. So I wrote this article that explains how Keepass file format are structured, maybe it will help someone.

#petya #petrWrap #notPetya

Win32/Diskcoder.Petya.C

Ransomware attack.

About

This gist was built by the community of the researchers and was scribed by Kir and Igor from the QIWI/Vulners. We are grateful for the help of all those who sent us the data, links and information. Together we can make this world a better place!

Gist updates

@OdinsPlasmaRifle
OdinsPlasmaRifle / arch_linux_installation.md
Last active February 2, 2026 06:44
LVM on LUKS Arch installation with systemd-boot
@berlam
berlam / keepass.md
Last active February 23, 2025 06:00 — forked from ddotlic/gist:05772087c7abffe35141
KeePass file format specification (.kdb, .kdbx).

Keys

Multiple keys must be generated to get the final master key.

  1. Generate the composite key.
  2. Generate the transformed key from the composite key.
  3. Generate the master key from the transformed key.
@meylingtaing
meylingtaing / Makefile
Last active January 20, 2026 23:28
A generic linked list library for C
llist_driver: llist.o main.c
gcc -Wall -Wextra llist.o main.c -o llist_driver
llist.o: llist.h llist.c
gcc -Wall -Wextra -fPIC llist.h -c llist.c
clean:
rm -rf *.o *.gch llist_driver