tech
ubuntu ibus rime配置
·647 字
安装rime输入法 # 安装比较简单,执行下面命令即可 sudo apt install ibus-rime 这
pprof分析
·606 字
服务增加 pprof 监控 # package main import( "net/http" _ "net/http/pprof" ) func main() { go func() { log.Println(http.ListenAndServe("localhost:6060", nil)) }() // do something } pprof 包
Redis内存淘汰策略
·138 字
redis 内存淘汰策略 # 策略 描述 noeviction 新写入操作会报错 allkeys-lru 在所有键值对数据
MySQL事务
·1439 字
事务的特性(ACID) # 特性 描述 原子性(atomicity)
Rsync
·77 字
rsync code 23 # 报错: rsync files to /home/path/xxx failed, ['could not make way for new regular file: xxx/.git', 'rsync error: some files/attrs were not transferred (see previous
获取图片信息
·360 字
获取远程图片信息 # image库针对远程图片使用image.D
WSL网络连接问题
·300 字
问题 # 环境:wsl1 子系统:ubuntu20.04 windo
Sentinel Golang
·1702 字
限流规则 # // Strategy type TokenCalculateStrategy int32 const ( Direct TokenCalculateStrategy = iota WarmUp MemoryAdaptive ) // Rule describes the strategy of flow control, the flow control
Docker基本命令
·436 字
基本命令 # 模块 功能 命令 repo 登录仓库 docker login [private repo] -u username -p password image 打包镜像 docker
链表
·358 字
链表简述 # 链表(Linked list)是一种常见的基础数据结