Skip to content

Instantly share code, notes, and snippets.

View firminunderscore's full-sized avatar

Firmin_ firminunderscore

View GitHub Profile
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 8, 2025 09:51
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@0x4c756e61
0x4c756e61 / csocket.zig
Last active April 15, 2024 14:37
C socket programming in Zig
// compile with zig build-exe srv.c.zig -lc (zig @master)
const c = @cImport({
@cInclude("sys/socket.h");
@cInclude("sys/types.h");
@cInclude("arpa/inet.h");
@cInclude("unistd.h");
@cInclude("netinet/in.h");
});

Taskmaster is a OneCommander utility to replace Explorer dialogs for file operations.

It uses Windows native APIs for Copy/Move operations and not hacks like some other copy/move replacements to speed-up operations. That means it won't break any speed records but it is as reliable as Explorer's operations.

Improvements over Explorer dialogs:

  • Ability to copy deep folder structures longer than 255 characters
  • Copied files and folders keep Created and Modified dates (Explorer creates folders on copy with a new date, ruining backups)
  • (Soon) Same theme/style as OC (including Dark theme that Explorer dialogs don't yet have)
  • (Soon) Prompts only once for elevation (Admin)
@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