摘要:
windows的curl和wget是假的,实际上是Invoke-WebRequest.exe。 以下是脚本是使用Invoke-WebRequest上传文件到jfrog: $filePath = ".\file.zip" $targetFilePath = "file.zip" $url = "htt 阅读全文
摘要:
看来一圈抄来抄去的陈年老博客,还不如看博客评论区。 yaml文件的imagePullPolicy的IfNotPresent改为Never 没啥事用,本地存在镜像,kubectl还是选择去阿里代理仓拉取,尴尬的是calico 是从github下载的release-v3.26.4,阿里云镜像代理仓没有这 阅读全文
摘要:
sudo docker ps 查到容器id后,docker commit 提交容器为镜像 sudo docker commit b3047955060f devops-harbor.sany.com.cn/sany-wuhuport/ci-wuhu-vehicle:latest 可以直接推送到har 阅读全文
摘要:
查找版本 https://raw.githubusercontent.com/Bugazelle/chromium-all-old-stable-versions/master/chromium.stable.json 根据driver版本,找到Linux版本之后可以根据链接直接下载(有梯子) 例如 阅读全文
摘要:
To continuously convert an RGB data stream to H.265 and transmit it to an ARM machine running Ubuntu 18, you can use FFmpeg in combination with a netw 阅读全文
摘要:
安装内核 sudo sed -i '$a\deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse \ deb-src https://mirrors.ustc.edu.c 阅读全文
摘要:
IP地址 IPv4 IP地址 = 网络地址 + 主机地址(又称:主机号和网络号组成) IP地址 192.168.1.168, 子网掩码 255.255.255.0作为示例: 192.168.100.168(IP地址) = 192.168.1.0 (网络地址) + 0.0.0.168(主机地址) 排除 阅读全文
摘要:
#perl中使用sed system("sed -i 's/wait_process/wait \${a} \&\& wait \${b}/g' xxx.sh"); 这么写会出现错误,达不到sed预期的替换效果,即“\&”在sed中写的是"&"。perl发生一次转义、sed也需要一次转义; syst 阅读全文
摘要:
解决方式一 这个博客 https://www.cnblogs.com/surong/p/3381346.html 有提到一种解决方式,即丢弃 当前分支 重新拉取 1. git abandon branchName; 2. repo forall -c 'git reset HEAD --hard' 阅读全文
摘要:
0RA-01017: invalid username/password; logon denied 确认账号密码无误、且可以使用服务名登录后,发现Oracle在多租户环境下,sid已经指定一个实例了。 解决办法: https://cloud.tencent.com/developer/articl 阅读全文