整理备份百度网盘资源下载工具,低调使用。

2021.01.30 Kinhdown 可用

2020 年 9 月 20 日 PD 卢本伟修改版 3.5 版本更新

Kinhdown

Kinhdown
电报群
电报频道
下载地址:蓝奏云
在线解析:KD 官方

PD 卢本伟修改版

github
官网
Telegram 群

无言仰慕不起 - 稳定版

PD 新城旧梦版

https://www.itxcjm.top/76/

下载地址:蓝奏云

6 盘小白羊版

github

B 站 MBRjun 的网页复刻版

https://pan.mbrjun.cn/ 不支持文件夹下载

github

在线解析 (已关闭)

http://pan.naifei.cc/?

PanDownload

PanDownload

下载 github release 文件

下载编译好的软件包(需要有编译的包)

# wget
wget --no-check-certificate --content-disposition https://github.com/ctripcorp/apollo/releases/download/v1.5.1/apollo-adminservice-1.5.1-github.zip

# curl
curl -LJO https://github.com/ctripcorp/apollo/releases/download/v1.5.1/apollo-adminservice-1.5.1-github.zip

下载源码压缩包

wget -q https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz
wget -O git-master.zip https://github.com/git/git/archive/${GIT_BRANCH}.zip

下载仓库中的单个文件

点击文件进去,右上角有个 raw,点击进去后地址栏就是该文件的下载地址
直接 wget 地址 即可下载

获取谷歌团队盘

免费团队盘:https://wqdy.top/1207.html

GSuite 教育子号购买:https://ip.ci/product/5.html

资源转存

开源项目

rclone

rclone 客户端

gclone 为 Google Drive 操作增加自动切换账户和命令行根目录 id 操作支持

AutoRclone 解决每日 750G 限制

gd-utils Google Drive 百宝箱 支持统计、去重、telegram bot

iCopy

iCopy Docker 一键启动版

shell-bot

gclone 实用脚本合集 转存 自动分类整理 清空回收站 备份同步

搭建教程

AutoRclone 配合 Gclone 在 Google Drive 账号之间、谷歌团队盘之间快速拷贝、传输学习资料

iCopy 和 fclone 和 TG-bot 构建 gd 转存保姆教程

使用 VPS 搭建 fclone_shell_bot 文章转存 Telegram 机器人教程

第四代谷歌网盘 Clone 术:Fclone

FClone 机器人及安装过程

iCopy—— 让 Google Drive 文件转存更加简单

文件解压

unzip -O GBK -P $(echo -n 密码 | iconv -f utf-8 -t gbk) file.zip

解压中文编码文件
unar -e GBK /gdrive/disk/zidian2/77个WPA密码字典包/\’’*.rar’’

在线挂载 GD 网盘

https://github.com/reruin/sharelist

https://github.com/maple3142/GDIndex

https://github.com/Aicirou/goindex-theme-acrou 界面不错、多盘、搜索

https://github.com/alx-xlx/goindex

https://github.com/LeeluPradhan/G-Index

https://github.com/yanzai/goindex

资源群组

https://groups.google.com/forum/#!forum/mailacid 印尼群组

https://groups.google.com/forum/#!forum/tlob_share TLOB 图库群组

https://t.me/newPan 150T 已整理刮削的小姐姐团队盘

https://t.me/gdurl 各种 Google Drive 资源,包括大电影,小电影,电子书,无损音乐等

其他

Linux 测试网速 https://github.com/chiakge/Linux-NetSpeed

清空及删除团队回收站垃圾箱文件 rclone delete xxx: --drive-trashed-only --drive-use-trash=false --verbose=3 --fast-list

在线 查看文件数:https://gdurl.viegg.com/api/gdrive/count?fid=1lDa7gqv8e6xGKJdmkk-bV0kt2w_07A5r

Colaboratory 脚本运行: https://colab.research.google.com/

检查小程序更新

https://developers.weixin.qq.com/miniprogram/dev/api/base/update/UpdateManager.html

app.js 中添加如下代码

// app.js
App({
onLaunch: function () {
this.checkNewVersion()
},
checkNewVersion: function () {
let self = this
// 检查版本更新
// 获取小程序更新机制兼容
if (wx.canIUse('getUpdateManager')) {
const updateManager = wx.getUpdateManager()
updateManager.onCheckForUpdate(function (res) {
// 请求完新版本信息的回调
console.log(res)
if (res.hasUpdate) {
updateManager.onUpdateReady(function () {
wx.showModal({
title: '更新提示',
content: '新版本已经准备好,是否重启应用?',
success: function (res) {
if (res.confirm) {
// 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
updateManager.applyUpdate()
} else if (res.cancel) {
// 如果需要强制更新,则给出二次弹窗
wx.showModal({
title: '更新提示',
content: '本次更新可能会导致旧版本无法正常访问,请使用新版本',
showCancel: false, // 不显示取消按钮
success: function (res) {
if (res.confirm) {
// 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
updateManager.applyUpdate()
} else if (res.cancel) {
// 重新回到版本更新提示
self.checkNewVersion()
}
}
})
}
}
})
})
updateManager.onUpdateFailed(function () {
// 新的版本下载失败
wx.showModal({
title: '已经有新版本了',
content: '新版本已经上线啦~,请您删除当前小程序,重新搜索打开'
})
})
}
})
} else {
// 如果希望用户在最新版本的客户端上体验您的小程序,可以这样子提示
wx.showModal({
title: '提示',
content: '当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
})
}
}
})

微信开发者工具上可以通过「编译模式」下的「下次编译模拟更新」开关来调试

原因是因为 dns 污染,没法找到正确的 ip,可以通过修改 host 解决

访问这里获取正确的 ip 地址

打开服务器的 hosts 文件

vim /etc/hosts

# 添加这一行内容
获取到的ip raw.githubusercontent.com

# 或者直接添加下面这一行
199.232.68.133 raw.githubusercontent.com

保存退出,ping 一下试试

Let’s Encrypt

官方网站:https://letsencrypt.org/

现提供通配符 SSL 证书,需使用 certbot 或 acme.sh 手动发行

certbot

github:https://github.com/certbot/certbot

安装 EPEL

EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供额外的软件包

yum -y install epel-release

安装 certbot

yum -y install certbot

申请 SSL 证书

certbot certonly --standalone -d www.test.org

证书文件在 /etc/letsencrypt/ 文件夹下

acme.sh

acme.sh 实现了 acme 协议,可以从 letsencrypt 生成免费的证书

github:https://github.com/acmesh-official/acme.sh/wiki/ 说明

宝塔面板

支持一键配置 宝塔SSL,Let's Encrypt 免费证书

freessl

提供免费 HTTPS 证书申请 https://freessl.cn/

FiloSottile/mkcert

https://github.com/FiloSottile/mkcert 生成本地 HTTPS 加密证书(localhost 127.0.0.1)

其他

HTTPS 网站检测 https://myssl.com/

参考文章:

https://teddysun.com/527.html

安装

npm install -g wxss-cli

然后在小程序目录,监听此目录以下所有 css 及 less 文件并实时保存文件后转换为 wxss

# 监听文件会自动将此目录下 css,less 文件编译为 wxss
wxss ./pages

新建的 less 文件最终不会上传至小程序

Screen 是一个全屏窗口管理器。

安装

apt install screen
# 或
yum install screen

使用

screen -S <name> # 新建一个作业名为 name 的窗口,(标注 screen 窗口)
screen -ls # 显示目前所有的 screen 作业
screen -d <name> # 将指定的 screen 作业离线
screen -h <行数> # 指定视窗的缓冲区行数
screen -r <name> # 恢复指定的 screen 作业
screen -d -r <name> # 离线当前作业并回到 name 这个作业

# 当需要运行脚本、执行程序时,在命令前添加 screen 即可

ctrl + A + D # 将当前 screen detach 到后台

screen -X -S <name> quit # 删除指定 screen

进入一个 screen session 后,可能你开始跑一些程序,这时不能在命令行输入任何东西,可以使用快捷键 ctrl + A + D 将当前 screen detach 到后台

使用问题

问题:linux 在进入 screen 模式下之后,发现是无法在终端使用鼠标滚轮进行上下翻页拉动的,无法查看上面的终端输出内容了

解决办法

进入回滚模式(可以操作鼠标滚轮上下翻页):先按 Ctrl+a 键,然后释放,然后再按 [键即可进入翻页模式。
切换回之前模式:Ctrl+c

ubuntu 下源码编译安装 screen 最新版

下载地址:http://ftp.gnu.org/gnu/screen/

# 下载
wget -c https://ftp.gnu.org/gnu/screen/screen-4.8.0.tar.gz

# 解压
tar -xzvf screen-4.8.0.tar.gz
cd screen-4.8.0

# 安装依赖
apt install gcc g++ make make-guile

# 编译
mkdir build && cd build
../configure

# 安装
make && make install

验证一下
screen -h

问题:

如果报错:checking whether the C compiler works... no

# 安装 g++
apt install g++

如果报错,信息如:configure: error: !!! no tgetent - no screen

需要先安装 ncurses 下载地址 https://ftp.gnu.org/gnu/ncurses

# 下载依赖包ncurses
wget -c https://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz

# 解压安装
tar -xzvf ncurses-6.2.tar.gz
cd ncurses-6.2
mkdir build && cd build
../configure
make && sudo make install

Snap2HTML 可以帮你将硬盘下的文件整理成一个 html 格式的树状视图列表,类似于 Windows 资源管理器,带有文件大小、日期、数量等常用信息,右上角还提供了搜索功能,方便你去整理或查找,或者是向基友们分享一下你的收藏

github 地址 https://github.com/rlv-dan/Snap2HTML

官网地址 https://www.rlvision.com/snap2html/about.php

百度云链接: https://pan.baidu.com/s/1XVvgMX4TKTOZSvEay8xvnQ 提取码: pbi3

UsbEAm Hosts Editor 是一款能够提升 origin、steam、uplay 等游戏平台下载速度的工具,同时也可以有效的解决一些游戏或者平台出现的各种网络错误,帮玩家能够顺利的登录平台,顺利进行游戏。

UsbEAm Hosts Editor 还可以为 github 加速,提高网页浏览的速度和代码下载的速度

使用方法:

  • 点击左下角的游戏手柄(或者点击鼠标右键),弹出菜单

  • 在弹出的菜单上选择要检测的项目。里面包含了多个流行的游戏平台,每个平台还有下载、浏览等子菜单

  • 接着会出现一大堆 IP,先别急着去用,先点击 检测延迟,然后选择延迟最低的地址,点击应用选中即可

  • 也可以点击 编辑Hosts,手工对 Hosts 进行编辑

如果某些安全软件弹出阻止情况,请忽略放过,不然无法修改

软件下载

百度云:https://pan.baidu.com/s/1CYNEbqxkH-8vzdxWDOOE2g 提取码:p1ee