言成言成啊 | Kit Chen's Blog

那些年,我玩过的黑科技

发布于2020-01-04 03:02:40,更新于2023-10-21 01:54:32,标签:life tips  转载随意,文章会持续修订,请注明来源地址:https://meethigher.top/blog

QQ/微信防撤回

QQ端QNotified,同时支持保存原画质闪照!

微信端WXposed

电脑端Q微信防撤回

电脑定时关机

参照

指定时间后自动关机

1
shutdown -s -t 3600 #1小时候自动关机

自动关机

1
shutdown -s #弹出消息框自动关机,30s后

定点关机

1
at 04:00 shutdown -s #凌晨四点自动关机

指定时间关机需要用schtasks,命令太麻烦了,不如直接打开计划任务来手动添加

网页视频去除logo

参照

f12搜索、删除

腾讯视频

1
txp-ui-watermark-mod

爱奇艺

1
iqp-logo-top logoShowAnimation

优酷

1
youku-layer-logo

网页内容可编辑

console中输入

1
document.body.contentEditable=true

百度网盘

  1. 速盘(付费)
  2. 亿寻(免费)

虚拟定位

Fake Location

可以修改定位,甚至可以以指定的速度移动,很强大。

MIUI刷机包&&IOS刷机包

卡刷包链接

小米首先按住音量下键和电源键,直到出现fastboot。

然后连接电脑线刷即可。

MIUI历史版本

2021年1月5日更新:这个不太良心了,开始收费了,又不是用自己的服务器存储,只是收集整理就要收钱,格局太小了,免费的建议看下面的。

MIUI线刷升级

小米Rom包全免费(需要翻墙)

IOS尝鲜派

QQ卡片消息

XposedInstaller下载链接

QNotified下载链接

具体的使用教程,我在B站发了视频,链接

今天早上在某个群,看到一个红包,我就点了,点击去发现是一个购物群。然后我直接把群退了,然后把源代码给他复制了下来。

现在整理一下

以下部分内容,像图片链接、跟文字内容都是空的,自己自行往里面加入即可。

有点链接,不带cdn.vip.qq.com是打不开的,有兴趣自行研究吧。

以下代码放心使用,内部无推广链接、加群邀请等。

回执消息s

1
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><msg serviceID="107" templateID="1" action="viewReceiptMessage" brief="" m_resid="" m_fileName="6862690782327914927" sourceMsgId="0" url="" flag="3" adverSign="0" multiMsgFlag="0"><item layout="29" advertiser_id="0" aid="0"><type>1</type></item><source name="" icon="" action="" appid="-1" /></msg>

王者荣耀点券

1
{"app":"com.tencent.gamecenter.wzryRedpack","desc":"","view":"indexView","ver":"1.0.0.1","prompt":"[王者荣耀]点券","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"appid":"1104466820","bgUrl":"http://imgcache.gtimg.cn/ark_msg/202001101435_1dianquan.png?ts=1578638150326","buttons":[{"bgUrl":"http:\/\/imgcache.gtimg.cn\/ark_msg\/202001101436_anniu.png?ts=1578638168399","jumpUrl":"https:\/\/cdn.vip.qq.com\/club\/themes\/mobile\/middle_page\/index.html?url=https://meethigher.top/"}],"gamedata":"RedEnvelopeMsg_1_932630632774173750","jumpUrl":"https:\/\/cdn.vip.qq.com\/club\/themes\/mobile\/middle_page\/index.html?url=https://meethigher.top/"}},"config":{"config":{"type":"normal"},"ctime":1587447079,"token":"5050ace6eed03ce46e86314d846f3ed0"},"text":"","extraApps":[],"sourceAd":"","extra":""}

王者荣耀皮肤碎片

1
{"app":"com.tencent.gamecenter.wzryRedpack","desc":"","view":"indexView","ver":"1.0.0.1","prompt":"[王者荣耀]皮肤碎片","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"appid":"1104466820","bgUrl":"http://imgcache.gtimg.cn/ark_msg/202001101442_6pifusuipian.png?ts=1578638530997","buttons":[{"bgUrl":"http:\/\/imgcache.gtimg.cn\/ark_msg\/202001101442_anniu.png?ts=1578638541669","jumpUrl":"http:\/\/h5.vip.qq.com\/p\/cgireport\/cgi-bin\/handle?dc=10535&adId=81046&posId=85&classId=36&url="}],"gamedata":"RedEnvelopeMsg_1_17568364407905649653","jumpUrl":"app","scene":"MSG_WZZD_PFSP_ARK"}},"config":{"config":{"type":"normal"},"ctime":1582893526,"token":"a50cac990543523e54f06efcab1801f3"},"text":"","extraApps":[],"sourceAd":"","extra":""}

匿名聊天加入

1
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"匿名聊天 ","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"http://shp.qpic.cn/collector/2891404183/fe660152-4179-4669-bd8f-690289d389c2/0","mainUrl":"mqqapi%3A%2F%2Fforward%2Furl%3Furl_prefix%3Dhttps://meethigher.top/"}},"text":"","sourceAd":""}

周年福利,人人可领

1
{"app":"com.tencent.qqVipGame_v2","desc":"","view":"template","ver":"1.0.0.8","prompt":"周年福利人人可领","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"template":{"DATA10":"","DATA11":"","DATA12":"","DATA13":"","DATA14":"http:\/\/h5.vip.qq.com\/p\/cgireport\/cgi-bin\/handle?dc=10535&adId=81046&posId=85&classId=36&url=https://meethigher.top","DATA15":"","DATA16":"","DATA7":"https:\/\/tianshu.gtimg.cn\/tianshu\/1597632725271.png","DATA8":"","DATA9":"","time":""}},"text":"","extraApps":[],"sourceAd":""}

视频跳转卡片

1
{"app":"com.tencent.gamecenter.gameshare","desc":"","view":"noDataView","ver":"0.0.0.1","prompt":"大话西游","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"height":360,"scene":"SCENE_SHARE_VIDEO","buttons":[{"url":"http:\/\/h5.vip.qq.com\/p\/cgireport\/cgi-bin\/handle?dc=10535&adId=81046&posId=85&classId=36&url=","text":"点就恶搞你"}],"jumpUrl":"https:\/\/game.gtimg.cn\/images\/cfm\/act\/a20190620act\/index.mp4","width":640,"type":"video","cover":"","appid":"1104466820cfm","url":"https://game.gtimg.cn/images/yxzj/cp/a20190125dhxy/header_reload.mp4"}},"text":"","sourceAd":"","config":{"forward":1,"showSender":1},"config":{"forward":1,"showSender":1}}

每日风景

1
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"随机风景照","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"https:\/\/uploadbeta.com\/api\/pictures\/random\/?key=BingEverydayWallpaperPicture","mainUrl":"https://cdn.vip.qq.com/club/client/read/common/transfer.html?_wv=16778247&url=%68%74%74%70%3a%2f%2f%68%35%2e%76%69%70%2e%71%71%2e%63%6f%6d%2f%70%2f%63%67%69%72%65%70%6f%72%74%2f%63%67%69%2d%62%69%6e%2f%68%61%6e%64%6c%65%3f%64%63%3d%31%30%35%33%35%26%61%64%49%64%3d%38%31%30%34%36%26%70%6f%73%49%64%3d%38%35%26%63%6c%61%73%73%49%64%3d%33%36%26%75%72%6c%3d"}},"text":"这里无需填写","sourceAd":""}

每日美女

1
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"随机美女","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"https:\/\/uploadbeta.com\/api\/pictures\/random\/?key=%E6%8E%A8%E5%A5%B3%E9%83%8E","mainUrl":"https://cdn.vip.qq.com/club/client/read/common/transfer.html?_wv=16778247&url=%68%74%74%70%3a%2f%2f%68%35%2e%76%69%70%2e%71%71%2e%63%6f%6d%2f%70%2f%63%67%69%72%65%70%6f%72%74%2f%63%67%69%2d%62%69%6e%2f%68%61%6e%64%6c%65%3f%64%63%3d%31%30%35%33%35%26%61%64%49%64%3d%38%31%30%34%36%26%70%6f%73%49%64%3d%38%35%26%63%6c%61%73%73%49%64%3d%33%36%26%75%72%6c%3d"}},"text":"","sourceAd":""}

爱他就要告诉他

1
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"爱Ta就写信告诉Ta","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"http:\/\/tianshu.gtimg.cn\/tianshu\/1598010537642.png","mainUrl":"https://cdn.vip.qq.com/club/client/read/common/transfer.html?_wv=16778247&url=%68%74%74%70%3a%2f%2f%68%35%2e%76%69%70%2e%71%71%2e%63%6f%6d%2f%70%2f%63%67%69%72%65%70%6f%72%74%2f%63%67%69%2d%62%69%6e%2f%68%61%6e%64%6c%65%3f%64%63%3d%31%30%35%33%35%26%61%64%49%64%3d%38%31%30%34%36%26%70%6f%73%49%64%3d%38%35%26%63%6c%61%73%73%49%64%3d%33%36%26%75%72%6c%3d"}},"text":"","sourceAd":""}

二次元动漫

1
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"二次元动漫","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"http:\/\/xialinzhijia.club\/wp-img.php","mainUrl":"https://cdn.vip.qq.com/club/client/read/common/transfer.html?_wv=16778247&url=%68%74%74%70%3a%2f%2f%68%35%2e%76%69%70%2e%71%71%2e%63%6f%6d%2f%70%2f%63%67%69%72%65%70%6f%72%74%2f%63%67%69%2d%62%69%6e%2f%68%61%6e%64%6c%65%3f%64%63%3d%31%30%35%33%35%26%61%64%49%64%3d%38%31%30%34%36%26%70%6f%73%49%64%3d%38%35%26%63%6c%61%73%73%49%64%3d%33%36%26%75%72%6c%3d"}},"text":"","sourceAd":""}

最新公告

1
{"app":"com.tencent.mannounce","desc":"群公告","view":"main","ver":"1.0.0.43","prompt":"[群公告]测试测试","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"mannounce":{"cr":0,"encode":1,"fid":"fb40082100000000cfa6495f004f0c00","gc":"554189051","sign":"1cd3b58df1e8222b7a1dcb44d6b2b8c9","text":"5rWL6K+V5rWL6K+V","title":"576k5YWs5ZGK","tw":1,"uin":"5201314"}},"config":{"ctime":1598662148,"forward":0,"token":"2f4b34dc143c29f9eb6d4f5c057a2e41"},"text":"","sourceAd":""}

网页分享

1
{"app":"com.tencent.structmsg","desc":"","view":"news","ver":"0.0.0.1","prompt":"[分享]言成的个人博客,记录生活","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"news":{"action":"","android_pkg_name":"","app_type":1,"appid":100951776,"desc":"","jumpUrl":"https://meethigher.top","preview":"https://meethigher.top/images/kitchen.jpg","source_icon":"","source_url":"","tag":"博客","title":"言成的个人博客,记录生活..."}},"text":"","extraApps":[],"sourceAd":""}

QQ红包

1
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"[QQ红包]恭喜发财!","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"http:\/\/shp.qpic.cn\/collector\/2891404183\/5fa972cf-6144-460c-b433-d2448cd71968\/0","mainUrl":"mqqapi%3A%2F%2Fforward%2Furl%3Furl_prefix%3D"}},"text":"","sourceAd":""}

QQ会员专属礼物

1
{"app":"com.tencent.qqVipGame_v2","desc":"","view":"template","ver":"1.0.0.8","prompt":"[QQ会员]专属礼物🎁","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"template":{"DATA10":"","DATA11":"","DATA12":"","DATA13":"","DATA14":"http:\/\/h5.vip.qq.com\/p\/cgireport\/cgi-bin\/handle?dc=10535&adId=81046&posId=85&classId=36&url=","DATA15":"","DATA16":"","DATA7":"https:\/\/tianshu.gtimg.cn\/tianshu\/1595813105678.png","DATA8":"","DATA9":"","time":""}},"text":"","extraApps":[],"sourceAd":""}

欢迎新人

1
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><msg serviceID="104" templateID="1" action="" brief="新人入群!点击欢迎" sourceMsgId="0" url="" flag="0" adverSign="0" multiMsgFlag="0"><item layout="2" advertiser_id="0" aid="0"><picture cover="" w="0" h="0" /><title>新人入群</title></item><source name="" icon="" action="" appid="0" /></msg>

创建群聊

1
{"app":"com.tencent.creategroupmsg","desc":"建群消息","view":"main","ver":"0.0.0.1","prompt":"建群成功","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"groupinfo":{"cateid":31,"desc":"群聊创建成功!\n完善资料,让更多人发现你的群!","status":0,"subid":10048,"troopnum":"5201314"}},"config":{"autosize":true,"ctime":1598667529,"forward":true,"token":"0caafb70a5ee9a5e7c8250d85092cb83","type":"normal"},"text":"","extraApps":[],"sourceAd":""}

自动发消息

1
{"app":"com.tencent.autoreply","desc":"","view":"autoreply","ver":"0.0.0.1","prompt":"[动画表情]","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"metadata":{"title":"点下面按钮送妹子","buttons":[{"slot":1,"action_data":"成功激活妹子大礼包*1,获得妹子*99个","name":"我要妹子","action":"notify"}],"type":"guest","token":"LAcV49xqyE57S17B8ZT6FU7odBveNMYJzux288tBD3c="}},"config":{"forward":1,"showSender":1},"text":"","sourceAd":""}

游戏战绩分享

1
{"app":"com.tencent.gamecenter.gameshare_sgame","desc":"游戏分享","view":"commonView","ver":"0.0.0.1","prompt":"[应用]游戏分享","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"appid":"1104466820","cardUrl":"http:\/\/image.smoba.qq.com\/Banner\/img\/QQArk\/shareskin\/15004.jpg","extData":{"gameSeq":"1600505319","gameSvrEntity":"641806","heroid":"108","openId":"9AAA6C7F357E7EC9B3650B6AC09869EA","playerNum":"10","relaySvrEntity":"320340481"},"openId":"9AAA6C7F357E7EC9B3650B6AC09869EA","roleInfo":{"avatar":"http:\/\/image.smoba.qq.com\/Banner\/img\/QQArk\/heroicon\/108.png","partition":"0杀\/2助攻\/15死亡","roleName":"王者荣耀(5v5排位)"},"scene":"33","textBoxData":{"desc":"0杀\/2助攻\/15死亡","pic":"","tips":"","title":"超鬼打野"},"textGameData":{"data":[{"num":"0","text":"击杀数"},{"num":"15","text":"死亡数"},{"num":"2","text":"助攻数"}],"title":"我的战绩"},"url":"http:\/\/imgcache.gtimg.cn\/vipstyle\/game\/act\/north\/ark_gc843\/wzry_game_share\/bg.png","wzryRecordInfo":{"isWin":1,"loseNum":25,"score":12.7,"scoreImg":"http:\/\/imgcache.gtimg.cn\/vipstyle\/game\/act\/north\/ark_gc843\/wzry_game_share\/MVP.png","winNum":51}}},"config":{"ctime":1600506601,"forward":1,"token":"b4ac273b4b4b8df42e89969c24b9a1e5","type":"normal"},"text":"","sourceAd":""}

英雄id

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
105廉颇
106小乔
107赵云
108墨子
109妲己
110嬴政
111孙尚香
112鲁班七号
113庄周
114刘禅
115高渐离
116阿轲
117钟无艳
118孙膑
119扁鹊
120白起
121芈月
123吕布
124周瑜
125庞统
126夏侯惇
127甄姬
128曹操
129典韦
130宫本武藏
131李白
132马可波罗
133狄仁杰
134达摩
135项羽
136武则天
137司马懿
139老夫子
140关羽
141貂蝉
142安琪拉
144程咬金
146露娜
148姜子牙
149刘邦
150韩信
152王昭君
153兰陵王
154花木兰
155艾琳
157不知火舞
158八神庵
162娜可露露
163橘右京
166亚瑟
169后羿
170刘备
171张飞
173李元芳
174虞姬
175钟馗
176杨玉环
177成吉思汗
178杨戬
179女娲
180哪吒
183雅典娜
184蔡文姬
186太乙真人
187东皇太一
189鬼谷子
190诸葛亮
191大乔
192黄忠
193铠
194苏烈
195百里玄策
196百里守约
197弈星
198梦奇
199公孙离
225庞统/元歌
237司马懿
312沈梦溪
382干将莫邪
501明世隐
502裴擒虎
503狂铁
504米莱狄
505瑶
506云中君
507李信
508伽罗
509盾山
510孙策
511猪八戒
513上官婉儿
515嫦娥
518马超
522曜
523西施
524蒙犽
525鲁班大师
529盘古

部分参考资料自xml-json.tk

用来恶搞人真好玩,哈哈

ps去掉字幕、水印

示例一

选区-选择-色彩范围(用吸管吸色-选择合适的容差)

选择-修改-扩展(扩展合适的像素)

按下快捷键shift+F5,选择内容识别,即可去掉字幕

示例二

选区-通道-双击红色-ctrl+l调整色阶(最右侧的是控制亮色,最左侧的是控制暗色)

具体看这个

腾讯王卡全局免流

手动配置的话,下载下面三款软件

  • TinyProxy
  • Model
  • HttpCanary免费版
  • HttpCanary高级版

此处不放置软件,太费劲了。

首先抓包QQ浏览器,QQ浏览器是9.9.3版本及以下才可以

然后搜索端口是8090的,打开请求内容

复制ip、guid、token到model,自动生成腾讯王卡配置文件,保存在根目录下tiny文件夹中

TinyProxy打开右上角,选择配置,腾讯王卡配置,即可

但是这个Toke是每两小时,失效一次。所以,有大佬做了,动态免流的api以及软件,但是我用了发现不太好用,经常需要重启软件,更新ip,所以,还是用TinyProxy吧。

动态更新api

1
2
3
4
5
6
7
http://kc.iikira.com/kingcard

http://cs.xxzml.cn/a/a/a.php

http://cs.xxzml.cn/k/get_tinyproxy_config.php

https://api.xomue.cn/wkdt.php

放上一份我自己在用的TinyProxy配置文件,里面的两个ip,可以通过抓包获取。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
listen_port=65080;
worker_proc=0;
mode=3gnet;
daemon=on;
uid=3004;

#这里填写接口,更新失败直接更换接口
token_api="http://cs.xxzml.cn/k/get_tinyproxy_config.php";

#这里是代理IP,优先使用离自己近的
http_ip=111.206.25.202;
http_port=8090;
http_del="X-Online-Host,Host";
http_first="[M] http://[H][U] http://box.10155.com:80:http://ysj.iread.wo.com.cn:80\r\nQ-GUID:[Q_G]\r\nQ-Token:[Q_T]\r\n";

#这里是代理IP,优先使用离自己近的
https_connect=on;
https_ip=111.206.25.202;
https_port=8091;
https_del="X-Online-Host,Host";
https_first="[M] http://box.10155.com:80:http://ysj.iread.wo.com.cn:80\r\nQ-GUID:[Q_G]\r\nQ-Token:[Q_T]\r\n[M] [H] [V]\r\n";

dns_tcp=http;
dns_listen_port=65053;
dns_url="119.29.29.29";

参考

其实还是自己手动配的这种网速好点,如果不想配,可以直接用无脑版,后台锁定即可,token失效,他会用少量流量更新token,大佬写的。

放张图,自己对比一下

小米wifi开启热点

之前MIUI11的时候,小米可以直接通过wifi开启个人热点,连接,就能用。

自从升级了MIUI12之后,这个功能别人连了就一直没网,我就尝试更新系统,但还是没用。

仔细想了想,要不就改一下DNS,尝试将连接wifi的设备的DNS,改成

1
114.114.114.114

果真就可以了,记录一下。

小米自制倒计时息屏

首先,说一下息屏的安装位置:/data/user_de/0/com.miui.aod/app_themes,当然了,不是root就不用试了。

基于小米商店大佬的息屏作品,扒了源代码,进行修改。放上主要代码。倒计时的图片daojishi.png可以自己用ps自定义

目标时间在trigger里面设置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<Aod frameRate="60" screenWidth="1080" version="1">
<!-- aod模块注意事项;1.动画触发放在下方 Trigger 中;2.动画时长不超过4s,超过部分将会被强制停止;3.动画仅播放一次,此后每分钟刷新一次时间 -->
<ExternalCommands>
<Trigger action="init">
<ExternCommand command="animationState" strPara="'init'"/>
</Trigger>
<Trigger action="play">
<AnimationCommand target="aodAni" command="play"/>
<AnimationCommand target="hourAni" command="play"/>
<AnimationCommand target="minuteAni" command="play"/>
<AnimationCommand target="timeAni" command="play"/>
<AnimationCommand target="endAni" command="play"/>
<AnimationCommand target="peoAni" command="play"/>
<AnimationCommand target="peoAni2" command="play"/>
<AnimationCommand target="posAni" command="play"/>
<AnimationCommand target="newAni" command="play"/>
<AnimationCommand target="cirAni" command="play"/>
<AnimationCommand target="notAni" command="play"/>
</Trigger>
</ExternalCommands>
<VariableBinders>
<!-- 查询通知 -->
<ContentProviderBinder name="data" uri="content://aod.notification/notifications" columns="icon" countName="hasnotifications">
<Variable name="notice_icon0" type="blob.bitmap" column="icon" row="0"/>
<Variable name="notice_icon1" type="blob.bitmap" column="icon" row="1"/>
<Variable name="notice_icon2" type="blob.bitmap" column="icon" row="2"/>
<Variable name="notice_icon3" type="blob.bitmap" column="icon" row="3"/>
</ContentProviderBinder>
<!-- MIUI查询天气 -->
<ContentProviderBinder name="weather" uri="content://weather/actualWeatherData/1" columns="temperature,description,weather_type" countName="hasweather" dependency="selected_city">
<Variable name="w_tem" type="string" column="temperature"/>
<Variable name="w_dp" type="string" column="description"/>
<Variable name="w_id" type="int" column="weather_type"/>
<Trigger>
<VariableCommand name="weatherID" expression="ifelse(#w_id}=4**#w_id{=11,2,#w_id}=12**#w_id{=17,3,#w_id==0,0,1)"/>
</Trigger>
</ContentProviderBinder>
</VariableBinders>
<!--角色位置-->
<Var name="posAni">
<VariableAnimation name="posAnimation" loop="false" initPause="true">
<AniFrame value="0" time="0"/>
<AniFrame value="0" time="0" easeType="CircEaseOut"/>
<AniFrame value="1" time="1200"/>
<Triggers>
<Trigger action="end" condition="#posAnimation.current_frame==-1">
<!-- 有动画的aod,一定要在 最长的动画 结束之后给系统发个命令,注意:此命令只能存在一个,请勿使用多个 -->
<ExternCommand command="animationState" strPara="'finish'" />
</Trigger>
</Triggers>
</VariableAnimation>
</Var>
<!--角色不透明度-->
<Var name="peoAni">
<VariableAnimation loop="false" initPause="true">
<AniFrame value="0" time="0"/>
<AniFrame value="0" time="0"/>
<AniFrame value="1" time="2000"/>
</VariableAnimation>
</Var>
<Var name="peoAni2">
<VariableAnimation loop="false" initPause="true">
<AniFrame value="0" time="0"/>
<AniFrame value="0" time="0"/>
<AniFrame value="1" time="4000"/>
</VariableAnimation>
</Var>
<Var name="aodAni">
<VariableAnimation loop="false" initPause="true">
<AniFrame value="0" time="0"/>
<AniFrame value="1" time="500"/>
</VariableAnimation>
</Var>
<Var name="hourAni">
<VariableAnimation loop="false" initPause="true">
<AniFrame value="0" time="0" easeType="QuartEaseOut"/>
<AniFrame value="1" time="2000"/>
</VariableAnimation>
</Var>
<Var name="minuteAni">
<VariableAnimation name="minuteAnimation" loop="false" initPause="true">
<AniFrame value="0" time="0" easeType="QuadEaseOut"/>
<AniFrame value="1" time="2000"/>
<Triggers>
<Trigger action="end" condition="#minuteAnimation.current_frame==-1">
<!-- 动画结束之后记得给系统发个命令 -->
<ExternCommand command="animationState" strPara="'finish'"/>
</Trigger>
</Triggers>
</VariableAnimation>
</Var>
<Var expression="#second" threshold="1">
<Trigger>
<VariableCommand name="nian12345" expression="eq((#year%4),0)*ne((#year%100),0)+eq((#year%400),0)" />
<VariableCommand name="yue12345" expression="(ge(#month,1)*31+(28+#nian12345)*ge(#month,2)+ge(#month,3)*31+ge(#month,4)*30+ge(#month,5)*31+ge(#month,6)*30+ge(#month,7)*31+ge(#month,8)*31+ge(#month,9)*30+ge(#month,10)*31+ge(#month,11)*30+ge(#month,12)*31)+(365*#year+int(#year/4)+int(#year/400)-int(#year/100))+#date-1" />
<VariableCommand name="hmsabc" expression="#hour24*60+#minute*60+#second" />
<VariableCommand name="hmabc" expression="#hour24*60+#minute" />
<VariableCommand name="aababc" expression="ifelse(isnull(#aababc),2020,#aababc)" persist="true" />
<VariableCommand name="bababc" expression="ifelse(isnull(#bababc),12,#bababc)" persist="true" />
<VariableCommand name="cababc" expression="ifelse(isnull(#cababc),26,#cababc)" persist="true" />
<VariableCommand name="dababc" expression="ifelse(isnull(#dababc),26,#dababc)" persist="true" />
<VariableCommand name="eababc" expression="ifelse(isnull(#eababc),0,#eababc)" persist="true" />
<VariableCommand name="fababc" expression="ifelse(isnull(#fababc),0,#fababc)" persist="true" />
<VariableCommand name="nian123451" expression="eq((#aababc%4),0)*ne((#aababc%100),0)+eq((#aababc%400),0)" />
<VariableCommand name="yue123451" expression="(gt(#bababc,1)*31+(28+#nian123451)*gt(#bababc,2)+gt(#bababc,3)*31+gt(#bababc,4)*30+gt(#bababc,5)*31+gt(#bababc,6)*30+gt(#bababc,7)*31+gt(#bababc,8)*31+gt(#bababc,9)*30+gt(#bababc,10)*31+gt(#bababc,11)*30+gt(#bababc,12)*31)+(365*#aababc+int(#aababc/4)+int(#aababc/400)-int(#aababc/100))+#cababc-1" />
<VariableCommand name="hmabc1" expression="#dababc*60+#eababc" />
<VariableCommand name="hmsabc1" expression="#dababc*60+#eababc*60+#fababc" />
</Trigger>
</Var>
<Var name="adcedfr" expression="ge(#yue123451*1440+#hmabc1,#yue12345*1440+#hmabc)" />
<Var name="cababc2" expression="ifelse(#adcedfr,int(abs(#yue123451-#yue12345)-gt(#hmabc,#hmabc1)),int(abs(#yue123451-#yue12345)-gt(#hmabc1,#hmabc)))" />
<Var name="dababc2" expression="ifelse(#adcedfr,int((gt(#hmabc,#hmabc1)*1440+#hmabc1-#hmabc)/60),int((gt(#hmabc1,#hmabc)*1440+#hmabc-#hmabc1)/60))" />
<Var name="eababc2" expression="ifelse(#adcedfr,int((gt(#hmabc,#hmabc1)*1440+#hmabc1-#hmabc)%60),int((gt(#hmabc1,#hmabc)*1440+#hmabc-#hmabc1)%60))" />
<Var name="adcedfrd" expression="ifelse(#adcedfr,int((gt(#hmsabc,#hmsabc1)*86400+#hmsabc1-#hmsabc)%60),int((gt(#hmsabc1,#hmsabc)*86400+#hmsabc-#hmsabc1)%60))" />
<Var name="cababcy" expression="#cababc2/10" />
<Var name="cababcx" expression="#cababc2%100" />
<Var name="cababca" expression="#cababc2%1000" />
<Var name="cababcb" expression="#cababc2%10000" />
<Var name="zsc_img" expression="ifelse(isnull(#zsc_img),1,#zsc_img)" const="true"/>
<Var name="hour" expression="ifelse(#time_format,#hour24,#hour12,#hour12,12)"/>
<Var name="time_small" type="string" expression="ifelse(#time_format,'kk:mm:ss','hh:mm:ss')"/>
<Var name="time_small2" type="string" expression="ifelse(#time_format,'kk:mm','hh:mm')"/>
<!-- <Text x="380" alignV="center" y="#real_height-616" alignV="center" color="#7f000000" alpha="200" size="40" textExp="'本地时间'" visibility="not(#control_center)" /> -->
<!-- 分 -->
<!-- <Group w="1080" h="1080" layered="true"> -->
<!-- <Image x="540" y="360" src="min_M.png" align="center" alignV="center"/> -->
<!-- </Group> -->
<!-- 时 -->
<!-- <Group w="1080" h="1080" layered="true"> -->
<!-- <Image x="540" y="360" src="min_H.png" align="center" alignV="center"/> -->
<!-- </Group> -->
<!-- <Image x="540" y="360" src="M.png" align="center" alignV="center" pivotX="300" pivotY="300" rotation="(#minuteAni-1)*130+#minute*6"/> -->
<!-- <Image x="540" y="360" src="H.png" align="center" alignV="center" pivotX="300" pivotY="300" rotation="(#hourAni-1)*130+#hour12*30+#minute/2"/> -->
<!-- <Image x="540" y="360" src="core.png" align="center" alignV="center"/> -->
<!-- <Image x="540" y="360" align="center" alignV="center" srcid="#aodAni*20" src="img/num.png" /> -->
<Group alpha="255*#peoAni" >
<Group w="1080" h="1080" layered="true">
<Image x="540" y="300" src="daojishi/daojishi.png" align="center" alignV="center"/>
</Group>
<Group >
<!-- <Group name="djs" > -->
<!-- <Text x="540" y="860-200" align="center" color="#ffffff" size="42" textExp="#dababc2+'时'+#eababc2+'分'+#adcedfrd+'秒'" /> -->
<!-- </Group> -->
<Group w="0+#a1.bmp_width+18+#a2.bmp_width" x="540+10" align="center" visibility="le(#cababc2,9)" alpha="255*#peoAni2" >
<Image name="a1" x="0-100+(100*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababcx%10" />
<Image name="a2" x="0+#a1.bmp_width+28+100-(100*#posAni)" y="860-278" alignV="center" src="tian.png" />
</Group>
<Group visibility="ge(#cababc2,10)" >
<Group align="center" w="0+#b1.bmp_width+13+#b2.bmp_width+18+#b3.bmp_width" x="540+10" visibility="le(#cababc2,99)" >
<Image name="b1" x="0-200+(200*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababcy%10" />
<Image name="b2" x="0+#b1.bmp_width+13-100+(100*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababcx%10" />
<Image name="b3" x="0+#b1.bmp_width+13+#b2.bmp_width+28+100-(100*#posAni)" y="860-278" alignV="center" src="tian.png" />
</Group>
</Group>
<Group visibility="ge(#cababc2,100)" >
<Group align="center" w="0+#c1.bmp_width+13+#c2.bmp_width+13+#c3.bmp_width+18+#c4.bmp_width" x="540+10" visibility="le(#cababc2,999)" >
<Image name="c1" x="0-300+(300*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababca/100" />
<Image name="c2" x="0+#c1.bmp_width+13-200+(200*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababcy%10" />
<Image name="c3" x="0+#c1.bmp_width+13+#c2.bmp_width+13-100+(100*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababcx%10" />
<Image name="c4" x="0+#c1.bmp_width+13+#c2.bmp_width+13+#c3.bmp_width+28+100-(100*#posAni)" y="860-278" alignV="center" src="tian.png" />
</Group>
</Group>
<Group visibility="ge(#cababc2,1000)" >
<Group align="center" w="0+#d1.bmp_width+13+#d2.bmp_width+13+#d3.bmp_width+13+#d4.bmp_width+18+#d5.bmp_width" x="540+10" visibility="le(#cababc2,9999)" >
<Image name="d1" x="0-400+(400*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababcb/1000" />
<Image name="d2" x="0+#d1.bmp_width+13-300+(300*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababca/100" />
<Image name="d3" x="0+#d1.bmp_width+13+#d2.bmp_width+13-200+(200*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababcy%10" />
<Image name="d4" x="0+#d1.bmp_width+13+#d2.bmp_width+13+#d3.bmp_width+13-100+(100*#posAni)" y="860-278" alignV="center" src="date.png" srcid="#cababcx%10" />
<Image name="d5" x="0+#d1.bmp_width+13+#d2.bmp_width+13+#d3.bmp_width+13+#d4.bmp_width+28+100-(100*#posAni)" y="860-278" alignV="center" src="tian.png" />
</Group>
</Group>
</Group>
<!-- <Image src="t.png" srcid="int(#hour/10)" x="364" y="296" align="center" alignV="center" /> -->
<!-- <Image src="t.png" srcid="int(#hour%10)" x="433" y="296" align="center" alignV="center" /> -->
<!-- <Image src="t.png" srcid="int(#minute/10)" x="364" y="425" align="center" alignV="center" /> -->
<!-- <Image src="t.png" srcid="int(#minute%10)" x="433" y="425" align="center" alignV="center" /> -->
<!-- <Image x="245" y="360" align="center" alignV="center" srcExp="'week_'+#day_of_week+'.png'" /> -->
<DateTime x="540" y="708" align="center" color="#FF787f" alignV="center" format="@time_small2" size="60" />
<!-- 天气 -->
<Text x="540" y="804" align="center" alignV="center" color="#ffd700" size="40" textExp="@w_dp+' '+@w_tem" bold="true" visibility="len(@w_tem)" />
<!-- 日期、农历 -->
<DateTime x="540" y="860" align="center" alignV="center" color="#ffffffff" size="40" format="M月d日 YY年 N月e t E" bold="false"/>
<!-- 电量 -->
<Group y="910+#lunar_calendar_enable*56" w="1080" h="50" alignV="center" visibility="#battery_enable">
<Var name="batteryColor" expression="ifelse(#battery_state==1||#battery_state==3,'#ff4CB012','#ffffffff')" type="string" />
<Text x="540" y="25" align="right" alignV="center" color="#ffffffff" size="33" textExp="#battery_level+'%'" bold="false"/>
<Image src="icon/battery.png" x="552" y="25" alignV="center"/>
<Group x="558" y="25" w="0.56*#battery_level" h="18" alignV="center" clip="true">
<Rectangle w="56" h="18" fillColor="@batteryColor" cornerRadius="5"/>
</Group>
<Image x="558+28" y="25" align="center" alignV="center" src="icon/flash.png" visibility="#battery_state==1||#battery_state==3" />
</Group>
<!-- 通知图标之间的间隙 -->
<!-- <Group y="840+int(#lunar_calendar_enable+#battery_enable)*80" > -->
<Var name="noticeSpace" type="number" const="true" expression="60" />
<Group y="840+150" >
<!-- 预览模式通知 -->
<Group visibility="#notification_enable ** #preview_mode">
<Image x="540-#noticeSpace*3" w="72" h="72" align="center" srcType="ApplicationIcon" srcExp="'com.android.contacts,com.android.contacts.activities.TwelveKeyDialer'"/>
<Image x="540-#noticeSpace*1" w="72" h="72" align="center" srcType="ApplicationIcon" srcExp="'com.android.mms,com.android.mms.ui.MmsTabActivity'"/>
<Image x="540+#noticeSpace*1" w="72" h="72" align="center" srcType="ApplicationIcon" srcExp="'com.android.email,com.android.email.activity.Welcome'"/>
<Image x="540+#noticeSpace*3" w="72" h="72" align="center" srcType="ApplicationIcon" srcExp="'com.android.thememanager,com.android.thememanager.ThemeResourceTabActivity'"/>
</Group>
<!-- 息屏真实通知 -->
<Group x="-min(#hasnotifications-1,3)*#noticeSpace" visibility="#notification_enable ** !#preview_mode">
<Image name="notice_icon0" x="540+#noticeSpace*0" w="72" h="72" align="center" visibility="#hasnotifications}=1"/>
<Image name="notice_icon1" x="540+#noticeSpace*2" w="72" h="72" align="center" visibility="#hasnotifications}=2"/>
<Image name="notice_icon2" x="540+#noticeSpace*4" w="72" h="72" align="center" visibility="#hasnotifications}=3"/>
<Image name="notice_icon3" x="540+#noticeSpace*6" w="72" h="72" align="center" visibility="#hasnotifications}=4"/>
</Group>
</Group>
</Group>
</Aod>

放上效果图

eclipse删除launch configuration

两种方法

  1. 手动在磁盘删除
  2. 通过代码删除

以我的项目为例子,保存在下面路径,直接进入删除即可。

1
D:\Develop\JavaDev\.metadata\.plugins\org.eclipse.debug.core\.launches

代码删除的源码如下

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import java.io.File;
import java.io.IOException;

/**
*
* DeleteLaunchesFiles
* https://blog.csdn.net/qq_21808961/article/details/80463530
*
*/
//Runnable JAR File Export Launch confiquration:列表太多
public class DeleteLaunchesFiles {
/**
* 获取工作空间字符串路径。
*
* @return 工作空间字符串路劲。
*/
public static String getWorkspacePath() {
// D:\dev\workspace\RunableTools---java工程路径
// System.out.println(System.getProperty("user.dir"));
File projectPathFile = new File(System.getProperty("user.dir"));
File workspaceFile = projectPathFile.getParentFile();
// D:\dev\workspace--->工作区间路径
// System.out.println(workspaceFile);
String workspace = null;
try {
workspace = workspaceFile.getCanonicalPath() + "\\";
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return workspace;
}

/**
* 获取当前工作区间的导出配置列表目录的路径。
*
* @return 当前工作区间的导出配置列表目录的路径。
*/
public static String getlaunchesFileDir() {
return getWorkspacePath() + ".metadata\\.plugins\\org.eclipse.debug.core\\.launches";
}

public static void main(String[] args) throws IOException {
String path = getlaunchesFileDir();
System.out.println(path);
File launchConfiqurationDir = new File(path);// 获取工程目录下的导出配置列表文件夹
if (launchConfiqurationDir.isDirectory()) {
File[] configlist = launchConfiqurationDir.listFiles();
for (File file : configlist) {
System.out.println(file.getName() + "已删除");
file.delete();// 删除.lanunch文件
}
}
}
}

解决Github文件无法下载

访问raw.githubusercontent.com的时候,老是没网。说来说去,不还是因为中间有道墙吗!

进入IPaddress,输入raw.githubusercontent.com,得到ip地址,199.232.96.133。

windows进入C:\Windows\System32\drivers\etc\hosts,添加一行

1
199.232.96.133 raw.githubusercontent.com

记住,前面一定要加raw,否则没用。

如果不生效,就刷新dns

1
ipconfig /flushdns

参考

Idea文件夹层次问题

这个其实只要设置一下compact middle packages即可。

Idea通过debug寻找实现类

链接

参考教程

Idea设置运行环境

因为公司的项目在我电脑上跑不起来,所以我就设置了jdk版本。

首先,打开项目。

Hexo查看所有文章包括草稿

命令

1
hexo s --drafts -p 80

安卓无Root卸载app

首先下载adb工具,如果链接失效,就去我的cloud里面注册获取即可。

步骤

  1. 开启usb调试,数据线连接电脑。下面的步骤都是基于电脑命令行执行。

  2. 获取连接的设备

  3. 如果连接上,启用adb命令

  4. 执行卸载

获取连接设备

1
adb devices

启用adb命令

1
adb shell

执行卸载

1
pm uninstall -k --user 0 软件包名

效果如下图

阿里云邮

因为换了服务器,后来又把域名解析都关闭了,只开了几个必要的,结果导致阿里云邮用不了了。

阿里云邮配置官方文档

进入阿里云控制台,搜索域名,重新打开了域名解析。

进入阿里云控制台,搜索企业邮箱,查看解析是否生效。

修改全局UA

手机端,当然首选via浏览器了,设置中修改浏览器标识。

PC端,当然首选我强大的chrome了,什么edge去死吧,不配!安装chrome扩展

推荐两款

第一款支持自己修改的ua,第二款只能使用提供的ua。我就不一样了,我直接把ua改成了鸿蒙。

1
HarmonyOS/99.99 (Copy from android; Android 2; HarmonyOS Build/HarmonyOS2) HarmonyOSWebKit/999.99 (KJSP, like HTML) Version/99.99

哎,就是喜欢黑鸿蒙,就是玩~从没见过抄人家代码抄得这么理直气壮的!

2022年,我又发现了更好用的一个扩展,ModHeader - Chrome 网上应用店

Navicat备份功能

这个是以Postgresql数据库为准。

备份之后,是可以提取成Sql的

手环模拟加密门禁

小米手环:打开小米运动,进入非加密卡模拟,会提示仅支持市面上未经加密且频率为13.56MHz的门卡

小米手机:打开小米钱包,添加实体门卡,会提示仅支持市面上频率为13.56MHz的门卡

因为手环不能模拟加密的,所以如果想要在手环上模拟门禁。

  1. 小米手机去模拟加密门禁
  2. 小米手环再去模拟小米手机上的门禁

禁用流氓软件读取列表

说到流氓软件,大众第一时间会想到的是360,想要治流氓,需要自己本身就是个大流氓。

像腾讯系列的app、阿里系列的app,感觉也是个大流氓。比如腾讯的链式启动,我登个游戏,我想输入密码,而他非给我跳到QQ、腾讯。

解决这种方法也很简单,直接adb暂时冻结你要唤起的app即可。两种途径,一个是adb命令行(usb调试、无线调试均可),另一个是借助第三方工具(冰箱、小黑屋等)

但是上面这种方式,对于常用的app,就很不方便。

小米本身提供了禁用读取应用权限,但是不好使,毕竟流氓有好多种方式可以拿到app,小米不能全部禁用,不然就成全国各大厂的公敌了不是,还想不想混了?推荐一个root后使用的模块,用于禁用读取app列表。Dr-TSNG/Hide-My-Applist: An Xposed module to intercept applist detections

如果magisk使用的是24以下版本,推荐下载2.2.4版本。

工作模式的白名单、黑名单,好像有点问题。推荐直接启用所有隐藏方式,如下。不好使就再次重启就ok。注意,右上角记得点击保存

安卓无线调试终端

使用第三方工具,甲壳虫ADB助手

小米进入参数-狂点miui版本,直到弹窗已处于开发者模式。然后进入开发者模式,打开无线调试,点击使用配对码配对设备。

按要求输入进行配对即可。

生成指定大小文件

快速生成指定大小的空文件_AllenLeungX的博客-CSDN博客_创建指定大小的空文件

windows

单位字节,生成大小为1字节的文件text.txt

1
fsutil file createnew text.txt 1

linux

of:fileName为文件名称,例如test.txt ;

bs:设置一次复制的大小,例如1M;

count:设置复制次数,例如50;

生成一个50M大小的文件1.txt

1
dd if=/dev/zero of=1.txt bs=1M count=50

热点转发vpn

android

安卓的话,使用google play提供的vpn热点即可

windows

有的vpn连接后会生成一个网络适配器,通过开启热点,共享即可。

搜索引擎使用技巧

指定/屏蔽网站

1
2
3
4
# 指定某个网站
camunda 工作流 site:juejin.cn
# 屏蔽某个网站
camunda 工作流 -site:juejin.cn

指定/屏蔽文件类型

1
2
3
4
# 指定
camunda 工作流 filetype:pdf
# 屏蔽
camunda 工作流 -filetype:pdf
发布:2020-01-04 03:02:40
修改:2023-10-21 01:54:32
链接:https://meethigher.top/blog/2020/tips/
标签:life tips 
付款码 打赏 分享
shift+ctrl+1可控制目录显示