会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Mind Note Of Work Arch
在线笔记_知识库_
首页
新随笔
联系
管理
上一页
1
2
3
4
5
下一页
2021年4月30日
k3s 安装脚本
摘要: 官方文档 https://docs.rancher.cn/docs/k3s/quick-start/_index/ 安装命令 curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=c
阅读全文
posted @ 2021-04-30 17:42 yangxl-dev
阅读(237)
评论(0)
推荐(0)
2021年4月28日
shell sed 插入多行
摘要: # tr 大小写替换payload=$(echo ${payload} | tr '[a-z]' '[A-Z]')version_tag=$(echo ${version_tag} | tr '[a-z]' '[A-Z]')video_card=$(echo ${video_card} | tr '
阅读全文
posted @ 2021-04-28 14:22 yangxl-dev
阅读(1456)
评论(0)
推荐(0)
2021年4月15日
python websocketify novnc
摘要: https://blog.csdn.net/qq243348167/article/details/105745990?ops_request_misc=&request_id=&biz_id=102&utm_term=novnc&utm_medium=distribute.pc_search_re
阅读全文
posted @ 2021-04-15 17:15 yangxl-dev
阅读(142)
评论(0)
推荐(0)
sshd 超时自动断开
摘要: sshd_config 添加如下配置 ClientAliveInterval 30ClientAliveCountMax 3
阅读全文
posted @ 2021-04-15 14:04 yangxl-dev
阅读(82)
评论(0)
推荐(0)
2021年4月8日
119.29.39.77
摘要: 119.29.39.77 https://www.pianshen.com/article/9641862527/
阅读全文
posted @ 2021-04-08 18:14 yangxl-dev
阅读(48)
评论(0)
推荐(0)
2021年3月26日
python requests
摘要: import requests import json url='https://api.github.com/user'#这个网址返回的不是html,而是标准json格式header={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64) Apple
阅读全文
posted @ 2021-03-26 10:42 yangxl-dev
阅读(45)
评论(0)
推荐(0)
2021年2月7日
shell 判断字符串是否是有效ip
摘要: _ckIPaddr () { ckStep1=`echo $1 | awk -F"." '{print NF}'` if [ $ckStep1 -eq 4 ] || [ $ckStep1 -eq 6 ] then ckStep2=`echo $1 | awk -F"." '{if ($1!=0 &&
阅读全文
posted @ 2021-02-07 17:20 yangxl-dev
阅读(377)
评论(0)
推荐(0)
jenkins argocd cicd git
摘要: argo-cd jobcd脚本拉去初始化chart,sed替换对应微服务chart文件参数,并提交到新环境的chart仓库label = "master" node(label) { stage('env info'){ echo sh(returnStdout: true, script: "en
阅读全文
posted @ 2021-02-07 09:49 yangxl-dev
阅读(309)
评论(0)
推荐(0)
2021年2月4日
jenkins ci demo pipeline
摘要: job命名 ci_project_service_dev ci_project_service_qa 参数化构建 branch,dev构建是参数化分支,qa构建只有qa分支 丢弃旧的构建 保留3个 def label = "master" node(label) { stage('Checkout
阅读全文
posted @ 2021-02-04 10:46 yangxl-dev
阅读(56)
评论(0)
推荐(0)
2021年1月29日
go exec 调用外部程序并获取运行结果
摘要: package main import( "os/exec" "fmt") func main(){ cmd := exec.Command("/bin/bash", "-c", "./tool 1.jpg") buf, err := cmd.Output() if err != nil{ fmt.
阅读全文
posted @ 2021-01-29 16:46 yangxl-dev
阅读(381)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告