Skip to content

Instantly share code, notes, and snippets.

View RedTeaDev's full-sized avatar

RedTea RedTeaDev

View GitHub Profile

22w19a docs

Known Issues

  • Crash when warden gets angry at multiple mobs MC-251641

Changes

Note that for convenience, the following will use proposed Yarn names that are not yet merged.

Chat and Networking

Chat Preview was added, allowing server-side decorated messages to be signed. Basically this works like this:

  1. Server enables chat preview (with server.properties)
@Joshix-1
Joshix-1 / allowNsfw.plugin.js
Last active November 3, 2023 00:46
With this better discord plugin you can see NSFW channels if you are to dumb to tell discord you are over 18.
//META{"name":"AllowNSFW","authorId":"564843886434975745","website":"https://github.com/joshix-1", "source":"https://gist.github.com/Joshix-1/393c90ca7a64cbe5ab213ef12bd3bff8"}*//
module.exports = class AllowNSFW {
getName() {return "AllowNSFW";}
getDescription() {return "With this plugin you can see NSFW channels if you are to dumb to tell discord you are over 18.";}
getVersion() {return "0.0.1";}
getAuthor() {return "Joshix";}
load() {}
start() {
this.update();
@MRuy
MRuy / 00-README.md
Last active May 9, 2024 22:06
List of CS:GO gambling and scam sites

CSGO gambling and scam websites

The txt file contains a list of legit and scam gambling websites.
The file is not active maintained anymore but i put some examples images to detect scam on this gist.

I spent a while writing this out, so please give it a read and try this out. You'll thank me soon!

Explenations

Why shouldn't you be using static?

Static is not evil, however you are using it wrong. This is known as 'static abuse'. http://stackoverflow.com/questions/1766715/when-not-to-use-the-static-keyword-in-java http://stackoverflow.com/questions/7026507/why-are-static-variables-considered-evil

I would highly advise checking out the first 20 or so of the new boston's java tutorials. Some may disagree, however I believe that they are very helpful

@xero
xero / irc.md
Last active May 21, 2024 12:38
irc cheat sheet

IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.

channel operator quick reference

direct discussion about administrative action away from the main channel and into #reddit-diabetes-ops to minimise disruption. our -ops channel is the place where users should come to ask for our help. examples:

  • any sort of operator request or discussion of channel administration in the main channel
  • PMs asking why a ban was set
  • reports of harassment (unless the user is confiding in you)
  • any request for operator action

changing channel access permissions