Skip to content

Instantly share code, notes, and snippets.

View Bimmr's full-sized avatar
🕹️
Nothing in particular

Randy Bimmr

🕹️
Nothing in particular
View GitHub Profile
@Bimmr
Bimmr / YouTubeNotificationsChanger.js
Last active February 20, 2024 14:44
YouTube bulk subscription notification changer
//Paste into browser console
let subscriptions = document.querySelectorAll("ytd-channel-renderer.ytd-expanded-shelf-contents-renderer"),
index = 0
changeNotification(subscriptions[index++])
function changeNotification(subscription){
if(!subscription) return
let subName = subscription.querySelector(".style-scope.ytd-channel-name #text").textContent
subscription.querySelector("ytd-subscription-notification-toggle-button-renderer-next button").click()
@Bimmr
Bimmr / SQLManager.java
Created October 3, 2017 15:28
SQL & SQLLite
package com.bimmr.classtracker.Database;
import android.util.Log;
import java.sql.*;
import java.util.*;
public class SQLManager {
@Bimmr
Bimmr / CoolDown
Created October 6, 2014 20:02
Easy way to manage Cooldowns
import java.util.HashMap;
/**
*
* @author Randy
*
*/
@Bimmr
Bimmr / Coord
Created October 6, 2014 20:01
Easy way to manage Locations
import org.apache.commons.lang.StringUtils;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.World;
/**
*
@Bimmr
Bimmr / ItemUtil
Last active August 29, 2015 14:07
Easy way to manage Items
/**
*
* @author Randy
*
*/
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import java.util.Map.Entry;
@Bimmr
Bimmr / PotionUtil
Last active August 29, 2015 14:07
Easy way to manage potion effects
import java.util.ArrayList;
import java.util.List;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
/**
*
* @author Randy
@Bimmr
Bimmr / StringUtil
Last active August 29, 2015 14:07
A Bunch of different methods to do with strings
import java.util.List;
import java.util.Random;
import org.apache.commons.lang.StringUtils;
import org.bukkit.ChatColor;
/**
*
* @author Randy
*
@Bimmr
Bimmr / MySQLManager
Last active August 29, 2015 13:57
MySQLManager
// Using the MySQL Library (https://forums.bukkit.org/threads/tutorial-using-mysql-in-your-plugins.132309/), I created a class that makes using the library easier
package MySQL;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.UUID;
@Bimmr
Bimmr / TeleportFixThree.java
Last active December 20, 2015 15:29 — forked from Zidkon/TeleportFixThree.java
Just a few minor code fixes(No Change in how it works)
package com.comphenix.example;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Server;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;