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 / get_dns_ptr.md
Created April 28, 2023 10:24
Get DNS PTR

DNS PTR Record

Windows: ping -a 192.168.1.1
Windows/Linux: nslookup 192.168.1.1
Windows/Linux: dig -x 192.168.1.1

@muink
muink / enable-china-sms-hkmotw.md
Created March 12, 2023 08:31
开启大陆卡国际短信接收业务

年中运营商统一关闭了国际及港澳台短信接收业务功能,如有国际及港澳台短信接收业务需求,可通过营业厅客户端、客服热线或短信方式办理。 比如中国移动的短信办理方式:发送 KTGJDX 到 10086 即可申请办理。🤨

@muink
muink / extend-harddisk-image.md
Last active December 8, 2023 06:39
Extend hard disk image

Extend hard disk image

depends: coreutils-truncate losetup parted resize2fs lsblk coreutils-df qemu-img

openwrt_img=<openwrt.img>
truncate -s <target size> $openwrt_img
losetup --show -Pf $openwrt_img # ==stdout==> /dev/loop0
parted /dev/loop0 "print"
parted /dev/loop0 "resizepart  -1"
@muink
muink / install_app.sh
Last active January 31, 2025 06:40
Openwrt install snippet
opkg update
# Base Apps:
opkg install luci-app-filemanager luci-i18n-filemanager-zh-cn luci-i18n-filemanager-zh-tw
opkg install ttyd luci-app-ttyd luci-i18n-ttyd-zh-cn luci-i18n-ttyd-zh-tw
opkg install miniupnpd luci-app-upnp luci-i18n-upnp-zh-cn luci-i18n-upnp-zh-tw
uci set upnpd.config.enabled='1'
uci set upnpd.config.igdv1='1'
uci set upnpd.config.external_ip='1.2.3.4'
uci commit upnpd
@muink
muink / Netgear-EAX20-EAX80-open-telnet-and-unlock-region.md
Created July 1, 2022 12:17
Netgear EAX20/EAX80 Open telnet and Unlock region

Netgear EAX20/EAX80 Open telnet and Unlock region

Step 1

  1. Download Initial FW
  2. Upload FW to downgrade Extender

0

Step 2

@muink
muink / NCSI.md
Created November 20, 2021 09:15
常見網絡連接狀態指示器 (NCSI) 及強制門戶 (Captive Portal) 認證

常見網絡連接狀態指示器 (NCSI) 及強制門戶 (Captive Portal) 認證地址

常見網絡連接狀態指示器 (NCSI) 檢測用網絡地址

  • Windows:
    • Edge:
      • http(s)://edge.microsoft.com/captiveportal/generate_204 HTTP連接檢測, 有效值為204
    • 10-11:
      • http://www.msftconnecttest.com/connecttest.txt HTTP下載檢測, 有效值為Microsoft Connect Test
@muink
muink / Universal-Captive-Portal-Server.md
Last active January 10, 2025 04:55
通用 Captive Portal 檢測伺服器, 在中國大陸也可用

Universal Captive Portal Detection Server

http(s)://edge.microsoft.com/captiveportal/generate_204
http(s)://cp.cloudflare.com/generate_204
http(s)://www.qualcomm.cn/generate_204
http(s)://connectivity.samsung.com.cn/generate_204
http(s)://captiveportal.kuketz.de

@muink
muink / Access/data/data-on-Android-11.md
Created November 6, 2021 05:49
Access /data/data on Android 11/12
@muink
muink / disable-extensions-toolbar-chrome.md
Created May 4, 2021 08:20
Disable Extensions Toolbar Menu in Google Chrome

带参数启动

  1. 为启动方式添加参数 --disable-features=ExtensionsToolbarMenu 例如 "%ProgramFiles%\Google\Chrome\Application\chrome.exe" --disable-features=ExtensionsToolbarMenu
  2. 以上述启动方式启动Chrome

如何调整扩展图标位置

1