Skip to content

Instantly share code, notes, and snippets.

View Badbird5907's full-sized avatar
💭
working on multiple projects at once

Evan Badbird5907

💭
working on multiple projects at once
View GitHub Profile
package net.octopvp.octocore.core.manager.impl;
import lombok.Getter;
import net.octopvp.octocore.common.object.SimplePlayerData;
import net.octopvp.octocore.common.object.permissions.Rank;
import net.octopvp.octocore.common.util.CC;
import net.octopvp.octocore.common.util.ChatColor;
import net.octopvp.octocore.core.OctoCore;
import net.octopvp.octocore.core.manager.Manager;
import net.octopvp.octocore.core.objects.PlayerData;
@Badbird5907
Badbird5907 / .eslintrc.json
Created December 19, 2023 21:41
Bootstrap NextJS
{
"extends": ["next/core-web-vitals", "plugin:prettier/recommended"],
"rules": {
"prettier/prettier": "error"
},
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"parser": "@typescript-eslint/parser"
}
// ==UserScript==
// @name PaperMC 10k
// @namespace https://papermc.io/
// @version 0.1
// @description Set the issue number to 10000
// @author Not ChatGPT
// @match https://github.com/PaperMC/Paper/issues/10001
// @grant none
// ==/UserScript==
@Badbird5907
Badbird5907 / script.user.js
Last active November 20, 2023 02:56
Brightspace open embedded content in new page (TDSB)
// ==UserScript==
// @name Open IFrame in new page
// @namespace https://badbird.dev/
// @version 0.1
// @description Adds a open in new tab for button for embedded content (PDFs) in brightspace.
// @author Badbird5907
// @match https://tdsb.elearningontario.ca/d2l/ui/apps/smart-curriculum/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=elearningontario.ca
// @grant none
// ==/UserScript==
@Badbird5907
Badbird5907 / fmovies-9anime.user.js
Created November 17, 2023 03:47 — forked from MaxySpark/fmovies-9anime.user.js
User Script to Get Direct Download Link of Movie Series and Anime from http://fmovies.to and http://9anime.to . First install "TAMPERMONKEY" OR "GREASEMONKEY" extention/plugin in your browser
// ==UserScript==
// @name Direct Download From fmovies
// @namespace http://maxyspark.com/
// @version 0.1
// @description Direct Download From fmovies
// @author MaxySpark
// @match http://fmovies.to/*
// @match https://fmovies.to/*
// @match https://fmoviesz.to/*
// @match http://9anime.to/*
@Badbird5907
Badbird5907 / DmojQuestionCopier.user.js
Last active March 5, 2023 17:37
Dmoj Question Copier
// ==UserScript==
// @name DMOJ Question Copier
// @version 1.1
// @author Badbird5907
// @source https://gist.github.com/Badbird5907/7fd28dcda1c92d5393863743b23d26db
// @namespace badbird.dev
// @license MIT
// @description Adds a button to copy the current question to the clipboard on DMOJ problem pages.
// @match https://dmoj.ca/problem/*
// @grant GM_setClipboard
@Badbird5907
Badbird5907 / TDSB.md
Last active September 10, 2022 01:35
Mapping Out TDSB's App API
@Badbird5907
Badbird5907 / config.yml
Last active December 5, 2023 01:23
GPTP Config
messages: # See https://docs.adventure.kyori.net/minimessage/format.html
claim-created: '<green>Claim created! Spawn block set to %1 %2 %3. You can change it by typing /setspawn.'
must-be-standing-in-claim: '<red>You must be standing in a claim!'
no-permission: '<red>You do not own this claim, or do not have permission to do that!'
teleporting: '<yellow>Teleporting in 5 seconds, don''t move...'
teleported: '<green>Teleported.'
moved: '<red>Pending teleportation request cancelled.'
damaged: '<red>Pending teleportation request cancelled.'
public-on: '<green>Your claim is now public!' # Add the '%1' placeholder for cost, if it is enabled. The placeholder system will be revamped in the future.
#For example: '<green>Your claim is now public!<red>-$%1.'
@Badbird5907
Badbird5907 / EventManager.java
Created December 13, 2021 04:36
Event manager
import com.google.common.base.Preconditions;
import org.bukkit.Bukkit;
import org.bukkit.event.Event;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;
import java.lang.reflect.InvocationTargetException;
@Badbird5907
Badbird5907 / Poll.java
Created October 20, 2021 15:25
OctoCord Polls
package net.octopvp.octocord.object;
import com.google.gson.annotations.SerializedName;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import net.dv8tion.jda.api.entities.User;
import net.dv8tion.jda.api.interactions.components.ActionRow;
import net.dv8tion.jda.api.interactions.components.Button;
import net.dv8tion.jda.api.interactions.components.Component;