The Limit of Memory Usage in WSL2
WSL2 has a default memory usage limit that is set to half of the host memory.
WSL2 has a default memory usage limit that is set to half of the host memory.
Narrowing conversion is a type of type conversion in C++ where a value of a larger data type is converted to a value of a smaller data type, resulting in loss of information.
这涉及到编译、链接、声明和定义之间的关系
Verifying git commits by signing each commit with a SSH key is important.
When printing a string in Go you can use the verb %q in the format parameters of fmt functions, when available, to safely escape a string and add quotes to it.
This post explains what little-endian and big-endian is. It also explains the binary.PutUvarint function in the standard go package.
将前端项目 build 后产生的静态文件放置在 caddy 的 file_server 目录下,浏览器访问不是网站根目录是 caddy 会返回 404。
Merkle Patricia Tree (MPT) 是以太坊的一种存储结构。它不仅可以支持增删查改的操作,而且它还能对查询的结果提供可验证的功能。
虽然不是经常配置,但每次都手动搜索。
非常想念 Arch Linux 的 pacman。
众所周知,目前仅有 windows11 的 wsl 支持了 systemd。而 win10 的支持日程遥遥无期,感觉微软在欺骗我们升级 windows11。
commit 有三种反悔的方式
当一个 git 项目包含子模块(submodule) 时,直接克隆下来的子模块目录里面是空的。
半字节用 4 位二进制表示。字面意思看,两个半字节(nibble)可以凑出一个字节(byte)。在 MPT 中,它可以用一位来标记节点类型。
我每次都是这样初始化的,偶尔寄生别人的电脑也要这么做。
真的不想再输入 ssh 的密码了!
只是单纯的想了解一下
我的建议是使用 zerotier 内网穿透
中文名为 “摩尔投票算法”
参考:docker run image <cmd> <params> 实现:mnctn run <cmd> <params>