Skip to content

Instantly share code, notes, and snippets.

View noyesno's full-sized avatar

Sean Zhang noyesno

View GitHub Profile
@alswl
alswl / hosts
Last active August 24, 2025 12:53
(deprecated, I bought xiaomi VIP)hosts for OpenWRT, for disable AD in xiaomi TV
127.0.0.1 api.ad.xiaomi.com
127.0.0.1 sdkconfig.ad.xiaomi.com
127.0.0.1 ad.mi.com
127.0.0.1 ad.xiaomi.com
127.0.0.1 ad1.xiaomi.com
127.0.0.1 adv.sec.miui.com
127.0.0.1 test.ad.xiaomi.com
127.0.0.1 new.api.ad.xiaomi.com
# vim:syntax=perl
# A PSGI app that listens for POSTs, runs an editor on the posted text,
# and returns the modified text as the response body. Intended for use with
# Chrome extensions like TextAid and Edit With Emacs.
#
# This app blocks, so you'll want to run it in a forking Plack server (like
# Starman).
#
# Requires: Plack