Skip to content

Instantly share code, notes, and snippets.

View cjh0613's full-sized avatar
🎯
Focusing

峽州仙士 cjh0613

🎯
Focusing
View GitHub Profile
@cjh0613
cjh0613 / android-backup-apk-and-datas.md
Created March 19, 2025 12:36 — forked from AnatomicJC/android-backup-apk-and-datas.md
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@cjh0613
cjh0613 / douyin.txt
Created May 29, 2023 04:33 — forked from JamesHopbourn/douyin.txt
抖音、快手等软件 DNS 域名污染,局域网内屏蔽相关流量
set system static-host-mapping host-name aaid.umeng.com inet 127.0.0.1
set system static-host-mapping host-name abtest-ch.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name activity-aghbwh.awemeughun.com inet 127.0.0.1
set system static-host-mapping host-name ai.login.umeng.com inet 127.0.0.1
set system static-host-mapping host-name api1.kuaishoupay.com inet 127.0.0.1
set system static-host-mapping host-name api3-core-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name api3-normal-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name api5-core-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name api5-normal-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name api100-core-c333.amemv.com inet 127.0.0.1
@cjh0613
cjh0613 / nianfo.py
Created April 27, 2022 02:39 — forked from qinmenghua/nianfo.py
TudouCode Demo in Python 3. 与佛论禅 Python 3 版 Demo(源码参见 https://github.com/lersh/TudouCode/ )。
# !/usr/bin/env python3
#
# nianfo.py - TudouCode Demo in Python 3
# Credit: https://github.com/lersh/TudouCode/
#
# Note:
#
# This is the first version('佛曰') of TudouCode('与佛论禅').
# The second version('如是我闻') needs compression and I can't debug.
#
@cjh0613
cjh0613 / README-badges.md
Created July 21, 2021 04:00 — forked from tterb/README-badges.md
A collection of README badges

Badges

License

MIT License GPLv3 License AGPL License

Version

Version GitHub Release

@cjh0613
cjh0613 / 身份证校验码计算器.bat
Created July 31, 2017 05:00
中国身份证校验码计算器
@echo off
cls&setlocal enabledelayedexpansion
title 身份证校验码计算器
:start
echo.
echo 身份证校验码计算器
echo.
set /p sfz=‘输入无校验码的号码(17位):
set /a s1=%sfz:~0,1%*7
set /a s2=%sfz:~1,1%*9