Skip to content

Instantly share code, notes, and snippets.

View IsaMorphic's full-sized avatar

IsaMorphic IsaMorphic

View GitHub Profile
@IsaMorphic
IsaMorphic / Program.cs
Created December 30, 2022 16:26
FFMediaToolkit Example - Remux M4V+MP3 to MP4
using FFMediaToolkit.Audio;
using FFMediaToolkit.Decoding;
using FFMediaToolkit.Encoding;
using FFMediaToolkit.Graphics;
// File paths, grab from anywhere like command-line args, config file, etc.
string inputVideoFilePath = "video-mute.m4v";
string inputAudioFilePath = "audio.mp3";
string outputMediaFilePath = "video-dubbed.mp4";
@IsaMorphic
IsaMorphic / news2bin.c
Last active May 4, 2022 22:45
XBAND News2Bin (Windows/Linux port)
// Patched version for modern platforms by Ian Santin. See line 466 for details.
// This code is NOT MINE. All rights are reserved by the original XBAND team at Catapult Entertainment.
/*
* Convert a NewsPages file to its eventual binary representation.
*
* The individual news pages are deposited in separate files, since that's
* how they'll be compressed.
*/
#include <stdio.h>
@IsaMorphic
IsaMorphic / SetupAndroid.bat
Created December 21, 2021 20:39
(UE4) Fixed version of SetupAndroid.bat to be more tolerant to SDK paths with spaces and parenthesis
@echo off
setlocal ENABLEEXTENSIONS
set KEY_NAME=HKLM\SOFTWARE\Android Studio
set VALUE_NAME=Path
set STUDIO_PATH=
FOR /F "tokens=2*" %%A IN ('REG.exe query "%KEY_NAME%" /v "%VALUE_NAME%"') DO (set STUDIO_PATH=%%B)
if "%STUDIO_PATH%" == "" (
echo Android Studio not installed, please download Android Studio 3.5.3 from https://developer.android.com/studio
@IsaMorphic
IsaMorphic / openpgp.md
Created December 6, 2021 22:13
Verifying my PGP key for KeyOxide linkage
@IsaMorphic
IsaMorphic / wordfrick.js
Last active October 17, 2019 13:21
Wordfrick is a tampermonkey script that jumbles up the text on any webpage of your choice. The results are oftentimes hilarious.
// ==UserScript==
// @name Wordfrick
// @namespace https://www.chosenfewsoftware.com
// @version 1.0
// @description Screw up any text on any webpage with the click of your mouse
// @author Yodadude2003
// @match *://*/*
// @grant none
// @require https://code.jquery.com/jquery-3.4.1.min.js
// ==/UserScript==