分类 Software 下的文章

KMS 激活服务,使用KMS激活Windows系统和Office软件
假定KMS服务器为kms.xxx.org,使用默认端口1688
  • Windows激活步骤(管理员命令执行)

    • 设置服务

      slmgr -skms kms.xxx.org
    • 安装密钥

      slmgr -ipk 版本对应秘钥
    • 激活系统

      slmgr -ato

    Windows密钥列表

- 阅读剩余部分 -

1.OpenSSL版本升级

https://computingforgeeks.com/how-to-install-openssl-1-1-on-centos-rhel-7/

1.1 安装依赖

$ sudo yum -y groupinstall "Development Tools"

1.2 下载openssl且编译

$ wget https://www.openssl.org/source/openssl-1.1.1w.tar.gz
$ tar xvf openssl-1.1.1w.tar.gz
$ cd openssl-1.1.1w
$ ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl
Operating system: x86_64-whatever-linux2
Configuring OpenSSL version 1.1.1w (0x1010117fL) for linux-x86_64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL file first)         ***
***                                                                ***
**********************************************************************

- 阅读剩余部分 -

tdl是一个 Telegram Downloader,具有以下特性:

单文件启动
低资源占用
吃满你的带宽
比官方客户端更快
支持从受保护的会话中下载文件
具有自动回退和消息路由的转发功能
支持上传文件至 Telegram
导出历史消息/成员/订阅者数据至 JSON 文件

->项目主页<-

1.登录

  • 使用桌面端

    tdl login
  • 使用二维码

    tdl login -T qr
  • 使用手机号码和验证码

    tdl login -T code

2.下载

找到对应的消息,右键复制链接(Copy Post Link)
tdl dl -u https://t.me/xxxxxx/xxxx -d C:\Users\Downloads

3.参数

  • 目录 -d /path/to/dir
  • 线程 -t 8 -s 524288 -l 4
  • 并发任务 -l 4
  • 分块大小512KiB(最大) -s 524288
  • 自动跳过相同文件 --skip-same
  • 恢复下载 --continue
  • 重新下载 --restart
  • HTTP 文件服务器(使用下载管理器(如 aria2/wget/axel/IDM)下载文件) --serve

    • 使用自定义端口 --port 8081
  • 过滤器(白名单和黑名单不能同时使用)

    • 白名单 -i jpg,png
    • 白名单 -e mp4,flv

当下载完成会在屏幕右上角弹出一个提示框显示具体下载完成的文件名,同时中文语音播报:“有个文件下载完成,请查收!”

1.创建download-complete-hook.sh脚本,放置到~/.aria2/目录

$ cat download-complete-hook.sh

#!/bin/sh
# 变量 3 表示下载完成文件的路径
 
fname=`basename $3`
osascript <<EOF
display notification "$fname 已经下载完成!" with title "【下载完成】"
say "有个文件下载完成,请查收!"
EOF

2.设置运行权限:

chmod +x ~/.aria2/download-complete-hook.sh

- 阅读剩余部分 -

您是第 67932 位访客