Skip to content

Instantly share code, notes, and snippets.

View MiguVT's full-sized avatar
:shipit:
spying and learning every corner of gh

MiguVT MiguVT

:shipit:
spying and learning every corner of gh
View GitHub Profile
@MiguVT
MiguVT / mpv.conf
Created November 7, 2025 17:53
config for mpv and releated apps/tools
# ----------- Default (Multi-Monitor Casual + Streamlink) ----------- #
hwdec=auto-safe
vo=gpu-next
gpu-api=vulkan
profile=gpu-hq
# Multi-monitor safe video sync (works reliably on 60Hz, 165Hz, 144Hz)
video-sync=audio
cache=yes
demuxer-readahead-secs=20
@MiguVT
MiguVT / hagezi-enhanced-updater.sh
Created August 20, 2025 13:10
Script I made for optimized list for my Technitium DNS setup
#!/bin/bash
# hagezi-enhanced-updater.sh - A script I use for my RPI5 (Spanish)
HAGEZI_DIR="/var/technitium/www"
TEMP_DIR="/tmp/hagezi-update"
COMBINED_FILE="$HAGEZI_DIR/hagezi-professional.txt"
mkdir -p $TEMP_DIR $HAGEZI_DIR
echo "# HaGeZi Enhanced Professional List - $(date)" > $COMBINED_FILE
@MiguVT
MiguVT / openwrt_leds.crontab
Last active December 5, 2025 13:06
OPENWRT Crontab LED Schedule
# OPENWRT Crontab LED Schedule
# This crontab manages LED behavior on OpenWrt, turning them OFF at night and restoring defaults in the morning.
# Turn off all LEDs at 11:30 PM
30 23 * * * /etc/init.d/led turnoff
# Restore default LED settings at 7:00 AM
00 07 * * * /etc/init.d/led turnon