打赏
摘要: websocket 查看websocket连接 netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' netstat -a |grep 8090 强制移除websocket连接 ss -tap | grep CLOS 阅读全文
posted @ 2022-06-17 13:51 苍山落暮 阅读(1854) 评论(0) 推荐(0) 编辑
摘要: git 自动补全 下载git补全的配置 curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash 编辑~/.bashrc 阅读全文
posted @ 2022-06-17 13:51 苍山落暮 阅读(256) 评论(0) 推荐(0) 编辑
摘要: Ubuntu arm环境安装 (1.)首先需要有一个Ubuntu环境,不论物理机还是虚拟机 (2.)安装qemu-system-aarch64 # 安装完后,默认会安装在/usr/bin目录 sudo apt install -y qemu-system-arm (3.)下载UEFI固件 # 创建目 阅读全文
posted @ 2022-06-17 08:31 苍山落暮 阅读(2516) 评论(0) 推荐(0) 编辑
摘要: git 分支重命名 (1.) 重命名远程分支对应的本地分支 git branch -m oldName newName (2.) 删除远程分支 git push --delete origin oldName (3.) 上传新命名的本地分支 git push origin newName (4.) 阅读全文
posted @ 2022-06-17 08:29 苍山落暮 阅读(644) 评论(0) 推荐(0) 编辑