Skip to content

Instantly share code, notes, and snippets.

Avatar
🎮
stuff

Wesley donnaken15

🎮
stuff
View GitHub Profile
@donnaken15
donnaken15 / YText.user.js
Last active Sep 10, 2019
YourTube %YText+ *1> | YouTube Userscript Extension
View YText.user.js
// ==UserScript==
// @name YourTube %YText+
// @namespace http://donnaken15.tk
// @version *1>
// @description Extender and extras
// @author donnaken15
// @match *://*.youtube.com/*
// @grant none
// @run-at document-end
// @downloadURL https://gist.github.com/donnaken15/3d160cc0055fb3cbc9ca489ef9a476a6
@donnaken15
donnaken15 / imgaud.bat
Created May 31, 2019
FFmpeg one frame video with audio
View imgaud.bat
ffmpeg -loop_input -r (LENGTH OF ONE FRAME IN TIME OF AUDIO) -i (IMAGE) -i (AUDIO) -ac (CHANNELS) -ab (BITRATE) -ar (HZ) -shortest -y (YOUR FILE NAME)
@donnaken15
donnaken15 / choose.cs
Created May 30, 2019
Based on GameMaker's choose. Adding this for a future C# library.
View choose.cs
static object choose(params object[] choices)
{
return choices[random.Next(0, choices.Length)];
}
@donnaken15
donnaken15 / GetCharName.cs
Created Feb 20, 2019
C# Get charmap Unicode Character Name
View GetCharName.cs
using System;
using System.Runtime.InteropServices;
namespace GetCharName
{
static class Program
{
// found using IDA 6.8 Pro
// charmap loads a DLL named GetUName.dll
You can’t perform that action at this time.