 python3学习手册#还原默认源 # conda config #生成默认配置文件,在~/.condarc # conda search pytorch #从所有channels中查找软件 # conda install anaconda/cloud 匹配除了换行符\n之外的所有字 符,加上s修饰后,.点号包含换行符 re.S re.search() 匹配整个字符串,直到找到一个匹配,只返回匹配上的第 一个匹配对象 import re str = "net Net fldskajfl jfsd lfjasd lfj asdkfl sl x" ret = re.search(r"et", str, flags=re.I) #在str里搜索 et,返 et,返 回一个匹配对象,如果匹配不到,返回None print(ret) 结果: 说明: re.search(正则表达式, 要搜索的字符串, flags=修饰符) #只匹 配第一个匹配上的字符 正则表达式 可用r" " 指定里面的所有字符都不识别为python转义字符 flags= 修饰符,可用 | 或运算连接多个修饰符,常用3个修饰符如0 码力 | 213 页 | 3.53 MB | 1 年前3 python3学习手册#还原默认源 # conda config #生成默认配置文件,在~/.condarc # conda search pytorch #从所有channels中查找软件 # conda install anaconda/cloud 匹配除了换行符\n之外的所有字 符,加上s修饰后,.点号包含换行符 re.S re.search() 匹配整个字符串,直到找到一个匹配,只返回匹配上的第 一个匹配对象 import re str = "net Net fldskajfl jfsd lfjasd lfj asdkfl sl x" ret = re.search(r"et", str, flags=re.I) #在str里搜索 et,返 et,返 回一个匹配对象,如果匹配不到,返回None print(ret) 结果: 说明: re.search(正则表达式, 要搜索的字符串, flags=修饰符) #只匹 配第一个匹配上的字符 正则表达式 可用r" " 指定里面的所有字符都不识别为python转义字符 flags= 修饰符,可用 | 或运算连接多个修饰符,常用3个修饰符如0 码力 | 213 页 | 3.53 MB | 1 年前3
 k8s操作手册 2.3e的port 去访问目标服务 名称解析默认后缀为集群初始化时--cluster-domain指定的域名后缀,所以如果 pod里的/etc/resolv.conf的search后得指定默认查询的域,如果不对,则域名解 析会失败 search default.svc.cluster.local svc.cluster.local cluster.local ②NodePort类型 # vi com/charts # helm repo list NAME URL test-repo h�p://cof-lee.com/charts # helm search repo test-chart NAME CHART VERSION APP VERSION DESCRIPTION test-repo/test-chart0 码力 | 126 页 | 4.33 MB | 1 年前3 k8s操作手册 2.3e的port 去访问目标服务 名称解析默认后缀为集群初始化时--cluster-domain指定的域名后缀,所以如果 pod里的/etc/resolv.conf的search后得指定默认查询的域,如果不对,则域名解 析会失败 search default.svc.cluster.local svc.cluster.local cluster.local ②NodePort类型 # vi com/charts # helm repo list NAME URL test-repo h�p://cof-lee.com/charts # helm search repo test-chart NAME CHART VERSION APP VERSION DESCRIPTION test-repo/test-chart0 码力 | 126 页 | 4.33 MB | 1 年前3
 Velocity Conference 2015slideshare.net/brendangregg/velocity-2015-linux-perf-tools  Value of mentoring (vs self-teaching through search) is mentor telling you what not to worry about  Perf events mixed mode can show stack traces0 码力 | 4 页 | 176.79 KB | 5 月前3 Velocity Conference 2015slideshare.net/brendangregg/velocity-2015-linux-perf-tools  Value of mentoring (vs self-teaching through search) is mentor telling you what not to worry about  Perf events mixed mode can show stack traces0 码力 | 4 页 | 176.79 KB | 5 月前3
 The DevOps Handbookwill likely over or under alertd. USING ANOMALY DETECTION TECHNIQUES i. Anomaly detection is “the search for items or events which do not conform to an expected pattern.” ii. Smoothing – suitable for0 码力 | 8 页 | 24.02 KB | 5 月前3 The DevOps Handbookwill likely over or under alertd. USING ANOMALY DETECTION TECHNIQUES i. Anomaly detection is “the search for items or events which do not conform to an expected pattern.” ii. Smoothing – suitable for0 码力 | 8 页 | 24.02 KB | 5 月前3
共 4 条
- 1














