归档

2026 年 05 月

2026-05-17

Firewall-cmd基本命令 # 查看防火墙状态 firewall-cmd --state # not running/ running # 查看已开端口 firewall-cmd --list-ports # 使新添加的端口生效 firewall-cmd --reload # 更新防火墙规则
git

2026-05-17

git config --global user.email 'dean0731@qq.com' git config --global user.name '华为主机' git fetch --all && git reset --hard origin/master && git pull gi

2026-05-17

基本配置 # 当前项目下配置 git config -l # 查看全局配置 ~/.gitconfig git config --global --list # 查看系统配置 ../git/etc/gitconfig git config --system --list # 设置全局用户名,邮箱

2026-05-17

yum install gcc bison # 下载 wget http://ftp.gnu.org/gnu/libc/glibc-2.38.tar.gz tar -xvf glibc-2.38.tar.gz cd glibc-2.38 mkdir build cd build ../
1,CDN,Content Distribute Network,可以直译成内容分发网络,CDN解决的是如何将数据快速可靠从源站传递到用户的问题。用户获取数据时,不需要直接从源站获取,通过CDN对于数据的分发,用户可以从一个较优的服务器获取数据,从而达到快速访问,并减少源站负载压力的目的。 2,为什

2026-05-17

三色标记法是传统 Mark-Sweep 的一个改进,它是一个并发的 GC 算法。 原理如下, 首先创建三个集合:白、灰、黑。 将所有对象放入白色集合中。 然后从根节点开始遍历所有对象(注意这里并不递归遍历),把遍历到的对象从白色集合放入灰色集合。 之后遍历灰色集合,将灰色对象引用的对象从白色集合放入
go

2026-05-17

--- title: go date: 2022-01-16 15:04:50 tags: --- \`\`\`shell 系统环境变量 gopath 存放三方go模块的位置 go get xxxxx 下载模块 go env -w GO111MODULE=on \| auto 2个有区别 go en

2026-05-17

\`\`\`go func GetGid() (gid uint64) { b := make(\[\]byte, 64) b = b\[:runtime.Stack(b, false)\] b = bytes.TrimPrefix(b, \[\]byte("goroutine ")) b = b\

2026-05-17

\[GO需要注意点\]\[1\] \[文件类型鉴别\]\[2\] \[1\]: https://mp.weixin.qq.com/s?__biz=MzI2NDU4OTExOQ==\&mid=2247634338\&idx=1\&sn=0342aaa07b92133b4d70741010ccb2b9\

2026-05-17

--- title: Grub date: 2022-01-16 15:04:50 updated: 2022-01-28 15:04:50 comments: true tags: - grub - linux - \[数学,微分\] lang: zh_CN --- # 开机启动 1)Bios自检
上一页 下一页