Skip to content

Instantly share code, notes, and snippets.

View tobyhinloopen's full-sized avatar

Toby Hinloopen tobyhinloopen

View GitHub Profile
EventEmitter = {};
EventEmitter.bind = function(event_name, fn) {
this.handlers || (this.handlers = {});
this.handlers[event_name] || (this.handlers[event_name] = []);
this.handlers[event_name].push(fn);
return this;
};
EventEmitter.emit = function(event_name) {
import { createHmac } from "crypto";
const createHash = (secret: string, payload: string): string =>
createHmac("sha256", secret).update(payload).digest("base64");
export const generateToken = (secret: string, payload: string): string => {
return createHash(secret, payload) + "$" + payload;
};
export const verifyToken = (secret: string, token: string): string | undefined => {

Moderatiebeleid Minecraft Server

Beste lezer,

In dit document poog ik een eenduidig beleid te omschrijven voor alle admins en moderators betrokken bij het beheer van de minecraft server. Dit document is een levend beleid en kan ieder moment gewijzigd worden.

Dit is geen geheim document - ook spelers van de server mogen dit document inzien.

Doel van de server

module.exports = function add(a, b) {
return a + b
};
0eNrVfV2Pm8lu5l8J+no0KNZ3DXKTYA/2JrsBNgiwwGJgyG3ZFo7c6lV3OxkE/u+RuqVXb7fr4yEpGfbNOZi2XhaLZFWRrIes/7p5v3la3e/Wd4/v3m+3f7/547/Of3m4+eP/zf7z8G/r2+3dy58f1p/ulpvD3x7/ul/d/HGzflx9ufnt5m755fBfD/er1YfFl+2Hp81q4W6+/Xazvvuw+s+bP+jbn7/drO4e14/r1Qul5//4693d05f3q93+BxON5cPD6sv7zfru0+LL8vbz+u5A6beb++3D/uPt3WHsPcGFdb/d/HX4f78fZbe6Xd+/ZWD/0YG7h8MXbxj7w3/79tt3PNiJh8320/rhcX27uP28enhc3O95Wn9dLe5326/rD/ufVtgxR3bCnp33y8OMKiO4aYSPyz3d9d3DavdYp0czeh/W+wm+/GusUPVn+T+9f3hcPv/ye5KUfw8nmf0eagIICgFQQgQQWyPsVv//af//ddJxRvr4w3cf15v9r19s6WRkZxv68HV5d7vX+O16d/u0ftwTvd0+HYzZ5gNXxw/OCt9P7Ha1n+Pe6J7umr93VUOf/dh++7My6a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