Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

峽州仙士 cjh0613

🎯
Focusing
View GitHub Profile
@cjh0613
cjh0613 / README-badges.md
Created Jul 21, 2021 — forked from tterb/README-badges.md
A collection of README badges
View README-badges.md

Badges

License

MIT License GPLv3 License AGPL License

Version

Version GitHub Release

@cjh0613
cjh0613 / cloudflare_firewall_rule.lua
Created May 30, 2021 — 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黑名单,一键屏蔽所有国产浏览器访问
View cloudflare_firewall_rule.lua
(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")
View 骂人数据库(脏话).txt
你长的怪像人殊不知是只人面犬
你的脸有碍观瞻
当初惊艳,完完全全,只为世面见得少。
嫉妒是一种不好的情感,我理解你嫉妒我有家人,可你这么说有点过分了
你自拍一张就是你的全家福
远看是美景,近看想报警
你在无中生有 你在暗度陈仓 你在凭空想象 你在凭空捏造 你在无言无语 你在无可救药 你是逝者安息 你是一路走好 你是傻子巴拉 你是永无止境 你是没钱买药 你是头脑有病 你是眼里有泡 你是嘴里刘能 你是污言秽语 你是咎由自取 你是殃及无辜 你是祸害众生 你是仓皇失措 你是暗度陈仓 你是无可救药
胖姑娘袭花衫,花都胖起来。
即使是做咸鱼,也要做最咸的那一条。
View Python-sitemap-Accessing-Bing-Webmaster-API
import requests
import json
import time
import datetime
import dateutil.parser
from bs4 import BeautifulSoup as bp
def get_(data):
headers={'User-Agent':'curl/7.12.1 ',
'Content-Type':'application/json'}
View Python-Accessing-Bing-Webmaster-API
import requests
def get_(data):
headers={'User-Agent':'curl/7.12.1 ',
'Content-Type':'application/json'}
try:
r = requests.post(url='https://ssl.bing.com/webmaster/api.svc/json/SubmitUrl?apikey=API_KEY',json=data)
print(r.status_code)
print(r.content)
except Exception.e:
@cjh0613
cjh0613 / gist:806d76e7602bf833935d6a18ca7318a6
Last active May 19, 2020
📊 Weekly development breakdown
We couldn’t find that file to show.
@cjh0613
cjh0613 / 身份证校验码计算器.bat
Created Jul 31, 2017
中国身份证校验码计算器
View 身份证校验码计算器.bat
@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