排序
AdGuardHome配置
上游 DNS 服务器 tls://dot.360.cn https://doh.360.cn/dns-query tls://dns.pub https://dns.pub/dns-query tls://dns.alidns.com https://dns.alidns.com/dns-query tls://dns.ipv6dns.com ht...
Python实现求解自幂数
```python a = input(“请输入求解自幂数的位数”) a = int(a) x = 10(a-1) y = 10a count = 0 for c in range(x,y): s = str(c) sum = 0 for m in s: sum += int(m)**a if c == sum:...
获取hostloc帖子API实现
package main import ( 'fmt' 'log' 'net/http' 'github.com/antchfx/htmlquery' 'github.com/gin-gonic/gin' ) func getvalue(pages string) []interface{} { var data map[string]inter...
Nginx反代上传大文件报错
使用nginx作为反向代理,nginx日志报413状态码 解决方案 调整 clientmaxbodysize 参数* 调整连接超时时间 proxyconnect_timeout 参数 完整配置 找到反向代理配置文件(以宝塔面板为例) 网站 $\...
常见受攻击方式及解决办法
一、SQL注入 所谓SQL注入,就是通过把SQL命令插入到Web表单提交或输入域名或页面请求的查询字符串,最终达到欺骗服务器执行恶意的SQL命令。具体来说,它是利用现有应用程序,将(恶意)的SQL命...
unbound一键安装脚本golang版
声明:本篇文章仅供学习研究,禁止用于非法途径,如不听劝告,产生的一切后果由使用者承担 V1.0.0V1.0.1 package main import ( 'bufio' 'os' 'os/exec' 'runtime' 'strings' 'github.com/pterm...
Cloudreve安装教程
什么是Cloudreve Cloudreve 可以让您快速搭建起公私兼备的网盘系统。Cloudreve 在底层支持不同的云存储平台,用户在实际使用时无须关心物理存储方式。你可以使用 Cloudreve 搭建个人用网盘、文...
Typecho添加网站加载时间
在主题下的 functions.php 中加入以下代码: ```js /** 加载时间 @return bool */ function timer_start() { global $timestart; $mtime = explode( ‘ ‘, microtime() ); $timestar...
powerdns-dnsdist基于域名分流实现
dnsdist 是一款高度 DNS、DoS 和滥用感知的负载均衡器。其目标是将流量路由到最佳服务器,为合法用户提供最佳性能,同时分流或阻止滥用流量 文档:https://dnsdist.org/ addLocal('127.0.0.1:52...
Cloudreve进程守护
宝塔面板 如果是使用宝塔面板搭建的cloudreve的话进程守护就非常简单 打开应用商店安装Supervisor管理器 打开Supervisor管理器 添加守护进程 名称随便填 运行目录就是程序安装的目录(例如/www/...