Skip to content

Instantly share code, notes, and snippets.

View IceCruelStuff's full-sized avatar

IceCruelStuff

View GitHub Profile
@IceCruelStuff
IceCruelStuff / keybase.md
Created August 18, 2023 20:07
keybase.md

Keybase proof

I hereby claim:

  • I am icecruelstuff on github.
  • I am icecruelstuff (https://keybase.io/icecruelstuff) on keybase.
  • I have a public key ASAmRx3Sl1uat8NFnx-ED4fqSD3rTKCm-vDtuAZPe4WCCAo

To claim this, I am signing this object:

@IceCruelStuff
IceCruelStuff / EnableDiscordDevExperiments.md
Created December 7, 2022 06:36 — forked from JohannesMP/EnableDiscordDevExperiments.md
Enabling Discord Dev Experiments on Discord for Windows (2022-02)

Enable Dev Experiments in Discord for Windows

image

This guide shows how to enable dev mode for the Discord desktop application running on Windows (as of February 2022).

This can be used to view beta experiments to try features currently in development that are included but hidden by default in Discord release builds.


@IceCruelStuff
IceCruelStuff / readme.md
Created July 30, 2022 18:52 — forked from kennytv/readme.md
Signed Chat and Chat Types

Signed chat

This gist intends on clearing up some of the misinformation surrounding signed chat/the reporting feature Mojang has added to Minecraft 1.19.1. Here you can find both technical information as well as a general explanation of how these work.

Profile keys

When joining a server, clients now send an extra profile key used for verifying a message's authenticity. This key and thus the whole signing process is optional, but by default, servers enforce secure profiles. Whenever the player sends a chat message and has joined with a key, the message will be signed using their own private key, which the server then verifies using the public key sent on join. Assuming signature, timestamp, and message contents line up, the message goes through.

On the other end, clients can also require all broadcasted player messages to be signed, disregarding the ones without sender verified signatures.

Message signatures

@IceCruelStuff
IceCruelStuff / OhNoLunuarClient"Protection"Cracked:(.java
Created June 25, 2022 00:09 — forked from realdirt/OhNoLunuarClient"Protection"Cracked:(.java
For the people who do not know that you only have to rename the classes
public static void main(String[] args) {
File origFile = new File(System.getenv("USERPROFILE") + "\\.lunarclient\\offline\\1.8\\lunar-prod-optifine.jar");
try {
JarFile jarFile = new JarFile(origFile);
JarOutputStream jarOutputStream = new JarOutputStream(new FileOutputStream("LunarClient.jar"));
Enumeration<JarEntry> enumeration = jarFile.entries();
while (enumeration.hasMoreElements()) {
JarEntry jarEntry = enumeration.nextElement();
if (jarEntry.getName().endsWith(".lclass")) {
<html><body>
<style>
html, body {
background: rgb(245, 245, 245);
margin: 0;
padding: 0;
}
div {
position: relative;
overflow: hidden;
@IceCruelStuff
IceCruelStuff / cards.ts
Created March 7, 2022 00:29 — forked from melmsie/cards.ts
Dank Memer Blackjack Command Files
import * as Constants from './constants';
const randomInArray = <T>(arr: readonly T[]): T =>
arr[Math.floor(Math.random() * arr.length)];
export interface Card {
suit: typeof Constants.SUITS[number];
face: typeof Constants.FACES[number];
baseValue: number;
};
@IceCruelStuff
IceCruelStuff / .. MediaCreationTool.bat ..md
Created September 30, 2021 21:37 — forked from AveYo/.. MediaCreationTool.bat ..md
Universal MediaCreationTool wrapper for all MCT Windows 10 versions from 1507 to 21H1 with business (Enterprise) edition support

Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
Preview
A powerful yet simple windows 1X deployment automation tool as well!

awesome gui dialogs to pick windows version and preset action
Auto Setup choice for upgrade directly without prompts, with edition change / intelligent fallback
Create ISO choice for authoring iso file directly via DIR2ISO snippet, including any 'oem' customizations
Create USB choice for authoring usb via native MCT, including any 'oem' customizations (prompts once)
Select in MCT choice for vanilla MCT processing without 'oem' modifications, script quits straightway
control via set script vars, commandline parameters or rename script like iso 21H2 Pro MediaCreationTool.bat

@IceCruelStuff
IceCruelStuff / net.js
Created June 13, 2021 17:36 — forked from sid24rane/net.js
Simple TCP Client and Server in Node.js (Covering all useful Properties & Methods)
var net = require('net');
// creates the server
var server = net.createServer();
//emitted when server closes ...not emitted until all connections closes.
server.on('close',function(){
console.log('Server closed !');
});
@IceCruelStuff
IceCruelStuff / Minecraft Accounts.md
Created June 8, 2021 02:08 — forked from jomo/Minecraft Accounts.md
Tracking down Minecraft account creation

Tracks down when a Minecraft account was created.

How it works

Mojang has an API endpoint for usernames:

https://api.mojang.com/users/profiles/minecraft/<name>?at=<timestamp>

It can be used to find the UUID of an account, by username it used at the given time.
It returns either 200 OK or 204 No Content – indicating that the username was not in use at the time.

@IceCruelStuff
IceCruelStuff / README.md
Created May 13, 2021 05:29 — forked from dktapps/README.md
Minecraft PE Android crashdump decoder script

Minecraft PE crashdump decoder

Setting up environment

Install depot_tools and make sure the tools are available in your PATH variable. You might need to add them to your path manually.

Getting a crashdump file

Requirements:

  • A rooted Android device with MCPE installed.
  1. Trigger the crash you want to debug. When your game crashes, DON'T RESTART IT.