Skip to content

Instantly share code, notes, and snippets.

View deeprobin's full-sized avatar
🌚
Working on cliff

Robin Lindner deeprobin

🌚
Working on cliff
View GitHub Profile
@OverHash
OverHash / main.rs
Created July 10, 2022 23:22
Minecraft OAuth Authentication Rust Example
use std::{
collections::HashMap,
fs,
io::{self, Write},
};
use reqwest::Client;
use serde::{Deserialize, Serialize};
use serde_json::json;
@Plagiatus
Plagiatus / ms_auth_class.ts
Created September 12, 2021 15:19
A basic implementation for a full flow of Microsoft-Login -> Minecraft Auth + Player Info. No error handling included for easier understandability.
import { XMLHttpRequest } from "xmlhttprequest";
interface AuthorizationTokenResponse {
token_type: string,
expires_in: number,
scope: string,
access_token: string,
refresh_token: string,
user_id: string,
foci: string
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 6, 2025 20:31
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example