Skip to content

Instantly share code, notes, and snippets.

View Kenya-West's full-sized avatar
💻
Windows

Innokenty Ivanov Kenya-West

💻
Windows
View GitHub Profile
@Kenya-West
Kenya-West / README.md
Created October 25, 2025 05:50
Ansible-my dependencies up-to-date status

Ansible-my dependencies up-to-date status

@Kenya-West
Kenya-West / README.md
Created October 13, 2025 17:52
Cheap VPS list by Kenya-West

About This List

This is a curated collection of links to cheap VPS (Virtual Private Server) hosting providers, aggregators, and community resources.
The goal is to provide an easy reference point for exploring budget-friendly hosting options worldwide.


Legal Notice

  • All trademarks, company names, and product names mentioned are the property of their respective owners.
@Kenya-West
Kenya-West / README.md
Created September 12, 2025 14:30
A Node.js utility script to parse Microsoft Launcher backup JSON files and list apps (by package ID) folders-aware.

Microsoft Launcher Folder Extractor

A Node.js utility script to parse Microsoft Launcher backup JSON files and list which apps (by package ID) are placed inside which home screen folders.

This is useful when migrating, auditing, or just inspecting your Launcher setup.

Note

You must first export a backup from Microsoft Launcher (via its settings) and unwrap it via this script by command node .\script.js .\launcher_backup_main.bak .\backup.json --unwrap-strings


@Kenya-West
Kenya-West / README.md
Last active October 1, 2025 10:30
A Node.js utility that recursively scans JSON files and removes embedded base64-encoded images

🧹 JSON Media Cleaner

A Node.js utility that recursively scans JSON files and removes embedded base64-encoded images.

Useful for cleaning huge dumps or configs that contain binary image blobs (PNG, JPEG, GIF, BMP, WEBP, HEIF/AVIF, SVG, …) under arbitrary keys — including:

  • Raw base64 strings ("iVBORw0KGgoAAA...")
  • Base64 strings broken with \n, \r, etc.
  • Data URLs ("data:image/png;base64,iVBOR...")
  • JSON-stringified objects with image fields inside (e.g. "bitmap":{"icon":"iVBOR..."} stored as a string)
@Kenya-West
Kenya-West / README.md
Last active October 1, 2025 10:17
MacroDroid Macros – Telegram Notifications

📱 MacroDroid Macros – Telegram Notifications

This gist contains a set of MacroDroid macros exported to .mdr format.
The macros are designed to send notifications about calls, SMS, and Wi-Fi events directly to a Telegram chat using the Telegram Bot API.


🚀 Features

  • Outgoing call notifications
@Kenya-West
Kenya-West / README.md
Created July 3, 2025 06:51
Copy usernames from X/Twitter dialog "List members"

Copy usernames from X/Twitter dialog "List members"

  1. First, open Lists you have setup to track cohorts of people
  2. Then open list members

Paste this code in browser DevTools (F12) below. It will give youi

@Kenya-West
Kenya-West / Copy-FileToPattern.ps1
Created May 27, 2025 16:57
Copy file by pattern
<#
.SYNOPSIS
Copies a file to multiple destinations matching a wildcard path pattern.
.DESCRIPTION
This script copies a specified source file to multiple target directories defined
by a wildcard-based destination pattern. Use '*' in any folder segment to match
any directory name. Existing files are not overwritten unless you use -Force.
.PARAMETER SourcePath
@Kenya-West
Kenya-West / README.md
Created April 12, 2025 10:48
MacroDroid push messages templates

MacroDroid push messages templates

This gist resolves newline symbol missing in Macrodroid HTTP GET searchParams.

This is a template created for dedicated purpose - to copy them raw and paste without modifications to Macrodroid HTTP GET searchParams modal window. By pasting as raw without any modification, you will get a message with newlines, preserved for HTTP GET method.

Cloudflare Workers URL Proxy

This is a simple URL proxy script that forwards requests to a target URL specified by the url query parameter. If no URL is provided or if the URL is invalid, the script returns a 400 error.

Features

  • Proxy Requests: Forwards incoming HTTP requests to a target URL.
  • Error Handling: Returns a 400 error if the URL parameter is missing or invalid.
  • Flexible Request Handling: Supports GET, HEAD, and other HTTP methods.
@Kenya-West
Kenya-West / .env
Created March 2, 2025 19:17
Monitor cron jobs with custom script that wraps your cron job's script and send metrics to PushGateway
PUSHGATEWAY_URL= # PushGateway server URL
PUSHGATEWAY_USER= # Basic auth username to PushGateway server
PUSHGATEWAY_PASS= # Basic auth password to PushGateway server
INSTANCE= # Your string to name host instance. For the sake of readability, should be unique
TIMEOUT= # Dunno what is this for, no clear description of it