Skip to content

Instantly share code, notes, and snippets.

View streamingdv's full-sized avatar
😃
Developing...

streamingdv

😃
Developing...
View GitHub Profile
@streamingdv
streamingdv / base64AccountIdConverter.py
Created March 9, 2024 20:58
PSN base64 account id converter
import base64
# Your example Base64 encoded account ID
encoded_user_id = "ppppppppppp="
# First, decode the Base64 string to bytes
user_id_bytes = base64.b64decode(encoded_user_id)
# Then, convert the bytes back to an integer
# Ensure you use the same byte order ("little" in this case) as you used when encoding
@streamingdv
streamingdv / placebo_jni.cpp
Created December 30, 2023 02:33
Libplacebo JNI test example
#include "com_grill_placebo_PlaceboManager.h"
#include <cstdlib>
#include <string>
#include <vector>
#include <jni.h>
#ifdef _WIN32
#include <windows.h>
#else