我现在都在用 squoosh 批量压缩照片。但是 squoosh 压缩出来的图片丢失了 exif 数据,不论是网页还是终端 squoosh-cli。关于使用终端 squoosh-cli 批量压缩图片,你可以阅读我写的 [可能是]最好的压缩图片程序,使用 squoosh-cli 批量压缩图片
关于在得到压缩后的图片不丢失exif元数据这个问题,我尝试了其他压缩工具,比如 tinypng.com 也一样无法实现目的。
tinypng.com 的 web,压缩后的图片无法得到元数据。然后我关注到了其... 阅读全文
思路就是编写启动和停止的 shell 脚本,然后编写 systemd 配置文件。
我以我之前写的微博热搜实时推送前后端程序为?️。欢迎关注我的 微博热搜实时推送 tg 推送频道。 url is https://t.me/weibo_hot_search GitHub: https://github.com/hellodk34/weibo_hot_search
该 Java 应用是这样运行的
java -jar xxx.jar > /dev/null 2>&1 &
该 ... 阅读全文
gitpushworkflow
feature description: git add . and git commit -m and git push workflow
一个不是那么复杂的 git add .、git commit -m 'xxx'、git push 的工作流脚本工具。
工具:Click Me
Usage
1. in macOS or any Linux systems
cp linux-gitpush.sh to any folder you like, such as ... 阅读全文
写下面文本到文件 /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... 阅读全文