array=("I am Chinese" "Good") 错误用法 for item in ${array[@]}; do echo $item done 结果: I am Chinese Good 正确用法 for item in "${array[@]}"; do echo $item don ...
分类:
编程语言 时间:
2020-09-18 00:22:21
阅读次数:
44
Iterator Iterator 是 ES6 引入的一种新的遍历机制,迭代器有两个核心概念: 迭代器是一个统一的接口,它的作用是使各种数据结构可被便捷的访问,它是通过一个键为Symbol.iterator 的方法来实现。 迭代器是用于遍历数据结构元素的指针(如数据库中的游标)。 迭代过程 迭代的过 ...
分类:
其他好文 时间:
2020-09-17 23:14:18
阅读次数:
29
文章来源:https://zhuanlan.zhihu.com/p/121597412 本文仅供学术交流,如有侵权,请留言联系小编进行删除。 1、 请说明什么是Apache Kafka? Apache Kafka是由Apache开发的一种发布订阅消息系统,它是一个分布式的、分区的和重复的日志服务。 ...
分类:
其他好文 时间:
2020-09-17 17:15:09
阅读次数:
32
In my recent project I need to figure out the logic how fields in table CRMD_PRICING are populated. Take several of them highlighted below for example ...
分类:
数据库 时间:
2020-08-27 13:16:04
阅读次数:
63
6.mongoDB的java客户端1.springboot操作mongodb1.maven配置<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-mongodb</artifactId></depend
分类:
数据库 时间:
2020-08-19 20:07:22
阅读次数:
187
Runfollowingcommandbeforedoingbackup:reagent.exe/disableRemembertore-enableitafterthebackupisdone.reagent.exe/enable
do.sh #!/bin/bash repeat() { while :; do $@ && return; sleep 1; done } retryuntil() { echo $(date +%F%n%T) msg=`./job.sh 2>&1` echo $msg #echo "$msg" ...
分类:
其他好文 时间:
2020-08-13 22:08:35
阅读次数:
50
beforeEnter: function(el) { // 通过绝对定位,小球css的top和left值一直都是固定的 //不管怎么滚动,小球的x y坐标固定 el.style.transform = "translate(0,0)"; }, enter: function(el, done) { ...
分类:
其他好文 时间:
2020-08-12 15:52:47
阅读次数:
66
在done函数内加上以下代码即可: $(".layui-table-body").find("td").each(function (index, element) { if ($(this).attr("data-field") > 0) { $(this).css("display", "non ...
分类:
其他好文 时间:
2020-08-08 09:24:31
阅读次数:
178
本篇文章 字符串的方法 列表的方法 查看Python手册 01:对象方法的概念 python中的一切类型的数据都是对象:数据和方法 对象数据 对象所对应额存储的东西,是静态的部分 比如:a = 'sdl123456' 对象方法 可以看做对象的行为,是动态的部分 对象方法其实就是属于该对象的函数 02 ...
分类:
其他好文 时间:
2020-08-04 18:16:40
阅读次数:
97