Skip to content

Instantly share code, notes, and snippets.

View neonmoe's full-sized avatar

Jens Pitkänen neonmoe

View GitHub Profile
@mjpieters
mjpieters / CodeLLDB-rust-auto-sourcemap.md
Created June 17, 2024 12:28
CodeLLDB & Rust: Automatically add a source map to LLDB for the Rust stdlib

Automatically set the correct source map for your Rust toolchain

When it comes to debugging Rust in VSCode, the CodeLLDB extension provides a great debugging experience. Until you try to step into some Rust stdlib code and are greeted with assembly.

Of course you can manually add a source map entry for your rust toolchain, which involves finding the current rustc version commit hash and the sysroot path for the source code:

$ rustc --version --verbose
rustc 1.76.0 (07dca489a 2024-02-04)
binary: rustc
@T3sT3ro
T3sT3ro / renderdoc-how-to.md
Last active April 18, 2025 18:45
Guide: launching renderdoc with java gradle project on minecraft "Create" mod example

So you want to launch RenderDoc with Java, huh?

Here is a good resource to check out first

First of all, check what command is run when you in fact launch your app. For me (Create minecraft mod) this command was executed when I run runClient configuration (line breaks, tabs and backslashes added for readability):

Step 1. command for running minecraft with mods - generated by gradle

/home/tooster/.sdkman/candidates/java/14.0.1-open/bin/java
@WebFreak001
WebFreak001 / valve-index-linux.md
Last active June 6, 2025 22:59
Getting my Valve Index to run flawlessly on ArchLinux with i3wm

Getting my Valve Index to run flawlessly on ArchLinux with i3wm

I've bought the Valve Index VR headset and wanted to play on Linux. I had done a lot of tinkering with my Linux Machine up to this point so quite a few things on the headset initially had issues working alright.

I have listed all of the problems I encountered on ArchLinux with Valve Index and Steam VR in this post and how I managed to solve nearly all of them.

When I first plugged in my headset, turned on the controllers and started