Skip to content

Instantly share code, notes, and snippets.

@rexchun
rexchun / LVUAAgentInstBaseRoot.md
Created May 13, 2025 01:54 — forked from sunsheng/LVUAAgentInstBaseRoot.md
删除 /opt/LVUAAgentInstBaseRoot
sudo su

杀死进程

ps -ef | grep LVS
kill -9 $PID

删除文件夹

@rexchun
rexchun / zygisk.md
Created February 23, 2023 08:40 — forked from 5ec1cff/zygisk.md
Zygisk 源码分析 #Magisk #Zygisk

Zygisk 源码分析

以下分析基于 Magisk 76ddfeb93a8b3612cd68988323f422e996751e16

由于 Magisk 更新太快了,决定弃坑,自己去看源码罢!

Zygisk 注入到 Zygote 进程

Zygisk 加载是通过替换 app_process ,修改 LD_PRELOAD ,再执行原 app_process 实现的。

@rexchun
rexchun / weread.user.js
Created January 11, 2023 07:33 — forked from jianyun8023/weread.user.js
weread download,直接生成epub。仅用于技术研究。
// ==UserScript==
// @name 微信读书下载
// @namespace http://tampermonkey.net/
// @version 0.5.1
// @description 下载微信读书的书籍资源
// @author tang
// @match https://weread.qq.com/web/reader/*
// @grant unsafeWindow
// @grant GM_setValue
// @grant GM_getValue
@rexchun
rexchun / javadoc.gradle
Created May 25, 2021 12:34 — forked from kibotu/javadoc.gradle
Gradle generate javadoc for Android.
// build a jar with source files
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}
task javadoc(type: Javadoc) {
failOnError false
source = android.sourceSets.main.java.sourceFiles
@rexchun
rexchun / effective_modern_cmake.md
Created June 28, 2020 05:00 — forked from mbinna/effective_modern_cmake.md
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@rexchun
rexchun / cloudSettings
Last active December 23, 2019 02:31 — forked from liberize/auto_adapt.sh
{"lastUpload":"2019-12-23T02:31:32.269Z","extensionVersion":"v3.4.3"}