This file contains hidden or 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
local notify = {} | |
notify.__index = notify | |
-- Green 150, 185, 1 | |
-- Red 255, 24, 24 | |
notify.invoke_callback = function(timeout) | |
return setmetatable({ | |
active = false, | |
delay = 0, |
This file contains hidden or 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
/** | |
* Nuxt CSS Remapper | |
* @author SamHoque | |
*/ | |
const rules = config.module.rules; | |
const cssLoader = rules.find(rule => rule.test.toString() === '/\\.css$/i'); | |
/** | |
* Remap oneOf array | |
*/ |
This file contains hidden or 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
public class Main { | |
static final String MODID = "Rab"; | |
static final String VERSION = "1.0"; | |
private Minecraft mc = Minecraft.getMinecraft(); | |
private boolean repair; | |
@Mod.EventHandler | |
public void init(final FMLPreInitializationEvent event) { | |
MinecraftForge.EVENT_BUS.register(this); | |
} |
This file contains hidden or 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
/** | |
* Yahoo Mass Mail Deleter | |
* @version 1.0.0 | |
* @author Sam Hoque | |
* @description I made this little script due to yahoo only showing me 3 emails at a time out of 1200 mails! and there was no way to get rid of them all quickly. | |
* @license MIT | |
*/ | |
//Save reference to the JQuery dollar sign variable, for some reason this becomes null, so we store it in a variable. | |
const jquery = $; |