Skip to content

Instantly share code, notes, and snippets.

View wdtgbot's full-sized avatar
🎯
Focusing

Icarus wdtgbot

🎯
Focusing
View GitHub Profile
@wdtgbot
wdtgbot / ip.txt
Created August 28, 2022 03:26 — forked from ChenYFan/ip.txt
Vercel All IP
34.95.57.145 [加拿大 魁北克省蒙特利尔 Google 云计算数据中心]
13.49.54.242 [瑞典 斯德哥尔摩 Amazon 数据中心]
18.178.194.147 [日本 东京都东京 Amazon 数据中心]
52.79.72.148 [韩国 首尔 Amazon 数据中心]
35.180.16.12 [法国 巴黎 Amazon 数据中心]
18.206.69.11 [美国 弗吉尼亚州阿什本 Amazon 数据中心]
52.76.85.65 [新加坡 Amazon 数据中心]
18.130.52.74 [英国 伦敦 Amazon 数据中心]
35.202.100.12 [美国 Merit 网络公司]
35.195.188.93 [比利时 瓦隆大区圣吉斯兰 Google 云计算数据中心]
@wdtgbot
wdtgbot / CountryCodes.json
Created August 19, 2022 12:23 — forked from anubhavshrimal/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@wdtgbot
wdtgbot / us_area_codes.json
Created August 19, 2022 12:20 — forked from rkorkosz/us_area_codes.json
U.S. area codes json
{"Mississippi": [228, 601, 662, 769], "Northern Mariana Islands": [670], "Oklahoma": [405, 539, 580, 918], "Delaware": [302], "Minnesota": [218, 320, 507, 612, 651, 763, 952], "Illinois": [217, 224, 309, 312, 331, 618, 630, 708, 773, 779, 815, 847, 872], "Arkansas": [479, 501, 870], "New Mexico": [505, 575], "Indiana": [219, 260, 317, 574, 765, 812], "Maryland": [240, 301, 410, 443, 667], "Louisiana": [225, 318, 337, 504, 985], "Idaho": [208], "Wyoming": [307], "Tennessee": [423, 615, 731, 865, 901, 931], "Arizona": [480, 520, 602, 623, 928], "Iowa": [319, 515, 563, 641, 712], "Michigan": [231, 248, 269, 313, 517, 586, 616, 734, 810, 906, 947, 989], "Kansas": [316, 620, 785, 913], "Utah": [385, 435, 801], "American Samoa": [684], "Oregon": [458, 503, 541, 971], "Connecticut": [203, 475, 860], "Montana": [406], "California": [209, 213, 310, 323, 408, 415, 424, 442, 510, 530, 559, 562, 619, 626, 650, 657, 661, 669, 707, 714, 747, 760, 805, 818, 831, 858, 909, 916, 925, 949, 951], "Massachusetts": [339, 351, 413
@wdtgbot
wdtgbot / states_hash.json
Created August 19, 2022 11:42 — forked from mshafrir/states_hash.json
US states in JSON form
{
"AL": "Alabama",
"AK": "Alaska",
"AS": "American Samoa",
"AZ": "Arizona",
"AR": "Arkansas",
"CA": "California",
"CO": "Colorado",
"CT": "Connecticut",
"DE": "Delaware",
@wdtgbot
wdtgbot / .Cloud.md
Created December 10, 2021 12:41 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@wdtgbot
wdtgbot / README.md
Created December 6, 2021 00:50 — forked from fzls/README.md
分享一个青龙面板的简单并发控制插件

声明

本方案首先是自用,然后才是顺带分享给大家,所以我爱咋写咋写,请勿过多指责。没有强迫任何人使用。

如介意示例方案中的日志中的署名,请不要原封不动的使用本脚本。

正文

现状

目前青龙面板的 task 命令自带一个并发参数,如下

echo -e "3.$cmd_task  conc <环境变量名称> <账号编号,空格分隔>(可选的) # 并发执行,无论是否设置了随机延迟,均立即运行,前台不产生日志,直接记录在日志文件中,且可指定账号执行"
@wdtgbot
wdtgbot / README.md
Created December 5, 2021 15:04 — forked from fzls/README.md
愤怒的锦鲤 增加自动开红包,以及调整日志内容

声明

本方案首先是自用,然后才是顺带分享给大家,所以我爱咋写咋写,请勿过多指责。没有强迫任何人使用。

如介意示例方案中的日志中的署名,请不要原封不动的使用本脚本。

正文

现状

上次魔改锦鲤红包脚本后,其能正确地先助力满前面顺序的账号了,但是发现了一个小问题,红包不会自动开启,需要手动去操作。

最开始几天,每天定点手动去点点,点了几天后就开始烦了。此外由于设置了车头+后面随机模式,所以当天随到的人还得自己去看每天第一次通知的锦鲤活动消息来确认自己是否今天轮到了,这就更恶心了。

@wdtgbot
wdtgbot / README.md
Created November 29, 2021 07:01 — forked from fzls/README.md
解决 青龙面板中存放的cookie数目过多(如超过45)时,会报 Argument list too long 而无法正常执行部分脚本的问题

本方案首先是自用,然后才是顺带分享给大家,所以我爱咋写咋写,请勿过多指责。没有强迫任何人使用。

如介意示例方案中的日志中的署名,请不要原封不动的使用本脚本。

更新日志

2021.11.24

  1. 仅支持互助的活动脚本中打印相关提示

目录

@wdtgbot
wdtgbot / README.md
Created November 29, 2021 06:59 — forked from fzls/README.md
修复 愤怒的锦鲤 不能优先助力第一个号的问题,并额外增加一些功能

概述

  1. 修复未能按预期先执行前面的账号的问题。
  2. 增加支持车头和公平模式
  3. 完善日志
  4. 增加通知

修复前

因 open 函数中 requestApi 调用时未加 await 关键词,导致其实际是放入了一个异步队列,而没有等待其执行,导致执行顺序不对。因此会出现下面这一连串的 发起请求, 以及 后续在当前账号尚未被助力满的情况下,就走到了下一个账号

image