Skip to content

Instantly share code, notes, and snippets.

View DistantThunder's full-sized avatar

Distant Thunder DistantThunder

View GitHub Profile
@snightshade
snightshade / gshade_to_reshade_guide.md
Last active May 9, 2025 02:49
GShade -> ReShade migration guide for FFXIV

How To Move To ReShade From GShade

(a guide by sylvie (@lostkagamine). tested, should work fine.)

(Korean version / 한국어 버전 / Chinese version / 中文版)

New: FAQ has been updated for ReShade 5.7.0 features.

If you are having issues like the screen turning black, read the mini-FAQ at the bottom of this document!

0. Don't uninstall GShade yet!

@Eoin-ONeill-Yokai
Eoin-ONeill-Yokai / ffix-proton-install-and-mods-readme.md
Last active December 24, 2025 22:18
FINAL FANTASY IX on Linux / Steam Deck (Moguri Mod / Alternate Fantasy) Proton Installation Guide and Bug List

Document Revision 1.3 [12/24/25] Notice: This guide is officially out of date, as now the memoria mod manager and moguri mod work much better in tandum with one another.

The new recommended way to install moguri and associated mods is to follow the Memoria mod installer guide which has steam deck specific instructions. Note that FFIX needs to be installed before running the installation script.

For legacy installations, older versions of moguri or any other strange mod installation needs, the old guide could be useful for reference. As a result, I've kept this document intact for the previous revision.

DEPRECATED Document Revision 1.2 [07/15/22]

Author Notes: Thanks to everyone who has been testing or using this installation process. I've refined the instructions to try to make this installation as simple and cross platform as humanly possible. I've also updated the Steam Deck instructions now that I have had mine for a while and thoroughly tested the instal

@Brainiarc7
Brainiarc7 / ffmpeg-vp8&9-encode-test-vaapi-intel.md
Last active November 20, 2025 15:58
PSA: You can now use FFmpeg's VAAPI-based VP8 and VP9 encoder on Skylake+ systems on Linux: Tested on Ubuntu 16.04LTS

Build VAAPI with support for VP8/9 decode and encode hardware acceleration on a Skylake validation testbed:

Build platform: Ubuntu 16.04LTS.

First things first:

Install baseline dependencies first

sudo apt-get -y install autoconf automake build-essential libass-dev libtool pkg-config texinfo zlib1g-dev libva-dev cmake mercurial libdrm-dev libvorbis-dev libogg-dev git libx11-dev libperl-dev libpciaccess-dev libpciaccess0 xorg-dev intel-gpu-tools

@Brainiarc7
Brainiarc7 / VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
Last active January 10, 2026 17:56
This gist contains instructions on setting up FFmpeg and Libav to use VAAPI-based hardware accelerated encoding (on supported platforms) for H.264 (and H.265 on supported hardware) video formats.

Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav

Hello, brethren :-)

As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".

@rgreenjr
rgreenjr / postgres_queries_and_commands.sql
Last active January 10, 2026 08:16
Useful PostgreSQL Queries and Commands
-- show running queries (pre 9.2)
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query
FROM pg_stat_activity
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%'
ORDER BY query_start desc;
-- show running queries (9.2)
SELECT pid, age(clock_timestamp(), query_start), usename, query
FROM pg_stat_activity
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'