Skip to content

Instantly share code, notes, and snippets.

View RainerZufall187's full-sized avatar

Rainer RainerZufall187

View GitHub Profile
local function addmod2w(a, b)
return (a + b) % (2 ^ 32)
end
local function Ch(x, y, z)
return bit32.bxor(bit32.band(x, y), bit32.band(bit32.bnot(x), z))
end
local function Maj(x, y, z)
return bit32.bxor(bit32.bxor(bit32.band(x, y), bit32.band(x, z)), bit32.band(y, z))

Decompile Minecraft Server

1. download and run server and copy mappings url

  • open your minecraft folder
  • find and open your versions .json with vscode for formatting
  • format (shift + alt + f)
  • find download key in json and download the server.jar
  • copy server_mappings url
  • now execute the server.jar one time to download the real server jar
  • there is now a versions folder open and copy the server-{mc version}.jar to your root folder and delete every other server files
@RainerZufall187
RainerZufall187 / private_fork.md
Last active May 6, 2024 19:15 — forked from 0xjac/private_fork.md
Create a private fork of a public repository
  1. duplicate original repository here: https://github.com/new/import

  2. clone your own private repo

  3. add upstream

    git remote add upstream https://github.com/EXAMPLE-USER/ORIGINAL-REPOSITORY.git
    git remote set-url --push upstream DISABLE

list all your remotes with git remote -v