Skip to content

Instantly share code, notes, and snippets.

View Laesx's full-sized avatar
💭

Eric Laesx

💭
  • Spain
View GitHub Profile
@azumukupoe
azumukupoe / autovsr.lua
Last active December 13, 2025 22:01
AutoVSR for MPV
local mp = require 'mp'
local autovsr_enabled = false
local function autovsr()
local display_width = mp.get_property_native("display-width")
local video_width = mp.get_property_native("width")
local display_height = mp.get_property_native("display-height")
local video_height = mp.get_property_native("height")
if video_width and display_width and video_height and display_height then
@NextdoorPsycho
NextdoorPsycho / chess_script.sh
Last active November 6, 2025 16:58
This script enables Apple’s Game Mode by launching the Chess app in fullscreen mode, which triggers Game Mode. It then deprioritizes the Chess process to minimize its resource usage, keeping the performance boost of Game Mode active without significant CPU/GPU drain from Chess. After making Chess fullscreen, the script switches focus back to the…
#!/bin/bash
LOG_FILE="chess_script.log"
log() {
echo "$(date '+%Y-%m-%d %H:%M:%S') - $1" | tee -a "$LOG_FILE"
}
# Requesting sudo privileges at the start
log "Requesting sudo privileges..."
@RubenKelevra
RubenKelevra / fast_firefox.md
Last active December 4, 2025 13:04
Make Firefox fast again
// ==UserScript==
// @name animelon-subtitle-downloader
// @namespace http://tampermonkey.net/
// @version 0.1
// @description download animelon subtitles
// @author mescyn#5794
// @match https://animelon.com/video/*
// @grant unsafeWindow
// @grant GM_registerMenuCommand
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/FileSaver.min.js
@LukeZGD
LukeZGD / NekoparaExtraction.md
Last active October 25, 2025 08:13
Nekopara Data Extraction for Vol. 1, 0, 2, 3, 4, and Extra

Nekopara Data Extraction for Vol. 1, 0, 2, 3, 4, and Extra

  • This guide can also be used in other VNs that have the Kirikiri/CatSystem2 engine

Tools Needed:

@phiresky
phiresky / motioninterpolation.vpy
Last active October 31, 2025 01:50
Realtime motion interpolating 60fps playback in mpv
# vim: set ft=python:
# see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645
# source: https://github.com/mpv-player/mpv/issues/2149
# source: https://github.com/mpv-player/mpv/issues/566
# source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy
import vapoursynth
core = vapoursynth.get_core()