Skip to content

Instantly share code, notes, and snippets.

View royalgraphx's full-sized avatar
🌴

royalgraphx

🌴
View GitHub Profile
@royalgraphx
royalgraphx / FanController.service
Created September 26, 2023 10:24
FanController.service - systemctl file for running FanConrtoller.py on boot and continous. Installs @ /lib/systemd/system/FanController.service
[Unit]
Description=Service for autostarting FanController
After=multi-user.target
[Service]
Type=idle
ExecStart=/usr/bin/python3 /home/royalgraphx/FanController.py
[Install]
WantedBy=multi-user.target
@royalgraphx
royalgraphx / FanController.py
Created September 26, 2023 10:22
FanController.py - A Python Script for enabling the Fan on my RPI4
import time
import subprocess
import RPi.GPIO as GPIO
from board import SCL, SDA
import busio
import adafruit_ssd1306
from PIL import Image, ImageDraw, ImageFont
import netifaces as ni
# GPIO pinout
@royalgraphx
royalgraphx / rgx-macos-evga470-nvcap.plist
Last active May 20, 2024 20:04
EVGA GTX 470 Superclocked NVCAP Data
<plist version="1.0">
<dict>
<key>DeviceProperties</key>
<dict>
<key>Add</key>
<dict>
<key>PciRoot(0x1)/Pci(0x1,0x4)/Pci(0x0,0x0)</key>
<dict>
<key>model</key>
<string>GeForce GTX 470</string>