Skip to content

Instantly share code, notes, and snippets.

@nedius
nedius / nedius.tagcomplete.plugin.js
Last active January 17, 2024 23:57
Booru style tag autocompletion for cmdr2's Stable Diffusion UI | Ported from DominikDoom/a1111-sd-webui-tagcomplete
// ==UserScript==
// @name Tag Autocomplete
// @version 0.2.1
// @description Booru style tag autocompletion for cmdr2's Stable Diffusion UI | Ported from DominikDoom/a1111-sd-webui-tagcomplete
// @author nedius
// @source https://gist.github.com/nedius/bd5a1af78dc71a762fe76bd6d05631d5
// @info It is not perfect, but it works. There is a lot of unnecessary code that needs to be deleted. I will try to improve it in future.
// Changelog
// 0.2.1
@spmp
spmp / a2dp-agent.py
Created September 16, 2021 02:53
Headless A2DP - Note: Not working in Ubuntu 21.04
#!/usr/bin/python3
# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
from optparse import OptionParser
import sys
import signal
import dbus
import dbus.service
@ewauq
ewauq / logitech-bind-f13-f24.lua
Last active January 20, 2025 08:24
How to: Bind F13 to F24 keys on the G-keys (Logitech Gaming Keyboards)
-- How to use this script:
-- 1. Install the Logitech Gaming Software: http://support.logitech.com/en_us/software/lgs
-- 2. Launch it, and right click on your profile (the gear icon) and then click on "Scripts".
-- 3. Add the following code into the Script window, save it, and close it. Enjoy.
-- Now G1 is bound to F13, G2 to G14, ... G12 to F24.
function OnEvent(event, arg)
-- OutputLogMessage("event = %s, arg = %s\n", event, arg)
@alirobe
alirobe / reclaimWindows10.ps1
Last active March 29, 2025 01:01
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
### OR take a look at
### https://github.com/HotCakeX/Harden-Windows-Security