Skip to content

Instantly share code, notes, and snippets.

View MajorTazer's full-sized avatar

Taysir MajorTazer

  • England, United Kingdom
View GitHub Profile
@MajorTazer
MajorTazer / splitlargemessages.ts
Created April 26, 2026 19:47
A custom Vencord plugin to split 2000+ character messages into chunks of 2000. Supports code blocks spanning more than 2000 characters.
/*
* Vencord, a Discord client mod
* Copyright (c) 2026 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { addMessagePreSendListener, removeMessagePreSendListener } from "@api/MessageEvents";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import { findByProps } from "@webpack";
@MajorTazer
MajorTazer / change_photo_datetime.py
Created August 11, 2025 15:21
Changes Google Photos Takeout photos/videos EXIF and file metadata datetimes to the correct value from the supplemental metadata JSON file. Put in same dir as the photos/vids and exiftool.exe.
import os
import glob
import subprocess
import json
from datetime import datetime
def get_correct_datetime(file_path):
directory = os.path.dirname(file_path)
base = os.path.basename(file_path)
pattern = os.path.join(directory, base + ".*.json")

Civilian Airliner Recognition Guide

Notice: winglets (flicks at the end of wings) are too unreliable to use because they can change with variants. Please ignore any comments to do with winglets! However, Airbus tends to use y-shaped winglets and Boeing tends to use tall winglets.

You can only immediately identify some obvious aircraft, like the A380 or the 747 with two floors. This document goes over the distinct differences between aircraft and how to use process of elimination to identify aircraft.

TL;DR decide if its Airbus or Boeing, decide if it's short/med/long and guess!

Aircraft

@MajorTazer
MajorTazer / BW_Collections_Remover.py
Last active May 28, 2024 17:21
BitWarden tool to delete collections using bw CLI tool
# BitWarden tool to delete collections using bw CLI tool
# forked from: https://gist.github.com/eduncan911/c0f4d789b87c3746a055779a57ff57e5
# uses subprocess to run bw commands rather than sh which is Linux only
# You must install the bitwarden CLI tool (https://bitwarden.com/help/article/cli/#download-and-install)
# Create your session as per the instructions on the download page.
# You can replace your session key and use the following to process the results.
# place this script in the same dir as the bw executable
@queengooborg
queengooborg / essentials-worth.yml
Last active July 4, 2026 15:10
A balanced worth.yml file for Bukkit/Spigot servers running 1.13.x+ with EssentialsX
#
# Minecraft Essentials worth.yml - optimized for an ideal balanced Economy!
# https://gist.github.com/queengooborg/92d08120f0d6d25175f6c7a30e3ccac7
#
# Compatible MC Version: 1.13.x+
# Latest MC Version: 26.2
#
# Maintained by Vinyl Da.i'gyu-Kazotetsu [https://www.queengoob.org]
# Generated by https://github.com/queengooborg/mc-toolkit
# Base prices from X00LA's version: https://github.com/X00LA/Bukkit-Essentials-worth.yml