Skip to content

Instantly share code, notes, and snippets.

View wennerryle's full-sized avatar
🎯
Focusing

Vladislav Pozdeev wennerryle

🎯
Focusing
View GitHub Profile
@wennerryle
wennerryle / eapteka-search-fix.js
Last active December 10, 2025 23:07
[eapteka.ru]: Remove noisy search suggestions directly in input element
// ==UserScript==
// @name Fix eapteka searchbar
// @namespace http://tampermonkey.net/
// @version 2025-12-10
// @description try to take over the world!
// @author You
// @match https://www.eapteka.ru/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=eapteka.ru
// @grant none
// ==/UserScript==
@wennerryle
wennerryle / virtualpiano_notes_fixer.js
Created December 9, 2025 18:36
fix virtual piano notes
function optimizeNotes(sheet) {
// Набор символов, требующих нажатия Shift (стандартная раскладка US)
// Включает заглавные буквы и символы верхнего регистра цифр
const shiftChars = new Set('~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?');
return sheet.replace(/\[(.*?)\]/g, (match, content) => {
const chars = content.split('');
const shifted = []; // Для символов с Shift (например: !, @, Q, P)
const normal = []; // Для обычных символов (например: 1, 2, q, p)
@wennerryle
wennerryle / un-wal.ts
Created December 9, 2025 10:16
Remove whl & wal files via Deno & sqlite3 & zx & @std/path
import { $ } from "zx";
import { join } from "@std/path";
if (!Deno.args[0]) {
console.log("please provide start folder");
Deno.exit(1);
}
const textDecoder = new TextDecoder();
@wennerryle
wennerryle / userext.js
Created November 5, 2025 12:16
Pimcore Demo Error AutoClosing
// ==UserScript==
// @name Pimcore Demo Error Close
// @namespace http://tampermonkey.net/
// @version 2025-11-05
// @description try to take over the world!
// @author You
// @match http://localhost/admin/
// @icon https://www.google.com/s2/favicons?sz=64&domain=undefined.localhost
// @grant none
// ==/UserScript==
@wennerryle
wennerryle / virtualpiano.net.js
Last active March 19, 2026 18:02
virtualpiano.net anti-adblock remover
"use strict";
// ==UserScript==
// @name antiadblock remover
// @namespace http://tampermonkey.net/
// @version 2025-09-22
// @description try to take over the world!
// @author You
// @match https://virtualpiano.net/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=virtualpiano.net
// @grant none
@wennerryle
wennerryle / sh
Last active September 9, 2025 16:22
hiddify as root runner
#!/bin/bash
flatpak permission-set kde-authorized remote-desktop org.kde.krdpserver yes;
flatpak permission-set kde-authorized remote-desktop "" yes;
echo $(zenity --password --title="Требуется sudo" --text="Введите пароль:" --width=250 --height=120) | sudo -S hiddify
@wennerryle
wennerryle / global_styles.xaml
Created March 12, 2024 03:16
Global styles for xaml
<Style TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="2" />
<Style.Resources>
<Style TargetType="{x:Type Border}">
<Setter Property="CornerRadius" Value="4" />
</Style>
</Style.Resources>
</Style>
<Style TargetType="Label">
@wennerryle
wennerryle / autoinstall.mjs
Last active January 4, 2024 07:12
A script that installed .apk files in the folder, using zx
#!/usr/bin/env zx
import chalk from 'chalk'
import { $ } from 'zx/core'
// disable stdin
$.verbose = false
// polyfill for promise with resolvers
Promise.withResolvers || (Promise.withResolvers = function withResolvers() {
DISCLAIMER: I take no responsibility for your actions, do everything at your own risk
In the /vendor/etc/izat.conf:
PROCESS_NAME=xtra-daemon
PROCESS_ARGUMENT=
PROCESS_STATE=DISABLED <- change here
PROCESS_GROUPS=inet gps system
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
@wennerryle
wennerryle / autoinstall.ps
Last active October 7, 2023 11:38
[PowerShell] Auto installation of all APKs in the folder via adb
adb start-server
$folder = Get-Location
Get-ChildItem -Path $folder -Filter "*.apk" | ForEach-Object {
Write-Host "Install $($_.Name)..."
adb install $_.FullName
}