Skip to content

Instantly share code, notes, and snippets.

View akien-mga's full-sized avatar

Rémi Verschelde akien-mga

View GitHub Profile
@akien-mga
akien-mga / image_loader_pcx.gd
Created May 30, 2024 20:44
PCX Loader class in GDScript
@tool
class_name ImageLoaderPCX
extends ImageFormatLoaderExtension
## Implementation of an ImageFormatLoader for PCX files with the
## [code].pcx[/code] extension.
##
## PCX files are an obsolete image format used in the DOS era, developed in 1985
## by ZSoft Corporation.
##
@akien-mga
akien-mga / git-local-merge.py
Created February 15, 2025 18:45
Script to merge GitHub PRs locally in a GH compatible way
#!/usr/bin/env python3
from __future__ import annotations
if __name__ != "__main__":
raise ImportError(f"{__name__} should not be used as a module.")
import argparse
import json
import os
import shutil