ObjectID :Documents 自生成的 _id # 自增ID 全世界唯一的计数ID ?String: 字符串,必须是utf-8 ?Boolean:布尔值,true 或者false (这里有坑哦~在我们大Python中 True False 首字母大写) ?Integer:整数 (Int32 ...
分类:
数据库 时间:
2020-06-03 00:38:44
阅读次数:
123
Math.random():获取0~1随机数Math.floor() method rounds a number DOWNWARDS to the nearest integer, and returns the result. (小于等于 x,且与 x 最接近的整数。)其实返回值就是该数的整数位 ...
分类:
其他好文 时间:
2020-06-02 23:05:56
阅读次数:
90
Sub ?????????????()ActiveWorkbook.Sheets.CopyFor Each sh In ActiveWorkbook.Sheetssh.Visible = TrueNextEnd Sub Sub PasswordBreaker()Dim i As Integer, j ...
分类:
其他好文 时间:
2020-06-02 11:41:46
阅读次数:
109
一、kafka的基础架构 1)Producer :消息生产者,就是向kafka broker发消息的客户端; 2)Consumer :消息消费者,向kafka broker取消息的客户端; 3)Consumer Group (CG):消费者组,由多个consumer组成。消费者组内每个消费者负责消费 ...
分类:
其他好文 时间:
2020-06-02 11:14:14
阅读次数:
69
一、将哈希表 key 中的字段 field 的值设为 value 命令:hset 格式:hset key field value 127.0.0.1:6379> hset hash_key key1 v1 (integer) 1 127.0.0.1:6379> hset hash_key key2 ...
分类:
其他好文 时间:
2020-06-01 14:15:35
阅读次数:
58
Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 1 ...
分类:
其他好文 时间:
2020-06-01 13:37:24
阅读次数:
62
Given the array candies and the integer extraCandies, where candies[i] represents the number of candies that the ith kid has. For each kid check if th ...
分类:
其他好文 时间:
2020-06-01 13:35:45
阅读次数:
64
PostgreSQL 数据类型 分类 名称 存储空间 范围 描述 数值类型 int2/smallint 2 bytes -32768 到 +32767 small-range integer 数值类型 int4/integer 4 bytes -2147483648 到 +2147483647 ty... ...
分类:
数据库 时间:
2020-06-01 12:20:34
阅读次数:
365
Hello 各位,这里是新治的第二篇博客,今天要解的这道题是LeetCode第七题,整数反转,先来读一下题: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 ...
分类:
编程语言 时间:
2020-06-01 12:03:41
阅读次数:
72
1.区别 (1) long 是 基本类型 【类似于 int】 Long 是 对象类型 【类似于Integer】 (2) long 默认值是 0 Long 默认值是 null 2.比较方法 (1) Long a = new Long(1); Long b = new Long(2); System.o ...
分类:
编程语言 时间:
2020-06-01 11:56:07
阅读次数:
74