This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Thrown in ~/.config/pipewire/pipewire.conf.d | |
| context.modules = [ | |
| { name = libpipewire-module-combine-stream | |
| args = { | |
| combine.mode = sink | |
| node.name = "combine_sink_4_0_desk" | |
| node.description = "Pink Room Audio - Desk Surround" | |
| combine.latency-compensate = false | |
| combine.props = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Required kube-apiserver params as of 2026-03-24. Requires Kubernetes v1.34. | |
| # --feature-gates=MutatingAdmissionPolicy=true | |
| # --runtime-config=admissionregistration.k8s.io/v1beta1=true | |
| # I found there was minimal documentation out there on how to use this properly for configuration | |
| # (not specifically adding a sidecar) so here's some connecting the dots and a working example. | |
| # It took me some trial and error to get here. | |
| # | |
| # Kubernetes references: | |
| # - https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # A steam game launch script for those of us who are gamers but also run k8s clusters with GPU hogging containers on our systems. | |
| # Add this as a launch option in steam, eg: "k8s-gamemode.sh %command%" and it will reduce your replica counts on chosen deployment | |
| # specs to 0, and will restore them after the game exits. | |
| # | |
| # If you have multiple systems with GPUs and plenty of VRAM you can just do the "kubectl cordon" and "kubectl drain ..." | |
| # thing on your node instead. This script assumes you have limited resources and no need to keep the pods up while you're gaming. | |
| # | |
| # Requires you have kubectl installed and set up with default credentials, and the jq utility installed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # Example from https://github.com/icebreaker-fpga/icebreaker-amaranth-examples/blob/master/icebreaker/7seg_count/7seg_count.py | |
| from torii.hdl import Elaboratable, Module, Signal, Cat | |
| from torii.build import Resource, Subsignal, PinsN, Attrs | |
| from torii_boards.gowin.gw5a import TangPrimer25kDockPlatform | |
| seven_seg_pmod = [ | |
| Resource( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Dynamic GSG Multitwitch v1.1.0 | |
| // @namespace https://gsg.live | |
| // @version 2025-07-26 | |
| // @description Try to dynamically add/remove streams from multitwitch | |
| // @author Aria Burrell <litui@litui.ca> | |
| // @match https://www.multitwitch.tv/* | |
| // @icon https://gsg.live/favicon.ico | |
| // @run-at document-idle | |
| // @grant GM_xmlhttpRequest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Streamer Text Filtering | |
| // @namespace https://litui.net | |
| // @version 2025-07-23 | |
| // @description not perfect, but this aims to keep streamers safer by filtering out specific regular expressions | |
| // @author Aria Burrell <litui@litui.ca> | |
| // @match *://*/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=undefined.ai | |
| // @grant unsafeWindow | |
| // @run-at document-start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Kernel tweaks for multimedia/gaming performance (borrowed from ubuntustudio packages) | |
| # Only bother using this if "uname -ra" shows PREEMPT_DYNAMIC in its result | |
| # In ubuntu and debian this option is now in the generic kernel. | |
| # Place this file in /etc/default/grub.d then run update-grub as root | |
| GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT preempt=full threadirqs" | |
| # For more detail on the preempt=full option see: | |
| # - https://discourse.ubuntu.com/t/ubuntu-24-04-boosts-gaming-performance/45721/9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/bin/bash | |
| # Running this script using `systemctl --user` and a simple systemd script. | |
| tv_on=0 | |
| while : | |
| do | |
| plasmashell_proc=$(ps ux | grep plasmashell | grep -v grep | head -n 1 | sed -E 's/^[A-Za-z0-9\-\_]+\ +([0-9]+).*$/\1/') | |
| XDG_RUNTIME_DIR=$(tr '\0' '\n' < "/proc/${plasmashell_proc}/environ" | grep XDG_RUNTIME_DIR | sed -E 's/^[^=]+=//') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from typing import List, Union, Generator, Iterator | |
| from pydantic import BaseModel | |
| import requests | |
| import os | |
| class Pipeline: | |
| class Valves(BaseModel): | |
| # You can add your custom valves here. | |
| FIREWORKS_DEEPSEEKR1_API_KEY: str |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from typing import List, Union, Generator, Iterator | |
| from pydantic import BaseModel | |
| import requests | |
| import os | |
| class Pipeline: | |
| class Valves(BaseModel): | |
| # You can add your custom valves here. | |
| TOGETHER_DEEPSEEKR1_API_KEY: str |
NewerOlder