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:
I hereby claim:
To claim this, I am signing this object:
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.
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.
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.
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; |
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; | |
}; |
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
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 likeiso 21H2 Pro MediaCreationTool.bat
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 !'); | |
}); |
Tracks down when a Minecraft account was created.
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.
Install depot_tools and make sure the tools are available in your PATH
variable. You might need to add them to your path manually.
Requirements: