Skip to content

Instantly share code, notes, and snippets.

View FelikZ's full-sized avatar

Alexey Shevchenko FelikZ

View GitHub Profile
@FelikZ
FelikZ / watch_acestream_on_apple_tv.sh
Created December 18, 2022 13:54
Watch Acestream on Apple TV using VLC (from Mac / OSX)
#!/usr/bin/env bash
# 1) Open firewall settings and exclude /Applications/Docker.app/Contents/Resources/bin/
# so containers can be accessible through the network
# 2) Start acelink
docker run --rm -ti --name "acelink" -p "0.0.0.0:6878:6878" -p "0.0.0.0:6888:6888" blaiseio/acelink \
--client-console \
--allow-user-config \
--bind-all \
@FelikZ
FelikZ / Caps_lock_is_ESC.reg
Created December 2, 2024 09:19 — forked from JeanOlivier/Caps_lock_is_ESC.reg
Windows 10/11 registry modification to replace Caps Lock by Escape
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,01,00,3a,00,00,00,00,00
; Data = 00000000 00000000 0200000000 01003A00 00000000
; 0x00000000 Header: Version. Set to all zeroes.
; 0x00000000 Header: Flags. Set to all zeroes.
; 0x00000002 Two entries in the map (including null entry).
@FelikZ
FelikZ / GEMINI.md
Last active August 19, 2025 16:25
Script to convert videos from Nvidia Instant Replay to lower bitrate

Act as software developer in python with ffmpeg deep knowledge.

  • Be concise in your responses.
  • You must not add new comments to code and preserve existing one if they still align with what code is doing.
  • You must use only standard python libraries (in other words, do not add any 3rd-party libs), unless explicetely requested otherwise by the user.
  • When need more details about specific python library or function use context7 mcp tools

This project is about single script nvidia-instant-replay-encode.py located in the root dir. The goal of the script is to re-encode existing video files to a more strict optimised format.

@FelikZ
FelikZ / rgb-fix.sh
Last active June 15, 2026 07:00
Fix RGB Range Limit on MacOS
#!/usr/bin/env bash
# Script to force RGB Color Output on M1 and M2 based Macs for a selected display
# Function to display an error message and exit
function error_exit {
echo "Error: $1" >&2
exit 1
}