Skip to content

Instantly share code, notes, and snippets.

View Yiin's full-sized avatar
💭
https://twitch.tv/yiin__

Yiin

💭
https://twitch.tv/yiin__
View GitHub Profile
@Yiin
Yiin / README.md
Last active July 24, 2026 09:12
Fix: no internal speakers on ASUS Zenbook S16 UM5606GA (AMD Strix Point / ACP 7.0 SoundWire) under Linux — DKMS quirk

Fix: no internal speakers on ASUS Zenbook S16 (UM5606GA, AMD) under Linux

Short version: your laptop speakers, headphone jack, and built-in mic show up as nothing in Linux, even though the drivers are already there. The BIOS quietly tells the audio chip to use an old, speaker-less mode. One tiny tweak flips it back. This gist wraps that tweak in DKMS so it keeps working after kernel updates and is easy to undo later.

Tested on a Zenbook S16 UM5606GA (AMD Ryzen AI, Strix Point) running Linux 7.0.9, June 2026.

@tomatenbaumful
tomatenbaumful / streetnodes.ts
Created October 8, 2023 13:30
Code for getting street nodes on alt:V
setInterval(() => {
getVehicleNode(); //use a interval of your choice to send fresh nodes to the server
}, 250);
const MAX_SPEED = 40; // Max speed of the vehicle
const MIN_ANGLE_FULL_SPEED = 50; // Minimum angle at full speed
const MAX_ANGLE_STANDING_STILL = 180; // Maximum angle when standing still
export function getVehicleNode() {
const streamedVehicles = alt.Vehicle.streamedIn.filter(x => x.type === 1); //only synced vehicles, ignore parked ones!