Skip to content

Instantly share code, notes, and snippets.

View NeRdTheNed's full-sized avatar

Ned Loynd NeRdTheNed

View GitHub Profile
@dakanji
dakanji / Install_USB_Maker.sh
Last active February 24, 2025 17:21
Creates Bootable USB for Mac OS Lion to Monterey (Excluding Mavericks)
#!/usr/bin/env bash
# Install_USB_Maker.sh
# Copyright (c) 2020 - 2025 Dayo Akanji
# - [email protected]
# Portions Copyright (c) Jeff Geerling
# - https://github.com/geerlingguy/macos-virtualbox-vm/blob/master/LICENSE
#
# MIT License
import com.mojang.datafixers.util.Function3;
import com.mojang.serialization.Codec;
import com.mojang.serialization.codecs.RecordCodecBuilder;
import net.minecraft.block.BlockState;
import java.util.List;
public class CodecExample {
public static final Codec<CodecExample> CODEC = RecordCodecBuilder.create(
instance -> instance.group(
@sdaugherty
sdaugherty / minecraft_admin_tooling.md
Last active July 15, 2020 15:02
things that minecraft server owners need

This is a general wishlist of things that server owners need, particularly for successful public servers. Not every server will need all of these, but, these solve real problems for server admins.

Tools to combat Cheating / Griefing

  • Logging, logging, logging - block logging, logging of anomolous events, filters to make sense of all this
    • Ability to log just specific events (break diamond, chest interaction, etc)
    • Statistical detection of possible cheats based on behavior
  • Anti-XRay based on lying to clients about all the blocks they can't see
  • A completely airtight vanish implementation (spectate without showing up on the user list, and without introducing side effects that other clients could detect)
  • Rollback tools (partly covered by worldedit, but it would be nice to be able to do a rollback of a particular user's actions)
  • See locations and logs of all players
@comp500
comp500 / fabricserversidemods.md
Last active September 3, 2024 03:23
Useful Fabric server side mods
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active February 3, 2025 09:49
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?

#include <iostream>
#define XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#define X ;
#define Y class
#define Z {
#define R : public A {
#define X十 public:
#define Xー private:
#define HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX };
@Vatuu
Vatuu / SpellcasterEntity.java
Created April 30, 2020 16:41
A entity template for spellcasting entities, with a spell registry and all.
import net.minecraft.entity.EntityType;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.ai.goal.Goal;
import net.minecraft.entity.data.DataTracker;
import net.minecraft.entity.data.TrackedData;
import net.minecraft.entity.data.TrackedDataHandler;
import net.minecraft.entity.data.TrackedDataHandlerRegistry;
import net.minecraft.entity.mob.HostileEntity;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.network.PacketByteBuf;
@knightsc
knightsc / build-xnu-6153.11.26.sh
Created February 18, 2020 15:08
A script to build XNU version 6153.11.26 (macOS Catalina 10.15).
#! /bin/bash
#
# build-xnu-6153.11.26.sh
# Scott Knight
#
# Based on the script by Brandon Azad
# https://gist.github.com/bazad/654959120a423b226dc564073b435453
#
# A script showing how to build XNU version 6153.11.26 on macOS Catalina
# 10.15 with Xcode 11.13.1.
Range Count
1060000000 1029447
1050000000 9997326
1040000000 9984846
1030000000 9981487
1020000000 9978689
1010000000 9978952
1000000000 9978825
990000000 9988693
980000000 9993601