Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Spotify ad skipper
// @version 1.0
// @namespace http://tampermonkey.net/
// @description Detects and skips ads on spotify
// @match https://*.spotify.com/*
// @grant none
// @run-at document-start
// @downloadURL https://gist.githubusercontent.com/Simonwep/24f8cdcd6d32d86e929004013bd660ae/raw
// @updateURL https://gist.githubusercontent.com/Simonwep/24f8cdcd6d32d86e929004013bd660ae/raw
@qpwo
qpwo / monte_carlo_tree_search.py
Last active July 13, 2025 13:10
Monte Carlo tree search (MCTS) minimal implementation in Python 3, with a tic-tac-toe example gameplay
"""
A minimal implementation of Monte Carlo tree search (MCTS) in Python 3
Luke Harold Miles, July 2019, Public Domain Dedication
See also https://en.wikipedia.org/wiki/Monte_Carlo_tree_search
https://gist.github.com/qpwo/c538c6f73727e254fdc7fab81024f6e1
"""
from abc import ABC, abstractmethod
from collections import defaultdict
import math
1. Download latest apktool version.
2. Download the batch file and aapt.exe.
3. Create a folder anywhere in the PC and put all the apktool.jar, aapt.exe and the batch script in that folder.
4. Open command prompt.
5. Navigate to the folder where you placed apktool.jar, batch script and the aapt.exe.
6. Now, you need to install the file using the " IF " command.
7. Type the following command.
apktool if name-of-the-app.apk
@imneonizer
imneonizer / how-to-download-from-pan-baidu.md
Last active July 16, 2025 02:20
How to download from pan.baidu without account

TUTORIAL BY Senti#7498

Modified for genshin.exzork.me

How to run mitmproxy on android without needing a PC. Rooted users

  1. Install the magisk module to trust user certificates. You don't need to reboot after installing, we'll reboot later. https://github.com/NVISOsecurity/MagiskTrustUserCerts/releases/tag/v0.4.1 Non root users
  2. Install patched apk that accepts user ca certs, unfortunately you will have to uninstall the regular apk https://file.yuuki.me/0:/Leak/uc-patched.apk If the patched apk is not working you can patch it yourself by extracting the apk using SAI (on Play Store) & using apk-mitm. https://github.com/shroudedcode/apk-mitm 1b. Download the game files in the patched apk, or restore a backup if possible
@TameemS
TameemS / debloatLDPlayer.md
Last active July 11, 2025 14:27
Debloating LDPlayer

Inspired by this

More of my guides: Debloating MEMu - Debloating Nox (Updated)

This mainly applies to LDPlayer9. They will probably work on the low end options (like LDPlayer5) but not guaranteed.

Debloating LDPlayer

This emulator seems to have less stability issues than MEMu. I think we get the shtick that these emulators do spooky stuff.

  1. Download LDPlayer, preferably an offline version from the version history