Skip to content

Instantly share code, notes, and snippets.

View soybeans-generator's full-sized avatar

soybeans-generator

View GitHub Profile
@soybeans-generator
soybeans-generator / waydroidwsl2.txt
Created June 9, 2025 01:42 — forked from onomatopellan/waydroidwsl2.md
Waydroid in WSL2 with sound (Weston on top of Weston approach)
Recommended to install Waydroid in a brand new Ubuntu 25.04 install
Waydroid needs a custom linux kernel. It just needs latest kernel for WSL2
https://github.com/microsoft/WSL2-Linux-Kernel/blob/linux-msft-wsl-6.6.y/arch/x86/configs/config-wsl
With just these changes before compiling:
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
CACHE_INFO: 127.0.0.1
CF_CONNECTING_IP: 127.0.0.1
CF-Connecting-IP: 127.0.0.1
CLIENT_IP: 127.0.0.1
Client-IP: 127.0.0.1
COMING_FROM: 127.0.0.1
CONNECT_VIA_IP: 127.0.0.1
FORWARD_FOR: 127.0.0.1
FORWARD-FOR: 127.0.0.1
FORWARDED_FOR_IP: 127.0.0.1
@soybeans-generator
soybeans-generator / peacock.js
Created April 30, 2025 00:57 — forked from xhlove/peacock.js
peacock HMAC key frida hook script, use frida 14.2.18
function jhexdump(array) {
if(!array) return;
console.log("---------jhexdump start---------");
var ptr = Memory.alloc(array.length);
for(var i = 0; i < array.length; ++i)
Memory.writeS8(ptr.add(i), array[i]);
console.log(hexdump(ptr, {offset: 0, length: array.length, header: false, ansi: false}));
console.log("---------jhexdump end---------");
}
@soybeans-generator
soybeans-generator / mpv_render_context_gtk_example.py
Created December 2, 2024 19:01 — forked from jaseg/mpv_render_context_gtk_example.py
Basic test of python-mpv mpv render context mapping used with GTK
#!/usr/bin/env python3
import ctypes
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib
gi.require_version('GL', '1.0')
from OpenGL import GL, GLX
// ==UserScript==
// @name Bypass Detect-Devtool
// @namespace http://tampermonkey.net/
// @version 0.1
// @description bypass https://github.com/theajack/disable-devtool
// @author Wagyourtail
// @match {site}
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.io
// @grant none
// ==/UserScript==