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
package net.marcloud.knockit.methods; | |
import org.bukkit.Material; | |
import org.bukkit.enchantments.Enchantment; | |
import org.bukkit.inventory.ItemFlag; | |
import org.bukkit.inventory.ItemStack; | |
import org.bukkit.inventory.meta.ItemMeta; | |
import org.bukkit.inventory.meta.SkullMeta; | |
import java.util.ArrayList; |
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
package net.marcelektro; | |
public class Main { | |
public static void main(String[] args) { | |
String pog = "HELLO THERE ARE WAYYYYY TOOO MANY SPACES RIP OOF SAD"; | |
System.out.println(trimSpaces(pog)); | |
} |
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
import json | |
from mitmproxy import http | |
# A script for Mitmproxy to make RocketChat client apps always work with old server versions. | |
# by Marcelektro | |
API_VERSION_URL = "https://your-rocket-chat/api/info" | |
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
#!/bin/bash | |
DESKTOP_FILE="/var/lib/flatpak/exports/share/applications/dev.vencord.Vesktop.desktop" | |
# check if vesktop .desktop file exists | |
if [[ ! -f "$DESKTOP_FILE" ]]; then | |
echo "Error: Desktop file '$DESKTOP_FILE' not found. Are you sure you installed Vesktop via Flatpak?" | |
exit 1 | |
fi |