Skip to content

Instantly share code, notes, and snippets.

View cjh0613's full-sized avatar
🎯
Focusing

峽州仙士 cjh0613

🎯
Focusing
View GitHub Profile
@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 / cloudflare_firewall_rule.lua
Created May 30, 2021 13:24 — forked from 0polar/cloudflare_firewall_rule.lua
Black list for user agent of Chinese web browsers, quick block all access from Chinese web browsers / 国产浏览器UA黑名单,一键屏蔽所有国产浏览器访问
(http.user_agent contains "QQ/")
or (http.user_agent contains "MicroMessenger")
or (http.user_agent contains "TaoBrowser")
or (http.user_agent contains "Redmi")
or (http.user_agent contains "XiaoMi")
or (http.user_agent contains "MiuiBrowser")
or (http.user_agent contains "HUAWEI")
or (http.user_agent contains "HONOR")
or (http.user_agent contains "OPPO")
@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