Skip to content

Instantly share code, notes, and snippets.

View KFERMercer's full-sized avatar
🖥️
working...

ZhenYu KFERMercer

🖥️
working...
View GitHub Profile
@ghstbny
ghstbny / media-sort.user.js
Last active June 4, 2024 19:28
Adds the ability to sort medias on bunkr and cyberdrop
// ==UserScript==
// @name media-sort
// @namespace https://github.com/ghstbny
// @match https://bunkr.*/a/*
// @match https://bunkr.ac/a/*
// @match https://bunkr.ax/a/*
// @match https://bunkr.black/a/*
// @match https://bunkr.cat/a/*
// @match https://bunkr.ci/a/*
// @match https://bunkr.fi/a/*
## Will successfully install amdgpu drivers and rocm,
## but pointless as there is no gpu device attached to WSL2 (only CUDA and DirectML is supported, not /dev/kfd or amd gpus)
## ROCM/HIP
sudo apt update
sudo apt dist-upgrade
sudo apt install libnuma-dev
wget -q -O - http://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list