Skip to content

Instantly share code, notes, and snippets.

😀
please focus

Aha huhuang03

😀
please focus
Block or report user

Report or block huhuang03

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View repo order
repo sync -f --force-sync --no-clone-bundle --no-tags -j$(nproc --all)
View miui_start_activity
private fun miuiPermissionIntent(context: Context): Intent {
val intent = Intent("miui.intent.action.APP_PERM_EDITOR")
intent.putExtra("extra_pkgname", context.packageName)
if (hasActivity(context, intent)) return intent
intent.setPackage("com.miui.securitycenter")
if (hasActivity(context, intent)) return intent
intent.setClassName("com.miui.securitycenter", "com.miui.permcenter.permissions.AppPermissionsEditorActivity")
return intent
View uninstall Wireshark
How do I uninstall?
1. Remove /Applications/Wireshark.app
2. Remove /Library/Application Support/Wireshark
3. Remove the wrapper scripts from /usr/local/bin
4. Unload the org.wireshark.ChmodBPF.plist launchd job
5. Remove /Library/LaunchDaemons/org.wireshark.ChmodBPF.plist
6. Remove the access_bpf group.
7. Remove /etc/paths.d/Wireshark
8. Remove /etc/manpaths.d/Wireshark
View make busybox err log
bash-3.2$ m iso_img
make: Entering directory '/Volumes/android/source/android-x86'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
TARGET_PRODUCT=android_x86
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
View Makefile busybox
VERSION = 1
PATCHLEVEL = 22
SUBLEVEL = 1
EXTRAVERSION =
NAME = bionic
# prevent local tree builds in bionic,
# but allow initial version check (SUBMAKE)
ifeq (,$(filter s, $(MAKEFLAGS)))
KBUILD_OUTPUT ?= $(OUT)/obj/busybox
View lua_dump firda
attach进程的两种方式,第一种是重新运行游戏
device = frida.get_usb_device()
pid = device.spawn("com.cocos2d.fishingfun.uc")
session = device.attach(pid)
device.resume(pid)
第二种是运行之后附加
device = frida.get_usb_device()
session = device.attach("com.cocos2d.fishingfun.uc")
View cydia hook java
AndroidManifest中的name为固定com.saurik.substrate.main
value为类名。.开头的话为相对包名
View 快速排序
#include <stdlib.h>
#include <stdio.h>
int len = 8;
void quick_sort_iter(int*, int, int);
void printArray(int array[], int len) {
for(int i = 0; i < len; i++) {
printf("%d ", array[i]);
View gist:e00909ccacbd499d1ac835b35d7d5770
刚开始都是相同的,都是将源输入分析成一个语法树。
但是之后,编译器会将语法树转换成其他语言。
而解释器一边分析语法树一边执行。
You can’t perform that action at this time.