Trojan
Trojan
域名
freenom
mingfeili.ml.intlzwj8fn
手动延期
域名有效期最多为1年, 要到期时需要手动延期
1. 登陆freenom网站
2. Services -> My Domains 可以查看当前域名有效期
3. Services -> Renew Domains 可以延期当前域名
mingfeili.ml 2022-11-26 2024-02-26
DNS
cloudflare
mingfeili.ml.intlzwj8cf!
SSL/TLS 证书
查看证书信息
openssl x509 -in fullchain.pem -...
Django Deploy
Django Deploy
Reference
How to deploy Django
Django Tutorial Part 11: Deploying Django to production
HTML/CSS Render engine
HTML/CSS Render engine
查看元素边界
<!-- 控制台运行 -->
[].forEach.call($$("*"),function(a){
a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)
})
查看鼠标点击坐标
element.addEventListener("mousedown", function (e) {
<!-- let bounds = document.getElementById("graph").getBoundingClientRect(); -->
let bounds = pare...
回车与换行
回车与换行
\r = CR (Carriage Return) → Used as a new line character in Mac OS before X
\n = LF (Line Feed) → Used as a new line character in Unix/Mac OS X
\r\n = CR + LF → Used as a new line character in Windows
在vim中, \n是匹配行结束, \r是匹配回车符. 插入中, \n是插入null字符(^@), \r是插入
回车CR. 所以要把字符替换成换行, 需要%s/a/\r/g
打开特殊字段匹配(可以匹配^@之类), :set magic
...
453 post articles, 57 pages.