写下面文本到文件 /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... 阅读全文
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
Installi... 阅读全文
以前的设置方法步骤是
使用一个 alternative.yaml 的配置文件
将上述文件中的 config_version 设置成你本地的rime配置同版本号
在你正在使用的输入方案的配置文件中(比如小鹤双拼的配置文件,double_pinyin_flypy.custom.yaml)打 patch (补丁)
比如你的文件是 default.custom.yaml
打补丁
patch:
punctuator:
import_preset: alternative
重新部署... 阅读全文
你见到过哪些有趣的加群链接?
通过 base64 或者其他方式加密的字符串,将它解密就能获取加群url
通过一个阅后即焚或者有时效性的url,点击即可看到链接,几天后链接过期了,你也就无法通过这个链接加入群了
微信或者其他软件的二维码,一般都有时效性
还有呢
今天看到一个通过 dns txt 记录值保存加群链接的,还是第一次看到~
类unix系统
通过 nslookup -querytype=TXT xxx.org 就能在终端快速查询到加群链接,这里得到的查询结果一般情况下都是非权威应答。... 阅读全文
如果你有尝试自己配置邮件服务器,你也许碰到过这个问题。
本文使用的 centos 主机版本相关信息如下
# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
解决办法很简单
第一步执行:echo "unset MAILCHECK" >> ~/.bashrc 然后执行 source ~/.bashrc
这是将 unset MAILCHECK 指令写入 ~/.bashrc 文件的末尾
第二步,编辑文件 /etc/c... 阅读全文