Skip to content

Instantly share code, notes, and snippets.

View shaun-mathew's full-sized avatar

Shaun shaun-mathew

  • 19:52 (UTC -05:00)
View GitHub Profile
@firelightning13
firelightning13 / [GUIDE] GPU Passthrough for Laptop with Fedora.md
Last active November 17, 2025 14:26
[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
@a1ip
a1ip / switchworkspace.sh
Created September 14, 2021 06:44 — forked from HappyTetrahedron/switchworkspace.sh
Script to replicate xmonad multi-monitor behaviour in i3 (configure i3 hotkeys to call this script instead of directly switching workspace)
#!/bin/bash
# get relevant info from i3-msg
WORKSPACEJSON="$(i3-msg -t get_workspaces)"
WORKSPACES="$(echo "$WORKSPACEJSON" | jshon -a -e name -u)"
MONITORS="$(echo "$WORKSPACEJSON" | jshon -a -e output -u)"
FOCUSED="$(echo "$WORKSPACEJSON" | jshon -a -e focused)"
VISIBLE="$(echo "$WORKSPACEJSON" | jshon -a -e visible)"
@ih2502mk
ih2502mk / list.md
Last active December 7, 2025 23:20
Quantopian Lectures Saved
@heroheman
heroheman / ranger-cheatsheet.md
Last active November 26, 2025 16:03
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@rmhsilva
rmhsilva / MacOS trackpad.md
Last active October 26, 2025 01:12
Accessing raw multitouch trackpad data (MacOS)