Skip to content

Instantly share code, notes, and snippets.

@NoXPhasma
NoXPhasma / installation.md
Last active June 21, 2024 16:51
Install stable-diffusion-webui with ROCm support on Linux

Install stable-diffusion-webui with ROCm support on Arch Linux

First time installation:

  1. Clone and switch to the stable-diffusion-webui folder
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
cd stable-diffusion-webui
  1. Create a new python environment and switch to it
@NoXPhasma
NoXPhasma / gist:e936061b9e41a0d0d86e4951c0398add
Created May 19, 2022 12:37
pipewire-noise-canceling-source.service
[Unit]
Description=PipeWire Input Filter Chain
After=pipewire.service
BindsTo=pipewire.service
[Service]
ExecStart=/usr/bin/pipewire -c filter-chain/librnnoise_ladspa.conf
Type=simple
Restart=on-failure
# Noise canceling source
#
# start with pipewire -c filter-chain/librnnoise_ladspa.conf
#
context.properties = {
log.level = 0
}
context.spa-libs = {
audio.convert.* = audioconvert/libspa-audioconvert
@NoXPhasma
NoXPhasma / systeminfo.sh
Last active October 31, 2022 13:31
Copy sytem information for ProtonDB
#! /bin/bash
# To copy the output to your clipboard, you'll need to install
# `xclip` if you are on xserver and `wl-clipboard` if you are on wayland.
function sysinfo(){
echo -e "System Info:\n\n\nProcessor Information:\n CPU: $(grep 'model name'\
< /proc/cpuinfo | head -1 | cut -d':' -f2)\n \n\nOperating System Ve\
rsion:\n OS: $(lsb_release -d | cut -d':' -f2) $(lsb_release -r | cut \
-d':' -f2 | tr -d '\t')\n Kernel Name: Linux\n Kernel Version: $(uname -\
r)\n \n\nVideo Card:\n GPU: $(lspci | grep VGA | cut -d'[' -f2 | cut -d']' \
### Keybase proof
I hereby claim:
* I am noxphasma on github.
* I am noxphasma (https://keybase.io/noxphasma) on keybase.
* I have a public key whose fingerprint is 4233 5E86 384D 8417 0A07 3CD8 8C68 184E 812C F54A
To claim this, I am signing this object: