Skip to content

Instantly share code, notes, and snippets.

@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
@lennyRBLX
lennyRBLX / template_forward_anime_fix.js
Created January 26, 2026 21:48
Edit your own TVDB & TMDB API Keys into it.
const TVDB_API_KEY = "ENTER YOUR OWN TVDB API KEY HERE";
const TMDB_ACCESS_TOKEN = "ENTER YOUR OWN TMDB API READ ACCESS TOKEN HERE";
// Cache expiration times (in milliseconds)
const CACHE_DURATION = {
TVDB_TOKEN: 7 * 24 * 60 * 60 * 1000, // 7 days
EXTERNAL_IDS: 30 * 24 * 60 * 60 * 1000, // 30 days
SEASON_TEMPLATE: 7 * 24 * 60 * 60 * 1000, // 7 days
TVDB_EPISODES: 24 * 60 * 60 * 1000, // 1 day
ID_MAPPING: 30 * 24 * 60 * 60 * 1000 // 30 days
@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 / 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 / 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 / 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 / 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 / fixing_validatehwnd_call.cpp
Created July 8, 2020 14:36
Gives code examples for all the necessary steps in order to call ValidateHwnd or any other Validate method in win32kbase.
// for examples sake, lets say all of these are pre defined: ValidateHwnd, wnd_handle
void* ethread::get_win32() {
return PsGetThreadWin32Thread(ethr);
}
void ethread::set_win32(void* new_, void* buffer) {
void* current = get_win32();
PsSetThreadWin32Thread(ethr, NULL, current); // reset win32
PsSetThreadWin32Thread(ethr, new_, NULL); // modify win32
@lennyRBLX
lennyRBLX / ragesu.lua
Last active March 10, 2020 11:37
fatality rewrite of ragesu for aimware v5
-- config
local invert_key = 0x5
-- dependencies
local csgo_globals = csgo.interface_handler:get_global_vars()
function tick() return csgo_globals.tickcount end
local function get_item(index, value)
@lennyRBLX
lennyRBLX / inclusion.lua
Last active January 21, 2020 00:23
A custom Pure Lua compiler to allow for static file inclusion.
-- credits to louka | merge.lua
-- helped a lot
local pattern_regex = "C_INCLUDE%s*%(?%s*['\"]([%w_/\\%.]+)['\"]%s*%)?"
local directory = "" -- adds onto all calls to get contents of files, really easy and helpful
local wrap_includes = false -- wraps files with pcall that has custom error message
local function get_line_count(string)
local result = 1