Reserved.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
MIT License | |
Copyright (c) 2024 SirTony | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ) |
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!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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* ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
- Locate the Visual Studio Code's installation directory (usually this is
C:\Users\<UserName>\AppData\Local\Code\app-<version>
where<UserName>
is the current Windows user name, and where<version>
is the version you want to modify [e.x.0.4.1
]) - Navigate to
<InstallPath>\resources\app\plugins
where<InstallPath>
is the path you located in step 1. - Create a new folder named
vs.language.d
and open it. - Inside of
vs.landuage.d
create a new folder namedsyntaxes
and open it. - Save or download the
d.json
file in this gist and place it inside thesyntaxes
folder. - Restart all instances of Visual Studio Code.
- Done.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [PackageDev] target_format: plist, ext: tmLanguage | |
--- | |
name: Mond | |
scopeName: source.mond | |
fileTypes: [ mond, mnd ] | |
uuid: 0a4b2933-843d-45c6-bd2f-6615d69f3800 | |
# This syntax definition could be a lot more advanced, | |
# but it properly colours all the important stuff, | |
# so it's good enough for now. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// A pre-allocated pool of objects with the ability to sort | |
/// and maintain objects as they become invalidated. | |
/// </summary> | |
/// <typeparam name="T">The type of object the pool will hold.</typeparam> | |
public class ResourcePool<T> where T : class | |
{ | |
#region Variables | |
private ValidateObject objectCheck; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name FAKKU! Download | |
// @namespace https://github.com/SirTony | |
// @version 1.8 | |
// @description Enables direct-downloads on FAKKU.net | |
// @author Tony J. Ellis | |
// @include /^https?:\/\/(?:www\.)?fakku\.net\/(?:manga|doujinshi)/ | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jszip/2.4.0/jszip.min.js | |
// @require https://raw.githubusercontent.com/Stuk/jszip-utils/master/dist/jszip-utils.min.js |
NewerOlder