Skip to content

Instantly share code, notes, and snippets.

@dewycube
dewycube / minecraft_token.py
Last active October 18, 2025 03:39
Minecraft Token
# This is how you get a minecraft token using a microsoft account (like the launcher does).
# The minecraft token is used to join servers, change username, skin, cape, ...
# License: do whatever you want.
# Reference: https://minecraft.wiki/w/Microsoft_authentication
import requests
print("Login at https://login.live.com/oauth20_authorize.srf?client_id=00000000402B5328&redirect_uri=https://login.live.com/oauth20_desktop.srf&response_type=code&scope=service::user.auth.xboxlive.com::MBI_SSL")
blank_page_url = input("After logging in you will be redirected to a blank page, paste its url here: ")
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 6, 2025 18:34
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@cprima
cprima / README.md
Last active October 25, 2025 11:02
Google MyActivity YouTube Comment Delete Script 💬❌

CommentCleanser for YouTube 💬❌

Description

Looking to take control of your digital history? CommentCleanser for YouTube lets you efficiently delete old YouTube comments from Google's MyActivity. Prioritize the removal of older comments, ensuring a leaner digital footprint and a conscious cleanup of your online history.

The script has been designed for users who have a significant number of YouTube comments and wish to delete them in bulk from Google's MyActivity page. By leveraging JavaScript, it provides a means to automate the process of deleting individual comments, offering the user control over how many comments to delete at once.

@darksunlight
darksunlight / discord-tokens.md
Last active November 4, 2025 20:02
Understanding Discord Tokens

Understanding Discord Tokens

There are two types of Discord tokens: normal tokens and MFA tokens.

Normal Tokens

Normal tokens can be split into 3 parts, each separated by a period/dot. The first part is the user ID string/snowflake in base64. The third part is the HMAC digest.

The second part is slightly more interesting. It is the timestamp at which the token was generated at, but depending on when the token was generated, you may have to add in an additional 1.1e9 to 1.3e9 to the retrieved timestamp to get the true timestamp.

Basic validations

If you want to verify if a token is real, but don't want to test token against Discord's servers, you can use the rules above (for the first and second parts) to filter out obvious fake tokens.

<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
@alphaolomi
alphaolomi / index.md
Last active June 23, 2025 20:10
Quote of the Day (QOTD) Protocol

Quote of the Day

from https://www.gkbrk.com/wiki/qotd_protocol/

Tags: networking protocol

Quote of the Day is a simple protocol that is used to deliver daily quotes. Although its usage is almost nonexistent these days, there are still a few public servers. The protocol is defined by RFC 865. According to the RFC, a QOTD server is run on port 17 for TCP and UDP connections.

The RFC recommends that;

@Birdie0
Birdie0 / ifttt-webhooks-extended-guide.md
Last active December 2, 2025 18:07
How to use Discord Webhooks

⚠️ This gist is no longer updated! For maintained, improved and even more extended guide click here.


How to use Discord Webhook

It's a JSON

First, learn JSON. It's not programming language, not even close. Just follow syntax rules and you will be fine.

@varqox
varqox / install_debian_with_debootstrap_howto.md
Last active December 3, 2025 01:53
Instructions how to install Debian using debootstrap