Skip to content

Instantly share code, notes, and snippets.

View skidunion's full-sized avatar
🐋
Containerizing

skidunion

🐋
Containerizing
View GitHub Profile
@skidunion
skidunion / acl.py
Last active April 13, 2024 09:26
Personal Shadowsocks filter list
from sys import argv
from base64 import b64decode
from urllib.parse import urlparse
def to_acl(line: str) -> str:
rule = line.lstrip('|.').replace('*', '/').rstrip('/')
# Append protocol if not included
if not rule.startswith("http://") and not rule.startswith("https://"):
@skidunion
skidunion / README.md
Last active September 14, 2022 15:52
5700 XT Single GPU passthrough

Single GPU passthrough

Based on the prepare and release scripts: https://gitlab.com/risingprismtv/single-gpu-passthrough

Configuration

  • CPU: AMD Ryzen 7 3700X
  • GPU: AMD Radeon RX 5700 XT
  • System: Manjaro Linux, Kernel 5.12.1

Problems that I've encountered

After installing drivers in the guest, the GPU fails to initialize with code 43