Skip to content

Instantly share code, notes, and snippets.

View kotori2's full-sized avatar

双草酸酯 kotori2

  • WFH
  • Earth
  • 01:02 (UTC -07:00)
View GitHub Profile
@kotori2
kotori2 / migrate.py
Created January 28, 2025 00:14
Bluesky migration to your own PDS
import atproto
import atproto_crypto.algs
import atproto_crypto.did
import atproto_crypto.consts
import tqdm
import cryptography.hazmat.primitives.asymmetric.ec as ec
import cryptography.hazmat.primitives.serialization as serialization
'''
Compiling an Android project that depends on OpenSSL using Prefabs
Prefabs are a new feature of the Android Gradle Plugin 4.0.
Here is an outdated but still informative blog post about the subject:
https://android-developers.googleblog.com/2020/02/native-dependencies-in-android-studio-40.html
In the app build.gradle you simply add:
dependencies {
implementation 'com.android.ndk.thirdparty:openssl:1.1.1g-alpha-1'
@LukeZGD
LukeZGD / ios-downgrade-dualboot.md
Last active April 20, 2025 11:45
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2025-04-04

Minecraft on Apple Silicon

In this gist, you can find the steps to run Minecraft 1.16.4 natively on Apple Silicon (AS), without needing Rosetta 2 translation of the dependencies (mainly LWJGL and related libraries).

While it's possible to use a launcher like MultiMC to have a prettier way to run the game on AS, it requires installing even more dependencies (like QT) which take time and are difficult to distribute. Therefore, I've put together a command line-based launcher tool using a couple shell & Python scripts.

To get up and running quickly, follow the steps below. Otherwise, for more detail, watch my YouTube video.

Download my package

@wumb0
wumb0 / PatchExtract.ps1
Last active April 15, 2025 07:45
extract microsoft MSU files
<#
____ _ _
| _ \ __ _| |_ ___| |__
| |_) / _` | __/ __| '_ \
| __/ (_| | || (__| | | |
|_| \__,_|\__\___|_| |_|
_____ _ _
| ____|_ _| |_ _ __ __ _ ___| |_
| _| \ \/ / __| '__/ _` |/ __| __|
@NyaMisty
NyaMisty / _IDAPython-Snippets.md
Last active July 31, 2023 07:13
IDAPython snippets

This gist contains lots of my written IDAPython snippets.

@esterTion
esterTion / applink.m
Last active October 20, 2021 19:34
AppLink for iOS 9+ (Symlink app/data dir under Documents/App-link)