在我切换了 clash 透明代理和普通代理之后遇到了如题所述的问题。
下面是详细日志
[TCP] dial ? 规则之外 (match Match/) to dns.alidns.com:443 error: advanced-cm-3.nodesub.com:3600 connect error: all DNS requests failed, first error: Post "https://dns.alidns.com/dns-query": context deadline exc... 阅读全文
n1 的 docker,一个 ubuntu 容器在 root 用户下执行 apt-get update 总是遇到 Some index files failed to download. They have been ignored, or old ones used instead 问题,换了好几个国内源都没有解决。
比如下面这篇提到的多个源
https://www.cnblogs.com/gentlemanwuyu/p/11621636.html
但这是为 x86 架构的机器准备的源地址... 阅读全文
查看 leanote 数据库配置
查看 leanote 安装配置文件 (一般是 /data/leanote/conf/app.conf),找到数据库的用户名和密码(以及端口、数据库名字等信息)
# mongdb
db.host=127.0.0.1
db.port=27017
db.dbname=leanote # required
db.username= # if not exists, please leave it blank
db.password= # if not exists, p... 阅读全文
windows 下 traceroute 工具一般用下面这两个
winmtr
官网: http://winmtr.net/download-winmtr/
优点: 图形界面,速度快
缺点: 没有地图显示,不够直观
备注: 比 Windows dos 自带的 tracert 工具更加好用
besttrace
官网(下载地址): https://www.ipip.net/product/client.html
优点: 可以识别每一跳 ip 的地理位置,自带地图,显示非常直观。可以选择 goo... 阅读全文
url 中 # 的作用
# (hash) 代表网页文档中的一个位置,#右边的字符就是该位置的标识符。
# 是用来指导浏览器的动作的,对服务端是无感的。浏览器先请求 url 得到 response 之后再定位到 # 的位置。
为网页位置指定标识符,一般有两种方法
使用锚点
<a name="xxx">position that xxx points</a>
使用 id 属性
<div id="xxx">position that xxx points&l... 阅读全文