Skip to content

Instantly share code, notes, and snippets.

@koloved
koloved / kill_app.ps1
Last active March 23, 2026 21:24
auto close AJAZZ AK820 app (disable background)
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
Set-Location $scriptPath
$exe = Get-ChildItem -Path $scriptPath -Filter "*.exe" | Where-Object { $_.Name -notmatch "AudioRecord" } | Select-Object -First 1
if (-not $exe) {
Write-Host "Main EXE not found!" -ForegroundColor Red
exit
}
@koloved
koloved / HuntStart.vbs
Last active March 22, 2026 11:40
VBS script to auto-start Ultimate Crosshair + Game Bar widget + Steam Game and kill all background processes (GameBar.exe, etc.) after closing the game to save RAM.
' Скачайте https://apps.microsoft.com/detail/9n2bjz33395t
' ======================================================================================
' NAME: HuntShowdown_AutoStart_with_Crosshair.vbs
' DESCRIPTION: Автоматизация запуска прицела (Ultimate Crosshair) и игры Hunt: Showdown.
'
' ПОРЯДОК РАБОТЫ:
' 1. Запуск приложения прицела и ожидание его процесса.
' 2. Активация виджета Xbox Game Bar (через Ctrl+F12).
' 3. Запуск игры напрямую через исполнительный файл.
' 4. Очистка ОЗУ от Game Bar и прицела после выхода из игры (~150MB ОЗУ).
@koloved
koloved / txt_tags_files_missed_finder.bat
Created June 3, 2025 11:21
bat script for finding JPG and JXL files without corresponding TXT files
@echo off
setlocal enabledelayedexpansion
rem Set the log file name with timestamp
set "logfile=missing_txt_files_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.log"
set "logfile=!logfile: =0!"
rem Clear the log file if it exists
if exist "%logfile%" del "%logfile%"
@koloved
koloved / txt_to_XMP_converter.py
Last active April 28, 2026 04:32
txt tag files to XMP files converter
# This Python script is a tag conversion utility that transforms text-based tag files into XMP (Extensible Metadata Platform)
# sidecar files for image management, specifically formatted for digiKam photo management software.
# txt tag sample - 1girl looking_at_viewer split yoga_pose
import os
import glob
# Function to convert tags string to XMP format
def tags_to_xmp(tags_string):
# Normalize tags string by replacing commas with spaces and splitting
@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 October 10, 2025 21:06
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-