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 / Copy-GitDirtyFilesBulk.ps1
Last active May 30, 2026 11:16
PowerShell utility that copies **Git dirty files** (modified, staged, and untracked files) from a single repository or from multiple repositories discovered at a specific directory depth
<#
.SYNOPSIS
Copy Git-untracked or Git-modified files from one Git repository,
or from many Git repositories found at an exact folder depth.
.DESCRIPTION
- Copies files that are modified: staged or unstaged.
- Copies untracked files.
- Copies Git-ignored dotfiles, such as .env and .env.development.
- Optionally includes ignored files via -IncludeIgnored.
@Kenya-West
Kenya-West / Copy-GitDirtyFiles.ps1
Created May 16, 2026 16:39
Copy-GitDirtyFiles - a PowerShell utility that copies only Git-untracked and Git-modified files from a repository into another folder. Useful for creating lightweight backups, transferring work-in-progress changes, or preparing partial archives without copying the entire repository.
<#
.SYNOPSIS
Copy only Git-untracked or Git-modified files from one folder to another, skipping common cache/package folders.
.DESCRIPTION
- Copies files that are modified (staged or unstaged) and untracked.
- Optionally includes ignored files (gitignored) via -IncludeIgnored.
- Skips common cache/build/package directories (node_modules, bin/obj, __pycache__, etc.) even if they contain changes.
- Throws if the source folder is not a Git repo.
- Supports -From and -To parameters; prompts if missing.
@Kenya-West
Kenya-West / README.md
Created May 2, 2026 16:02
GitHub Releases Artifact Mirror. Mirrors GitHub releases into destination release systems through vendor modules

GitHub Releases Artifact Mirror

This script mirrors GitHub releases into destination release systems through vendor modules.

Files

  • release-mirror.sh — main runner.
  • release-mirror.conf — example Bash-native config.
  • module-gitverse.sh — GitVerse destination module.
@Kenya-West
Kenya-West / README.md
Last active May 2, 2026 14:54
Scripts that implement Git mirroring from one source repo to multiple destinations

Below is a complete implementation using a sourced Bash config file. This is the most Bash-native format and avoids YAML/JSON parsing dependencies.


Usage

chmod +x git-mirror.sh
chmod 600 mirror.conf
@Kenya-West
Kenya-West / README.md
Created April 7, 2026 17:32
Gensee.ai chat session backup (GenSee Crate, OpenClaw instance)

Gensee.ai chat session backup

This repo will help you export chat history inside session. You need to open the session first, then scroll to top, and then execute one of scripts below in devtools. It will produce JS object you can copy and use yourself.

@Kenya-West
Kenya-West / README.md
Last active March 31, 2026 14:34
Wrapper script around Remnawave Node config retrieval command: `docker exec -i remna cli --dump-config`

remnawave-node-config-get

Extract and clean the XRay JSON config from a running Remnawave node Docker container.

What it does

Remnawave node runs XRay inside a Docker container. The running config can be dumped with cli --dump-config, but the raw output contains ANSI escape codes, carriage returns, and Remnawave's own service entries (API inbound, stats, policy) that clutter the actual proxy configuration.

This script:

@Kenya-West
Kenya-West / README.md
Created March 20, 2026 17:03
Wrapper around GNU parallel with advanced options for better control flow, and human- and machine-readable results

run-parallel-cmds.sh

Execute commands in parallel with structured output, logging, and progress tracking.

A bash wrapper around GNU parallel that simplifies running multiple commands concurrently with:

  • Structured output (JSON or text format)
  • Per-command logs (stdout/stderr capture)
  • Timeout handling with signal detection
  • Progress tracking and summary statistics
  • Color output and progress bars
@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