Skip to content

Instantly share code, notes, and snippets.

View aaomidi's full-sized avatar

Amir Omidi aaomidi

  • Spirl
  • US
View GitHub Profile
@niespodd
niespodd / package.json
Last active May 8, 2023 09:07
Making web3/bitcore-lib work with Angular 6-11 and >=11
{...
"scripts": {
"postinstall": "node patch.js",
...
}
}
@Zenexer
Zenexer / Internet Slang and Emoticons.md
Last active February 14, 2022 23:32
Internet slang, abbreviations, and emoticons
@DarkSeraphim
DarkSeraphim / SkinChanger.java
Last active May 5, 2020 18:37
Notchifier - Thou shall be Notch
package net.darkseraphim.test;
import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.events.PacketAdapter;
import com.comphenix.protocol.events.PacketContainer;
import com.comphenix.protocol.events.PacketEvent;
import com.comphenix.protocol.wrappers.EnumWrappers;
import com.comphenix.protocol.wrappers.PlayerInfoData;
import com.comphenix.protocol.wrappers.WrappedGameProfile;
@DarkSeraphim
DarkSeraphim / InventoryUtil.java
Last active July 12, 2016 23:46
Utility to rename custom Bukkit inventories without opening a new inventory (only works with Inventories created by Bukkit.createInventory!)
package net.darkseraphim.utils;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory;
@DarkSeraphim
DarkSeraphim / MultiKeyMap.java
Last active August 29, 2015 14:02
Map with multiple keys to the same value, strict implementation
package net.darkseraphim.dungeons.util;
import org.apache.commons.lang.Validate;
import java.util.HashMap;
import java.util.Map;
/**
* @Author DarkSeraphim
*/
@DarkBlade12
DarkBlade12 / ParticleEffect.java
Last active December 23, 2023 16:20
This is a little library which allows you to display all possible particle effects in Minecraft with your plugin.
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.bukkit.Bukkit;