Skip to content

Instantly share code, notes, and snippets.

View SandeMC's full-sized avatar
👽

GillianMC SandeMC

👽
View GitHub Profile
@SandeMC
SandeMC / mpv.conf
Last active October 17, 2025 18:44
My mpv config, mostly personal
## if using, make sure all shaders are available - the names are based on the ones uosc comes with
###### Performance
profile=high-quality
hwdec=auto-copy
vo=gpu-next
fbo-format=auto
gpu-api=d3d11 # vulkan on linux
vd-lavc-dr=yes
hwdec-codecs=all
d3d11-adapter=
@SandeMC
SandeMC / uosc.conf
Created October 17, 2025 16:29
My uosc config, example attached in comments
# Display style of current position. available: line, bar
timeline_style=bar
# Line display style config
timeline_line_width=2
# Timeline size when fully expanded, in pixels, 0 to disable
timeline_size=10
# Comma separated states when element should always be fully visible.
# Available: paused, audio, image, video, idle, windowed, fullscreen
timeline_persistency=paused
# Top border of background color to help visually separate timeline from video
@SandeMC
SandeMC / quick.css
Last active November 13, 2025 00:34
My own Quick CSS settings for every horrible design decision Discord does
:root {
/* Changes the font in codeblocks to the one used in Visual Studio Code because I like that better */
--font-code: "Consolas";
}
/* Hides the sticker button on the message bar */
div[aria-label*="gift"] {
display: none;
}
@SandeMC
SandeMC / Reload Mod Fixed.sc
Last active September 15, 2026 21:28 — forked from JuniorDjjr/Reload Mod (Junior_Djjr).sc
Fixed Reload Mod by Junior_Djjr, details in comments
// Originally made by Junior_Djjr - https://www.mixmods.com.br/2019/07/reload-mod.html
// Fixed by GillianMC - https://gist.github.com/SandeMC/4c6d52a05f71af24702eaa28f6b692cf
CONST_INT OFFSET_PED_ACTIVE_WEAPON_SLOT 0x718
CONST_INT OFFSET_PED_WEAPONS 0x5A0
CONST_INT SIZEOF_CWEAPON 0x1C
CONST_INT OFFSET_WEAPON_STATE 0x04
CONST_INT OFFSET_WEAPON_AMMO_CLIP 0x08
CONST_INT OFFSET_WEAPON_TOTAL_AMMO 0x0C
CONST_INT OFFSET_WEAPON_SHOT_TIMER 0x10