Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View evg-zhabotinsky's full-sized avatar

Evgeniy Zhabotinskiy evg-zhabotinsky

View GitHub Profile
@evg-zhabotinsky
evg-zhabotinsky / pressure-vent.sh
Created December 23, 2021 16:59
Steam "Pressure Vessel"-based runtime disabler
#!/bin/bash
# Steam "Pressure Vessel" runtime eliminator.
#
# Valve ships various pre-packaged runtime environments for games to use.
# They are cool, in a way: Most games "just work" with them.
# However, such convenience comes at the cost of performance and sometimes reliability.
#
# Normally, I disable any and all such runtimes and install all the required dependencies myself.
# However, running Windows games using Proton enforces use of a runtime.
# That runtime is shipped in a "Pressure Vessel" container, which is more isolated.
@evg-zhabotinsky
evg-zhabotinsky / user_gc.lua
Last active January 12, 2019 01:39
Eris-compatible GC hook postponer
--[[Run it like this:
lua-eris user_gc.lua P | lua-eris user_gc.lua
The expected output is:
Ready
Continue:
GC start
GC: 2
GC done
1: 3
GC: 3