摘要:
1 sudo mkdir -p /opt/homebrew 2 sudo chown -R $(whoami) /opt/homebrew 3 cd /opt 4 curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --s 阅读全文
摘要:
1、已创建容器忘了增加--restart=always参数 需要提前知道容器名字/CID 方法一:服务运行时直接命令修改 docker update --restart=always 容器名字/CID 方法二:服务未运行时直接修改配置文件 cd /var/lib/docker/containers/ 阅读全文
摘要:
VMware Workstation 打开虚拟机提示:传输(VMDB)错误-14: Pipe connection has been broken 无法待机 解决方案:https://communities.vmware.com/t5/VMware-Workstation-Pro/quot-Tran 阅读全文
摘要:
1、简介 PDF(英语:Portable Document Format,缩写:PDF) PDF的历史与规范化 ISO 32000-1:2008 2、文件结构 一般的PDF文件由四部分组成 header部分:单行,标识文件所遵循的PDF规范的版本 body部分:多行,包含了由多个文件对象构成的文件主 阅读全文
摘要:
vim -b binfile -b参数,二进制打开命令 :%!xxd -g 1 切换到十六进制模式显示 阅读全文
摘要:
1、安装 ➜ brew install vnstat Updating Homebrew... ^C ==> Downloading https://homebrew.bintray.com/bottles/gd-2.3.0.big_sur.bottle.tar.gz ==> Downloading 阅读全文
摘要:
tcpdump -v -i eth0 "ip and (dst net $ip) and (tcp[13]!=20 and tcp[13]!=2) tcp[13] 第14个字节(数组序号从0算起,为13),即CWR~FIN位,CWR、ECE默认为0 tcp[13]!=20 不等于20(0001010 阅读全文
摘要:
Nginx nginx.conf location /v2 { try_files /nonexistent @$http_upgrade; } location @websocket { proxy_redirect off; proxy_pass http://127.0.0.1:10000;# 阅读全文
摘要:
需求:两个开关控制一个灯。 需要开关类型:单刀双掷开关 x 2 接线方式: 单开双控开关,后面有三个触点,分别是L、L1、L2。如果开关接线柱标记是L1、L2、L3,则一般位于中间L2为L(动片),L1、L3为上文的L1、L2(定片)。 把两个L1、L2分别用线连起来(交叉连接,即S1的L1连接S2 阅读全文
摘要:
docker exec 无法进入容器 OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "process_linux.go:78: starting setn 阅读全文