If you are new to YAML, here is a useful link to a blog on YAML. YAML tutorial Here is a free tool that was mentioned in the video that can convert YA ...
分类:
其他好文 时间:
2021-05-04 16:11:49
阅读次数:
0
Redis的主从复制模式下,一旦主节点由于故障不能提供服务,需要人工将从节点晋升为主节点,同时还要通知应用方更新主节点地址,对于很多应用场景这种故障处理的方式是无法接受的。可喜的是Redis从 2.8开始正式提供了 Redis Sentinel (哨兵)架构来解决这个问题。 1.基本概念 由于对Re ...
分类:
其他好文 时间:
2021-05-04 15:22:14
阅读次数:
0
1. 点击uni-app发布 2. 选择原生-App云打包 3. 选择使用自有证书 4. 下载安装JRE环境 1. /usr/libexec/java_home -V 查看java安装目录 2. 没有安装就安装,有的话自行查看.bash_profile的java环境变量配置 5. 输入 echo $ ...
分类:
移动开发 时间:
2021-04-27 15:16:03
阅读次数:
0
上一篇讲了用 python 提取字符串中的数字,这次用VBA来事项。总体思路和 python 是一样的,代码如下: Option Explicit Sub GetNumbers() Dim from_string As String, convert_numbers As String Dim i, ...
分类:
编程语言 时间:
2021-04-27 14:37:45
阅读次数:
0
JSP介绍 JSP全称java server pages和servlets一样都是sun公司定义的一种用于开发动态web资源的技术。 JSP这门技术的最大的特点在于,写jsp就像在写html,但它相比html而言,html只能为用户提供静态数据,而Jsp技术允许在页面中嵌套java代码,为用户提供动 ...
分类:
Web程序 时间:
2021-04-26 13:40:36
阅读次数:
0
SELECT areaName FROM area ORDER BY CONVERT ( areaName USING gbk ) COLLATE gbk_chinese_ci ASC 说明: areaName为列名 area为表名 ...
分类:
数据库 时间:
2021-04-24 11:51:48
阅读次数:
0
java 矩阵转换: class ImageUtil{ public static int[][] convert2DArray(int[][] arr){ int height=arr.length; int width=arr[0].length; int[][] result=new int[ ...
分类:
其他好文 时间:
2021-04-23 12:03:31
阅读次数:
0
求点的最小外接矩 rect1 = cv2.minAreaRect(box): def back_forward_convert(coordinate, with_label=True): """ :param coordinate: format [x1, y1, x2, y2, x3, y3, x ...
分类:
编程语言 时间:
2021-04-23 11:53:53
阅读次数:
0
尝试输出keras模型参数的时候,需要解决的问题: 1 import tensorflow.compat.v1 as tf 2 tf.disable_v2_behavior() 3 import numpy as np 4 weight = tf.get_variable(name='weights ...
分类:
其他好文 时间:
2021-04-21 12:37:02
阅读次数:
0
参考链接: https://www.rapidtables.com/convert/color/rgb-to-hsv.html https://zhuanlan.zhihu.com/p/67930839 在缺陷检测时,直接使用RGB值检测一些有色差的缺陷时,往往不容易检测,因为RGB值的变化在肉眼上 ...
分类:
其他好文 时间:
2021-04-20 15:09:32
阅读次数:
0