Skip to content

Instantly share code, notes, and snippets.

View hyblocker's full-sized avatar
💭
make epic shadur

Hyblocker hyblocker

💭
make epic shadur
View GitHub Profile
@hyblocker
hyblocker / info.md
Created August 21, 2025 21:52
Discord Screenshare infinite hang when another process is "Not responding"

I have noticed that on occasion, I will be unable to screenshare anything on Discord. The screenshare page will load and be loading indefinetely whenever I have any process with a window "not responding" (i.e. not responding to message queue events). I have since noticed that this ONLY occurs when an application other than Discord reports itself as "Not responding".

Hardware and driver versions/ OS versions (As I'm unsure if this is a quirk with my hardware config or not, but I doubt it is as I've been able to reproduce this consistently on various hardware of my own and of friends running Windows 10/11):

  • CPU: Ryzen 9 9950X3D
  • GPU: Nvidia RTX 4090 24GB
  • RAM: 96GB (2x48GB) DDR5 @ 6000MHz
  • Nvidia Driver Version: DCH 566.03
  • Windows Version: Windows 11 24H2 26100.4946

Tested with clients:

@hyblocker
hyblocker / README.md
Last active October 4, 2024 10:28
SDVX: EXCEED GEAR Bootstrapper

Small wrapper file for starting SDVX EXCEED GEAR's network emulator, configuring my monitors accordingly for the game, and launching the game itself. Also restores state on exit.

Note: Hard-coded for my setup. Change accordingly to your setup.

Compile using TCC with the following args:

tcc -o bootstrap.exe bootstrap.c -luser32 -lShell32 -lSetupAPI -lHid -lCfgmgr32
@hyblocker
hyblocker / README.md
Last active May 12, 2024 11:06
Unity Docs Syntax Highlighting
@hyblocker
hyblocker / skybox-hemisphere-projection.hlsl
Last active April 1, 2025 03:01
Skybox Hemisphere Projection
/*
Copyright 2023 Hyblocker
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHE
@hyblocker
hyblocker / enable-null-driver.exe
Last active December 6, 2022 08:16
Null driver enabler
@hyblocker
hyblocker / PostProcessingGen.cs
Created November 22, 2022 22:41
A Unity Editor script to automatically handle post processing.
#if UNITY_EDITOR
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.PackageManager.Requests;
using UnityEditor.PackageManager;
using Debug = UnityEngine.Debug;
#if UNITY_POST_PROCESSING_STACK_V2
using UnityEngine.Rendering.PostProcessing;
@hyblocker
hyblocker / guide.md
Last active September 3, 2025 18:52
How to use Vive Wands for Fullbody Tracking

How to use Vive Wands for Fullbody Tracking

This guide assumes you have the following devices:

  • At least one Vive Wand
  • At least one Base Station
  • Some method of connecting the Vive wand to your computer, either over USB or using a Vive Dongle

Instructions

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyGame.DebugRenderers
{
@hyblocker
hyblocker / InputManager.cs
Last active January 23, 2025 23:45
An Input Manager that supports keyboard, mouse and controller bindings, and allows for rebinding of Keybinds
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using System.Collections.Generic;
using System;
namespace Experiments
{
public static class InputManager
{
#region Variables