Skip to content

Instantly share code, notes, and snippets.

@alirobe
alirobe / reclaimWindows10.ps1
Last active July 3, 2024 09:36
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
###
###
@ewauq
ewauq / logitech-bind-f13-f24.lua
Last active June 5, 2024 19:47
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)
@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
@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
@axyiee
axyiee / index.css
Last active April 11, 2023 07:53
[Discord CSS Snippet] Better alignment between user info panel and channel text area
[class^="sidebar-"] [class^="panels-"] {
margin: 16px;
border-radius: 8px;
}
[class^="sidebar-"] [class^="panels-"] [class^="container-"] {
border-radius: 8px;
align-items: center;
justify-content: space-between;
}