Skip to content

Instantly share code, notes, and snippets.

@ebr
ebr / AMD.md
Last active March 27, 2025 15:41
Invoke + ROCm (AMD GPU)

Invoke 5.x+ on AMD

Tested with: AMD Radeon PRO W7900 (Navi33 GPU / RDNA3 architecture). Other GPUs will probably work great with small tweaks, but I don't know what those tweaks might be. Please discover for yourself and report back!

TL;DR

Here's a very basic shell script that does all the things described below. Use it at your own risk. DO understand what it does. Otherwise, read the detailed instructions.

In fact, we really recommend reading the detailed instructions anyway. There's some good info in there.

@fufexan
fufexan / accel.py
Last active February 3, 2025 09:15
Hyprland custom accel_profile
#!/usr/bin/env python3
# original at https://gist.github.com/yinonburgansky/7be4d0489a0df8c06a923240b8eb0191
# modified for ease of use in Hyprland
# calculation are based on http://www.esreality.com/index.php?a=post&id=1945096
# assuming windows 10 uses the same calculation as windows 7.
# guesses have been made calculation is not accurate
# touchpad users make sure your touchpad is calibrated with `sudo libinput measure touchpad-size`
@huantianad
huantianad / UnityAndRiderOnNixOS.md
Last active November 27, 2024 13:19
Unity Editor and Jetbrains Rider on NixOS

Unity Editor and Jetbrains Rider on NixOS

Just a small guide kinda thing on how to develop for Unity on NixOS, at least my journey in this space. If you find anything else to add or any steps I missed here, please mention in the comments!

Rider

Rider needs access to MSBuild, .NET, and Mono in order to do code analysis. I found that manually setting the paths inside of Rider never worked correctly, so I instead wrapped Rider in a FHSUserEnv.

I have a workaround to allow rider to be detected by the Unity Rider plugin, which allows you to set Rider as the external editor in Unity, and now works with Rider's Advanced Unity Integration!

Unity Hub

Unity Hub downloads and manages Unity verisons and projects.

@lunks
lunks / gruvbox-dark.conf
Last active November 28, 2024 00:18
gruvbox-dark theme for kitty - the fast, featureful, GPU based terminal emulator
# gruvbox-dark colorscheme for kitty
# snazzy theme used as base
foreground #ebdbb2
background #272727
selection_foreground #655b53
selection_background #ebdbb2
url_color #d65c0d
# black