Skip to content

Instantly share code, notes, and snippets.

@KumaTea
KumaTea / sms_kw_blacklist.txt
Last active March 22, 2025 06:47
短信黑名单关键词(小米导入用)
【华为云】,【广州银行】,【光大银行信用卡】,【广发信用卡】,【广发银行联名卡】,【度小满金融】,【众安小贷】,【腾讯乘车码】,【广东农行】,【顺德农商联名卡】,【渤海银行】,【光大联名卡】,【滴滴青桔】,【豆豆钱】,【众安贷】,【光大银行】,【拉卡拉】,【天猫医药馆】,【斗鱼直播】,【中国移动 咪咕视频】,【阿里健康大药房】,【光大小黄鸭信用卡】,【民生银行】,【度小满周转】,【中原消费金融】,【得物App】,【滴滴快车】,【还呗】,【网易】,【老金磨方】,【adidas官方旗舰店】,【有钱花】,【乐刷】,【浦发移动联名卡】,【青桔骑行】,【农业银行】,【华夏银行】,【小蓝】,【阿里云盘】,【广州信用卡】,【天猫健康】,【小米随星借】,【当当网官方旗舰店】,【京东金融】,【顺德农商信用卡】,【福利购】,【美团外卖】,【众安保险】,【360借】,【腾讯云】,【HUAWEI】,【和彩云满意度调研】,【京东】,【汕头市疾控中心 宣】,【考研课堂】,【浦发联名卡】,【人民头条手机报5G免费版】,【京东极速版】,【高德打车】,【用户提醒】,【清零提醒】,【知乎】,【恒丰银行】,【火龙传奇】,【喜马拉雅】,【支付通】,【医疗保险】,【永辉超市】,【高德】,【花鸭借钱】,【咪咕阅读】,【国学学院】,【平安银行联名卡】,【猪八戒网】,【百度智能云】,【世纪高教】,【拍拍贷】,【服务提醒】,【过期提醒】,【国美金融】,【用户通知】,【吉客有钱】,【速贷】,【清零通知】,【东呈酒店】,【众安金融】,【洋钱罐借款】,【服务通知】,【南京银行】,【人品贷极速版】,【平安信用卡】,【好借分期】,【马上消费金融】,【小白商学院】,【易经学院】,【信用卡中心】,【趣借花】,【小白财商学院】,【安逸花】,【T3出行】,【温馨提醒】,【微粒贷】,【高德地图】,【网易调研】,【滴滴数科】,【哈啰臻有钱】,【阿里云】,【好分期】,【携程金融】,【小白财商课堂】,【浦发银行】,【饿了么口碑商家中心】,【财商训练营】,【财商课】,【网心云】,【随星借】,【zz加速器】,【爱剪辑】,【书法之家】,【众安优保】,【医疗保障】,【浦发银行信用卡】,【兑换服务】,【手机剪辑学院】,【家庭教育】,【信用飞】,【通易付】,【广州家博会】,【小米钱包】,【瑞幸咖啡】,【广发银行】,【兑兑通知】,【限时兑】,【银闪花】,【严选商城】,【吧吧微城】,【吉堡教育】,【得宝
@KumaTea
KumaTea / firefox_versions_history.json
Created January 11, 2025 00:35
Firefox Versions History
{
"0.1": "2002-09-23",
"0.2": "2002-10-01",
"0.3": "2002-10-14",
"0.4": "2002-10-19",
"0.5": "2002-12-07",
"0.6": "2003-05-17",
"0.7": "2003-10-15",
"0.8": "2004-02-09",
"0.9": "2004-06-15",
@KumaTea
KumaTea / chrome_versions_history.json
Created January 9, 2025 17:04
Chrome Versions History
{
"0.2.149": "2008-09-02",
"0.3.154": "2008-10-29",
"0.4.154": "2008-11-24",
"1.0.154": "2008-12-11",
"2.0.172": "2009-05-24",
"3.0.195": "2009-10-12",
"4.0.249": "2010-01-25",
"4.1.249": "2010-03-17",
"5.0.375": "2010-05-21",
@KumaTea
KumaTea / Remove-AMD.md
Last active May 7, 2023 11:47
Remove AMD Software from Windows 11 Context (Right Click) Menu

As fireball33x said on This thread:

You need to delete the following registry key:

HKEY_CLASSES_ROOT\PackagedCom\ClassIndex\{FDADFEE3-02D1-4E7C-A511-380F4C98D73B}

@KumaTea
KumaTea / pr-slim.py
Created March 30, 2023 05:38
Adobe Premiere Pro 2022/2023 Speech-to-text Modules Slimmer
# Please place this script in the installation folder
import os
import json
import shutil
modules_path = os.path.join('products', 'PPRO')
app_json_path = os.path.join(modules_path, 'application.json')
@KumaTea
KumaTea / discord.js
Created December 3, 2022 12:28
Make Youtube fill the screen while in Discord Watch Together Activity
// ==UserScript==
// @name Discord 全屏一起看
// @name:zh Discord 全屏一起看
// @name:en Discord Watch Together Fullscreen
// @namespace https://github.com/KumaTea
// @namespace https://greasyfork.org/en/users/169784-kumatea
// @version 1.0
// @description 使 Discord 一起看 Youtube 时占满全屏
// @description:zh 使 Discord 一起看 Youtube 时占满全屏
// @description:en Make Youtube fill the screen while in Discord Watch Together Activity
@KumaTea
KumaTea / update-cf-ips.py
Created November 25, 2022 20:01
Update Cloudflare IPs for Nginx
import requests
CONF = '/etc/nginx/cloudflare_ips.conf'
IPV4 = 'https://www.cloudflare.com/ips-v4'
IPV6 = 'https://www.cloudflare.com/ips-v6'
def get_ips(url):
return requests.get(url).text
@KumaTea
KumaTea / convert-mp4-gif-to-telegram-video-sticker-webm.py
Last active November 28, 2022 14:18
Python - MP4 / GIF to Telegram Video Sticker (VP9 Webm) Convertion Script
import os
import math
import subprocess
FFMPEG = r'D:\Tools\ffmpeg\bin\ffmpeg.exe'
FFPROBE = r'D:\Tools\ffmpeg\bin\ffprobe.exe'
save_to = 'webm'
@KumaTea
KumaTea / update-aaaa.sh
Created July 2, 2020 03:58
Update AAAA records of selected domains for dnsmasq in OpenWrt
host_file="/tmp/hosts-custom"
if test -f "$host_file"; then
rm $host_file
echo "$host_file exists, now is removed."
else
echo "$host_file does not exist."
fi
domains="npupt.com 4.npupt.com 6.npupt.com checkipv6.dyndns.com checkipv6.dyndns.com checkipv6.dyndns.com checkipv6.dyndns.com"
dns="223.5.5.5"