Skip to content

Instantly share code, notes, and snippets.

@DuFro
DuFro / README.md
Created March 13, 2026 18:21
Bash script to cycle through audio output devices in KDE Plasma / Bazzite (PipeWire)

KDE Plasma / Bazzite Audio Output Switcher


This is a simple bash script for KDE Plasma (specifically tested on Bazzite/PipeWire) that allows you to cycle through your available audio output devices using a keyboard shortcut. It also sends a desktop notification showing which device is currently active.

How to Install and Use


Step 1: Save the Script

@C0DEbrained
C0DEbrained / k1c-2025-exploit.md
Last active May 14, 2026 07:03
Creality K1C 2025 Root Exploit

K1C 2025 Root Exploit

PLEASE SEE NEW K1C-TOOLS REPO

I've migrated this script to a full repo, so that we can properly discuss the device, its firmware, and any tools created for it in a better way. Please check out that repo instead, PRs for tools are welcome!

ko-fi

All donations will help fund my new 3d printing habit...


@bpbradley
bpbradley / README.md
Last active April 14, 2026 22:56
Crowdsec Discord Notification

Crowdsec Discord Notifications

Generates a detailed notification via discord when crowdsec makes a ban decision.

The notification includes details about the malicous IP, including geolocation, and will present a static map image of the approximate location in the notification.

It also includes all the target uris, which is very helpful when debugging false positives, so that you can better create whitelists / parsers.

@SgtBatten
SgtBatten / frigate_0.11_notification.yaml
Last active March 30, 2026 13:52 — forked from hunterjm/frigate_0.10_notification.yaml
Frigate Notifications have moved
blueprint:
name: Frigate Notifications by SgtB have moved
description: |
## ANNOUNCEMENT
I have moved from this gist to a github repositry.
Please checkout https://github.com/SgtBatten/HA_blueprints for the latest versions
domain: automation
@toddrob99
toddrob99 / frigate_0.10_notification.yaml
Last active November 23, 2022 23:40 — forked from hunterjm/frigate_0.10_notification.yaml
Frigate 0.10 Notifications
blueprint:
name: Frigate Notification (0.10.0) (toddrob99)
description: |
## Frigate Mobile App Notification
This blueprint will send a notification to your device when a Frigate event for the selected camera is fired. The notification will initially include the thumbnail of the detection, but include an actionable notification allowing you to view the clip and snapshot.
With this blueprint, you may send the notification to multiple devices by leaving "Device" blank and instead use a [notification group][1].
### Software Version Requirements
@ivanatpr
ivanatpr / 7Zip_CompressDirButUseStoreBasedOnExtension.ps1
Created November 25, 2015 06:56
PowerShell script to use 7-Zip in order to compress a directory quickly by not attempting to recompress filetypes (like ZIP files) that are already compressed. These filetypes are included in the resulting archive by using the "store" method which skips compression for those files. All other filetypes are compressed like normal.
#REQUIRED: set the directory you want to compress.
$dirToArchive = "C:\path\to\dir\"
#leave blank in order to automatically use directory name as archive name, otherwise enter the filename of the archive to create
$archiveName = ""
#$archiveName = "Data.7z"
#path to 7z.exe
$exec = "C:\Program Files\7-Zip\7z.exe"