Skip to content

Instantly share code, notes, and snippets.

@lennyRBLX
lennyRBLX / seh_via_veh.cpp
Last active May 15, 2022 08:22
Full SEH with VEH
// deprecated for manual_exception_handling repo
#pragma once
#include <Windows.h>
#include <cstdint>
#include <memory>
#include <iostream>
#include <vector>
#include <cassert>
@lennyRBLX
lennyRBLX / tachiyomi_cbz_merger.lua
Created August 15, 2022 15:42
Merges Tachiyomi CBZ chapters. Requires Lua 5.1
require("zip")
-- credits: https://stackoverflow.com/questions/2829175/how-to-extract-files-from-a-zip-file-using-lua
function extract(zipPath, zipFilename, destinationPath)
local zfile, err = zip.open(zipPath .. zipFilename)
-- iterate through each file insize the zip file
for file in zfile:files() do
local currFile, err = zfile:open(file.filename)
local currFileContents = currFile:read("*a") -- read entire contents of current file
@lennyRBLX
lennyRBLX / av1_aiostreams-config.json
Last active December 22, 2025 11:19
AIOStreams Configuration Files
{
"services": [
{
"id": "torbox",
"enabled": false,
"credentials": {}
},
{
"id": "realdebrid",
"enabled": false,
@lennyRBLX
lennyRBLX / tb_av1_aiostreams-config.json
Last active August 28, 2025 16:44
AIOStreams Configuration Files for Torbox users
{
"services": [
{
"id": "torbox",
"enabled": true,
"credentials": {}
},
{
"id": "realdebrid",
"enabled": false,
@lennyRBLX
lennyRBLX / cinemeta_v3_manifest.json
Created August 23, 2025 18:52
Backup for restoring Cinemeta V3's Manifest
{
"id": "com.linvo.cinemeta",
"version": "3.0.13",
"name": "Cinemeta",
"contactEmail": null,
"description": "The official addon for movie and series catalogs",
"logo": null,
"background": null,
"types": [
"movie",
@lennyRBLX
lennyRBLX / template_forward_anime_fix.js
Last active February 1, 2026 16:41
Edit your own TVDB & TMDB API Keys into it.
const TMDB_ACCESS_TOKEN = "ENTER YOUR OWN TMDB API READ ACCESS TOKEN HERE";
// Cache expiration times (in milliseconds)
const CACHE_DURATION = {
EPISODE_GROUPS: 7 * 24 * 60 * 60 * 1000, // 7 days
EPISODE_GROUP_DETAILS: 7 * 24 * 60 * 60 * 1000, // 7 days
SEASON_TEMPLATE: 7 * 24 * 60 * 60 * 1000 // 7 days
};
// Parse the request URL to determine endpoint type
@lennyRBLX
lennyRBLX / template_forward_plugin.plugin
Created January 26, 2026 21:51
Upload the "template_forward_anime_fix.js" file First, then Replace the "YOUR_GITHUB_RAW_URL_GOES_HERE" with the URL you go to when clicking "Raw" on your Uploaded file.
#!name = Forward (Anime Fix)
#!desc = Fixes the Anime Metadata Issue in Forward
#!author = len_ny
[Script]
http-response ^https?:\/\/forwardinfo\.vvebo\.vip\/tv\/\d+ script-path=YOUR_GITHUB_RAW_URL_GOES_HERE,requires-body=true,timeout=30,tag=TVDB Anime Fix
[MITM]
hostname = forwardinfo.vvebo.vip