Skip to content

Instantly share code, notes, and snippets.

View muink's full-sized avatar
🍭
🍭 🍭

Anya Lin muink

🍭
🍭 🍭
  • Azeroth land
View GitHub Profile
@muink
muink / disable-hyper-v.md
Last active October 19, 2025 06:59
未安装 Hyper-V 卻一直自动安装 Hyper-V Virtual Ethernet Adapters

未安装 Hyper-V 卻一直自动安装 Hyper-V Virtual Ethernet Adapters

方法

  1. 关闭 Windows 沙盒功能
  2. 以管理员执行以下脚本, 启用显示隐藏设备. 可能需要重启.

Show_Hidden_Devices.bat

@echo off
@muink
muink / dnsmasq_https_rr.py
Created September 24, 2025 14:39 — forked from alxrdn/dnsmasq_https_rr.py
Generate dnsmasq configuration for HTTPS resource records (RFC 9460)
import dns.rdata # pip3 install dnspython
import io
name = "host.example.com."
rclass = dns.rdataclass.IN
rtype = dns.rdatatype.HTTPS
rdata = '1 . alpn="h3,h2" ipv4hint="XXX.XXX.XXX.XXX"'
rd = dns.rdata.from_text(rclass, rtype, rdata)
@muink
muink / SM-DP2QRcode.sh
Last active August 30, 2025 05:47
SM-DP to QRCode
#!/bin/sh
# SM-DP+ Address*
ADDRESS='dp-plus-par07-01.oasis-smartsim.com'
# Activation Code*
TOKEN='FV1BB-CA7N1-R1ECQ-65IGF'
# Confimation Code
CCODE=''
# IMEI
IMEI=''
@muink
muink / apply-ota-on-rooted-android.md
Last active August 13, 2025 13:40
Applying Incremental OTA on a rooted Android device with AB partition

Applying Incremental OTA on a rooted Android device with AB partition

Take Oneplus 13 as an example

  1. Get the factory image of the current system version
    • Confirm the modified partitions, init_boot / boot / dtbo / recovery ?
      • If you are unsure, you can use md5 comparison or apply the new version using the Full OTA or flash the new factory images, then enter the standard root process
    • Get the factory images of these partitions
      • Can use payload-dumper to extract it from the stock Full OTA package of the current system version
  2. Restore the current system to stock
@muink
muink / new-amazon-app-change-country.md
Last active August 9, 2025 02:37
新版亚马逊APP切换国家教程

新版亚马逊APP切换国家教程

现在在中国打开亚马逊APP会直接提示升级最新版APP,即使是切换到其他语言、挂全局梯子也没用,就像下面这样。

点击查看图片

@muink
muink / res_groups.md
Last active May 19, 2025 07:44
Minecraft 资源分类
@muink
muink / SolidWorks_Spoof.sh
Created December 3, 2024 14:36 — forked from tamnil/SolidWorks_Spoof.sh
Simple script to make a Virtualbox VM hidden enough to install SolidWorks
#!/bin/bash
__get_random_string () {
openssl rand -hex "${1}" | cut -c "1-${1}"
}
__my_vm='W10'
@muink
muink / youtube-node.md
Created July 24, 2024 12:32
Youtube 节点地区分配
@muink
muink / the-secret-of-google-domains.md
Created July 24, 2024 12:28
Google 域名的秘密

Google 域名的秘密

哈哈,我也标题党一回。
其实也不算是秘密,只能说是我在制作 https://github.com/lennylxx/ipv6-hosts 时总结的规律。
Google 是世界上最大的互联网公司,其庞大的规模体现在[各个方面][]。其中一面即是其规模宏大的全球网络,以及难以计数的服务器。有人估计 Google 在 2013 年初的时候大概有 238 万台服务器。
Google 在全球建造了 13 个[数据中心][],通过其自己组建的多层内容分发网络(CDN),为全球超过 100 多个国家的用户提供免费内容及服务。
data_center
本文主要简要介绍一下 Google IPv6 地址与相关的域名。

Google ([AS15169][]) IPv6 地址分配

@muink
muink / parallel.sh
Last active February 15, 2024 16:10
bash parallel execution
#!/bin/bash
pause() { read -p "Press any key to continue..." -n1 -r; }
# func <min> <max>
randnum() {
local min=$1
local max=$[ $2 - $min + 1 ]
local num=$(cat /dev/urandom 2>/dev/null | head -n 8 | cksum | cut -f1 -d' ')
echo $[ $num % $max + $min ]