location /
{
proxy_pass https://haoduck-my.sharepoint.com;
proxy_set_header Host haoduck-my.sharepoint.com;
proxy_set_header Range $http_range;
proxy_buffering off;……继续阅读 »
haoduck
9个月前 (11-30) 32浏览 0评论
0个赞
Wondershaper简介
Wondershaper是一个小的bash脚本,使您可以限制Linux中的网络带宽。 它使用tc命令行程序作为配置流量控制的后端。 它是用于控制Linux服务器上带宽的便捷工具。
它允许您设置最大下载速率和/或最大上传速率。 此外,它还允许您清除已设置的限制,并可以从命令行显示接口的当前状态。 除了使用CLI选项,您还可以在sy……继续阅读 »
haoduck
9个月前 (11-19) 35浏览 0评论
0个赞
x86
https://download.my.visualstudio.com/pr/zh-cn_windows_10_enterprise_ltsc_2021_x86_dvd_30600d9c.iso?t=2ecb04df-c7f6-4096-a6bb-25d22b65e6ba&e=1637130941&h=d57ac3d8a45bc5fbd7d0149……继续阅读 »
haoduck
9个月前 (11-17) 21浏览 0评论
0个赞
实测Ubuntu是可用的,理论上都可以。
bash ……继续阅读 »
haoduck
10个月前 (10-19) 73浏览 1评论
0个赞
一、下载安装阿里云盘上传程序
1. 安装Python环境
apt install -y git
apt install -y python3 python3-pip
2. 下载程序
git clone https://github.com/Hidove/aliyundrive-uploader ~/.aliup
python3 -m pip install ……继续阅读 »
haoduck
11个月前 (09-20) 35浏览 0评论
1个赞
最近使用的oneindex出现白屏了,总是一段时间会出现,之前搜索过解决方案,没有找到一个说明问题原因的答案,于是自己动手试试。如果你不需要了解这个过程直接看后面修改方法。
思路
oneindex出现白屏后,我尝试在postman上使用base.php里面的refreshtoken重新获取accesstoken,提示refreshtoken是……继续阅读 »
haoduck
11个月前 (09-05) 88浏览 1评论
0个赞
首先你要有一个Office E5开发者订阅,如果没有,你可以参考这篇文章申请一个。https://haoduck.com/305.html
其他基础的问题就不多说了,直接开始
一、注册Azure应用
记得是用订阅下的子账号申请,也就是默认域名为@xxxx.onmicrosoft.com的账号。
登录Azure,https://portal.azure.com……继续阅读 »
haoduck
1年前 (2021-08-15) 381浏览 7评论
0个赞
Ubuntu/Debian
curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash
sudo apt-get install speedtest
Fedora/Centos/Redhat
curl -s https://install.speedtest.net/app……继续阅读 »
haoduck
1年前 (2021-08-14) 38浏览 0评论
0个赞
项目下必须文件Dockerfile、heroku.yml
Dockerfile内容如下
heroku.yml内容如下
build:
docker:
web: Dockerfile
heroku create [appname] #appname可忽略,自动生成随机应用名,同时是默认URL的域名前缀
git init #(已经是git项……继续阅读 »
haoduck
1年前 (2021-08-12) 28浏览 0评论
0个赞
去vast.ai租显卡,卖家大部分是个人,基本都是家宽IP,临时用来注册账号什么的挺好
最便宜的1080ti一小时只要0.15美元,用一整个月也才108美元,不需要GPU还可以挖矿收回一半以上成本
ps:使用frp穿透转发流量
原帖:https://hostloc.com/thread-875076-2-1.html
……继续阅读 »
haoduck
1年前 (2021-08-05) 28浏览 0评论
0个赞