- 博客(14)
- 收藏
- 关注
原创 opencv 识别黄色物体的程序代码
识别黄色物体的完整程序代码 import cv2 cap = cv2.VideoCapture(0) #开始读取摄像头信号 while cap.isOpened(): #当读取到信号时 (ret, frame) = cap.read() #读取每一帧视频图像为frame hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) #将颜色空间转换为HSV yellow_lower = (26, 43, 46...
2022-03-31 07:57:40
10469
原创 ckad
本真题适用于2021年全年CKAD考试Configuring a Pod to Use a ConfigMapCreate a new file named config.txt with the following environmentvariables as key/value pairs on each line.DB_URL equates to localhost:3306DB_USERNAME equates to postgresCreate a new ConfigMap
2021-09-12 00:06:58
572
原创 Hello Node Kubernetes
Hello Node Kubernetes1 hourFreeGSP005OverviewThe goal of this hands-on lab is for you to turn code that you have developed into a replicated application running onKubernetes, which is running onKubernetes Engine. For this lab the code will be a..
2021-07-17 17:36:28
796
原创 Cloud Operations for GKE
Cloud Operations for GKE1 hourFreeGSP497OverviewKubernetes Engine Monitoringis a new Cloud Monitoring feature that more tightly integrates with GKE to better show you key stats about your cluster and the workloads and services running in it..
2021-07-17 16:42:44
307
原创 docker failed to register layer: fatal error: runtime: out of memory
The correct way to solve this problem is to move the docker data directory to another location where there is sufficient space. In my case this was my home partition.To do that I had to create adaemon.jsonfile in/etc/dockerand add the following lines...
2021-07-17 16:25:24
936
原创 Container Registry: Qwik Start
Container Registry: Qwik Start40 minutesFreeGSP084OverviewGoogle Container Registry is a private container image registry that runs on Google Cloud's reliable, fast, and secure infrastructure.You can access Container Registry through secure HTT
2021-07-17 16:24:43
513
原创 Python Data mining - Enron Email Dataset
https://www.cs.cmu.edu/~./enron/
2021-07-17 11:39:56
1147
原创 Docker Swarm
Docker Swarm——命令docker swarm init命令用户创建一个新的Swarm。执行该命令的节点会成为第一个管理节点,并且会切换到Swarm模式。docker swarm join-token命令用于查询加入管理节点和工作节点到现有Swarm时所使用的命令和Token。要获取新增管理节点的命令,请执行docker swarm join-token manager命令;要获取新增工作节点的命令,请执行docker swarm join-token worker命令。docker nod
2021-05-02 09:03:36
126
原创 sybase 日期函数
getdate() 得到当前时间,可以设置得到各种时间格式. datepart(日期部分,日期) 取指定时间的某一个部分,年月天时分秒. datediff(日期部分,日期1,日期2) 计算指定的日期1和日期2的时间差多少. dateadd(日期部分,数值表达式,日期) 计算指定时间,再加上表达式指定的时间长度. --取时间的某一个部分 select datepart(yy,getdate
2007-03-29 09:29:00
2834
原创 command line script
Using && and || for Conditional ProcessingWhen you use && between two commands in a single command line, the command interpreter processes the first command and, if successful, processes the
2007-03-01 15:06:00
2383
原创 Sybase函数
Sybase字符串函数2006-08-18 17:25长度和语法分析 datalength(char_expr) 在char_expr中返回字符的长度值,忽略尾空 substring(expression,start,length) 返回部分字符串 right(char_expr,int_expr) 返回char_expr右边的int_expr字符
2007-03-01 14:52:00
1066
转载 12个用一条语句写成的有关日期函数
//1.生肖(年份参数:int ls_year 返回参数:string):mid(fill(鼠牛虎兔龙蛇马羊猴鸡狗猪,48),(mod(ls_year -1900,12)+13)*2 -1,2) //2.天干地支(年份参数:int ls_year 返回参数:string):mid(fill(甲乙丙丁戊己庚辛壬癸,40),(mod(ls_year -1924,10)+11)*2 -1
2007-03-01 14:48:00
533
转载 李开复:不要成为“紧急”的奴隶
来源:《职场》杂志 时间:2006-12-17 11:08:59 最近有朋友问我,为什么你可以每天工作那么久的时间,在没有周六和周日的情况下,依然保持良好的工作状态和身体状态?这是个好问题,很多人辛苦工作,可总是觉得自己没有成就感或者疲于奔命。如何长时间工作并且保持效率?我愿意将自己的心得与大家分享。 我以前读博士时,基本上一天工作16小时。如何在艰苦的工作中,激励自己、让
2006-12-21 14:05:00
602
转载 ASP开发技巧集锦
11. 报错并返回if rs.bof and rs.eof then ‘还是有问题response.write"alert(找不到!);"response.write"javascript:history.go(-1)"end if-----------------------------------这个是跳转。 alert(); window.navigate(ChangePwd.a
2005-11-09 10:30:00
1213
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人