Skip to content

Instantly share code, notes, and snippets.

View sirtony's full-sized avatar

Tony King sirtony

  • Philadelphia, PA, USA
  • 10:26 (UTC -04:00)
View GitHub Profile
@sirtony
sirtony / togethertube-fullscreen.user.js
Last active January 5, 2017 07:23
A greasemonkey/tampermonkey userscript for enabling fullscreen on https://togethertube.com/
// ==UserScript==
// @name Togethertube Fullscreen
// @namespace https://github.com/SirTony
// @version 0.2
// @description Enables fullscreen on togethertube.com
// @author Tony J. Ellis
// @match https://togethertube.com/rooms/*
// @grant none
// @require https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.18.4/URI.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.18.4/SecondLevelDomains.min.js
@sirtony
sirtony / dylib.d
Last active February 18, 2016 06:05
A utility for loading exported functions from a shared library.
module dylib;
private {
import std.string : format, toStringz;
import std.exception : enforce;
version( Windows )
{
extern( Windows ) void* LoadLibraryA( const char* );
extern( Windows ) void* GetProcAddress( void*, const char* );
@sirtony
sirtony / Fallout 4 Save File Format.md
Last active May 19, 2025 20:21
The binary format for Fallout 4 PC save files.

Fallout 4 Save File Format

The binary format for Fallout 4 PC save files. This document was created by reverse-engineering files from version 1.2.37.0 of the game.

Note: This document is incomplete!

Table of Contents

@sirtony
sirtony / rpa.py
Created May 12, 2017 06:35
RenPy archive unpacker
from pickle import loads as unpickle
from zlib import decompress
from argparse import ArgumentParser
from sys import exit, stderr
import os
def _main():
parser = ArgumentParser( description = "RenPy Arhive (.rpa) unpacker" )
parser.add_argument( "-o", "--output", required = False, type = str, dest = "output", metavar = "dir", help = "The directory to output files to" )
parser.add_argument( "-i", "--input", required = True, type = str, dest = "input", metavar = "path", help = "The archive to unpack" )
@sirtony
sirtony / README.md
Created May 12, 2024 11:55
A small DSL to easily create C-style enums and C#-style flags enums.

Reserved.

@sirtony
sirtony / more_mekanism.js
Last active May 7, 2025 16:02
Adds some (hopefully) balanced recipes to Mekanism.
// This script by Tony King is marked with CC0 1.0 Universal. To view a copy of this license, visit https://creativecommons.org/publicdomain/zero/1.0/
/*
This is a KubeJS server script that adds a few recipes to Mekanism
to make it easier to get some resources that are otherwise
annoying to farm in large quantities.
Requirements:
KubeJS - https://www.curseforge.com/minecraft/mc-mods/kubejs