Skip to content

Instantly share code, notes, and snippets.

View bedawi's full-sized avatar
💭
meeaaaooowwww

Benjamin D. bedawi

💭
meeaaaooowwww
View GitHub Profile
@bedawi
bedawi / disabledgpu.sh
Created February 5, 2023 09:37
MacBookPro5,3, Fedora Linux: Disable discrete GPU and optimize power consumption
#!/bin/bash
echo 1 > /sys/bus/pci/devices/0000\:02\:00.0/remove