一次狗东薅羊毛提现到微信钱包失败引发的排查记录,“无效的openId,当前pin尚未绑定微信”错误

一开始的错误日志是这样的: 省钱大赢家之翻翻乐 【京东账号1】xxx 4点:0.32现金 提现至微信钱包失败 详情:{"success":true,"code":0,"errMsg":"success","data":{"status":"50053","message":"无效的openId,当前pin尚未绑定微信"}} 【京东账号2】yyy 4点:0.32现金 提现至微信钱包失败 详情:{"success":true,"code":0,"errMsg":"success","data":{"status":"50053","message":"无效的openId,当前pin尚未绑... 阅读全文 »

写shell脚本监测vps上的frps进程是否存在,不存在自动重启

写下面文本到文件 /home/sftp/check_frps.sh #!/bin/bash # author: hellodk # time: 2021-05-28 16:14:26 # script feature description: check if frps is running, if not, start it function check_frps(){ time3=$(date "+%Y-%m-%d %H:%M:%S") frpsCount=`ps aux | grep "/usr/local/frp/frps -c /usr/local/frp/... 阅读全文 »

openwrt 安装 tree

opkg 源中 tree 的软件包名字就叫 tree 安装: 首先更新 opkg update 再安装 opkg install tree 出现错误,如下 # opkg install tree Installing tree (1.8.0-1) to root... Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/x86_64/packages/tree_1.8.0-1_x86_64.ipk Installing libgcc1 (8.4.0-3) to root... Downloading htt... 阅读全文 »

Rime/鼠须管/小狼毫 在完全中文输入下使用全套西文标点/英文标点

以前的设置方法步骤是 使用一个 alternative.yaml 的配置文件 将上述文件中的 config_version 设置成你本地的rime配置同版本号 在你正在使用的输入方案的配置文件中(比如小鹤双拼的配置文件,double_pinyin_flypy.custom.yaml)打 patch (补丁) 比如你的文件是 default.custom.yaml 打补丁 patch: punctuator: import_preset: alternative 重新部署 deploy 现在如果你的配置方案的方案选单中有 「,。-> , . 」 功能的话... 阅读全文 »

IDE的暗黑模式(dark mode)真的护眼吗?我为什么一直使用浅色背景(light mode)

关于 Dark Mode 和阅读,最近看到了这样的一篇文章 文章链接 https://rxoptical.com/eye-health/is-dark-mode-better-for-your-eyes/ 其中有这样的一段话: White text on a black background, or “dark mode,” makes the eye work harder and open wider, since it needs to absorb more light. When this happens, the white letters can bleed into th... 阅读全文 »