Skip to content

Instantly share code, notes, and snippets.

View notmarek's full-sized avatar
🗾
haha

Marek Veselý notmarek

🗾
haha
View GitHub Profile
@notmarek
notmarek / pokemon.proto
Created March 17, 2026 13:08
Pokemon GO protos
This file has been truncated, but you can view the full file.
// Dumped by marek
// 0.403.0
syntax = "proto3";
package POGOProtos.Rpc;
enum ClientOperatingSystem {
CLIENT_OPERATING_SYSTEM_OS_UNKNOWN = 0;
CLIENT_OPERATING_SYSTEM_OS_ANDROID = 1;
CLIENT_OPERATING_SYSTEM_OS_IOS = 2;
CLIENT_OPERATING_SYSTEM_OS_DESKTOP = 3;
{
const RestAPI = Vencord.Webpack.Common.RestAPI || Vencord.Webpack.findByProps("get", "post", "put", "del");
const regex = /(\d\d)\:(\d\d) left/gm;
let stuff = document.querySelectorAll("div[id*='quest-tile']");
for (let thing of stuff) {
if (thing.querySelector("div[class*='description']").innerText.includes("Watch")) {
let btn = thing.querySelector("div[class*='buttonChildren'] span");
console.log(btn.innerText);
if (btn.innerText.includes("left")) {
let m = regex.exec(btn.innerText);
@notmarek
notmarek / kindle_get_ota.py
Created January 29, 2025 20:51
Simple script to grab latest direct ota url for your kindle
from Crypto.Hash import SHA256
from Crypto.PublicKey import ECC
from Crypto.Signature import DSS
from urllib.parse import urlparse
import re
import json
import requests
import datetime
import base64
import sys
import requests
import json
import re
from requests_toolbelt.multipart.encoder import MultipartEncoder
WEBHOOK = ""
TOKEN = ""
CHANNEL_ID = ""
AVATAR_URL = lambda uid, aid: f"https://cdn.discordapp.com/avatars/{uid}/{aid}.webp?size=96"
EMOJI = lambda name, id: f"[{name}](https://media.discordapp.net/emojis/{id}.webp?size=48&quality=lossless&name={name})"
STICKER = lambda name, id: f"[{name}](https://media.discordapp.net/stickers/{id}.webp?size=240)"
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <cstdint>
#include <filesystem>
#include <format>
#include "MinHook.h"
#define ORIG(fn) static_cast<decltype(&(fn))>(o_##fn)

AssetOwnership.DeviceSharingUpdated

Name Type Access Value
adm_message Str w
adm_registration Str w
s2dm_message Str w

CampaignSync.Invalidate

Name Type Access Value
adm_message Str w
// ==UserScript==
// @name New script - animebytes.tv
// @namespace Violentmonkey Scripts
// @match https://animebytes.tv/torrents.php*
// @grant none
// @version 1.1
// @author -
// @description 11/10/2023, 4:38:44 PM
// ==/UserScript==
(async()=>{
// ==UserScript==
// @name SendToClient
// @namespace NotMareks Scripts
// @description Painlessly send torrents to your bittorrent client.
// @match *://*.gazellegames.net/*
// @match *://*.animebytes.tv/*
// @match *://*.orpheus.network/*
// @match *://*.passthepopcorn.me/*
// @match *://*.greatposterwall.com/*
// ==UserScript==
// @name AnilistBytes
// @match https://anilist.co/*
// @match https://animebytes.tv/*
// @run-at document-end
// @version 1.9.9
// @author notmarek
// @updateURL https://gist.github.com/notmarek/4d1d8f91cb90b4b1292fb7c8e28b8f16/raw/AnilistBytes.user.js
// @downloadURL https://gist.github.com/notmarek/4d1d8f91cb90b4b1292fb7c8e28b8f16/raw/AnilistBytes.user.js