Skip to content

Instantly share code, notes, and snippets.

@koloved
koloved / gist:8a8dda69b9560b329c3ddcf81295d08d
Created March 31, 2025 12:14
Block RAWMHUB updates bat script
@echo off
setlocal enabledelayedexpansion
:: Check for command-line arguments
if not "%~1"=="" goto PROCESS_ARG
:: Initial menu without admin rights
:MENU
cls
echo Select action:
@koloved
koloved / Yandex Video - Smart YouTube Filter-0.1.user.js
Created January 22, 2025 15:07
Автоматически исключает YouTube с на страницах яндекс видео
// ==UserScript==
// @name Yandex Video - Smart YouTube Filter
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Автоматически исключает YouTube с на страницах яндекс видео
// @author NN
// @match https://yandex.ru/video/*
// @match https://ya.ru/video/*
// @match https://yandex.com/video/*
// @grant none
@koloved
koloved / Install_avif_ShareX.ps1
Last active January 22, 2025 10:54
ShareX AV1 Avif Auto-Config/Installer Script
<#
.SYNOPSIS
ShareX AV1 Avif Auto-Config/Installer Script
.DESCRIPTION
This script automates the configuration of ShareX with custom FFmpeg video/image conversion tasks.
It will:
1. Install/update FFmpeg
2. Set After capture tasks -> Perform actions option ON
3. Add AVIF conversion Actions
@koloved
koloved / reboot_to_bazzite.bat
Created November 6, 2024 19:43
Automatically reboot to Bazzite .bat script
@echo off
setlocal enabledelayedexpansion
rem Run bcdedit and save the output to a temporary file
echo Running bcdedit to enumerate firmware...
bcdedit /enum firmware > temp.txt
echo Output saved to temp.txt.
rem Initialize variables
set "target_description=bazzite"
@koloved
koloved / gist:8b1dd719bc2fa5281ed4b3acdc2375c3
Created December 4, 2023 14:47
Hunt showdown Vkbasalt.conf
#toggleKey = Pause
depthCapture = off
reshadeTexturePath = "/home/love/.config/vkBasalt/reshade/Textures/"
reshadeIncludePath = "/home/love/.config/vkBasalt/reshade/Shaders/"
effects=tonemap:dls
dlsSharpness = 0.5
dlsDenoise = 0.6
tonemap=/home/love/.config/vkBasalt/reshade/Shaders/Tonemap.fx
Gamma = 0.690
@koloved
koloved / gist:51eb1fd55381b7c578c26db9831827a9
Created November 22, 2023 10:15
wayland auto login issue
kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
kernel: pnp 00:03: disabling [mem 0xc0000000-0xcfffffff] because it overlaps 0000:00:02.0 BAR 9 [mem 0x00000000-0xdfffffff 64bit pref]
systemd[1]: /usr/lib/systemd/system/plymouth-start.service:15: Unit uses KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update the service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
kernel: device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
kernel: nvme nvme0: missing or invalid SUBNQN field.
55-scsi-sg3_id.rules[485]: WARNING: SCSI device nvme0n1 has no device ID, consider changing .SCSI_ID_SERIAL_SRC in 00-scsi-sg3_config.rules
kernel: usb: port power management may be unreliable
systemd-vconsole-setup[552]: KD_FONT_OP_GET failed while trying to get the font metadata: Invalid argument
systemd-
@koloved
koloved / my_PC
Last active February 10, 2023 13:22
Computer Information:
Manufacturer: ASRock
Model: B660M-ITX/ac
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: 12th Gen Intel(R) Core(TM) i5-12400
CPU Family: 0x6