在 mongo 使用过程中遇到了一个问题,需求就是要对mongo 库中查询到数据进行分页,mongo库我们知道都会存储大容量的数据,如果库里数据多的话,这时会报一个 Query failed with error code 96 and error message 'Executor error d ...
分类:
数据库 时间:
2018-06-24 11:44:13
阅读次数:
302
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: Inpu ...
分类:
其他好文 时间:
2018-06-23 22:51:11
阅读次数:
222
<!DOCTYPE html><html><head><meta charset="utf-8"><meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewpor ...
分类:
其他好文 时间:
2018-06-23 13:25:53
阅读次数:
165
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> <meta charset= ...
分类:
其他好文 时间:
2018-06-22 01:12:49
阅读次数:
214
磁盘的检查: tune2fs -l /dev/sda5 (对/dev/sda5 进行检查) 理解下面每一行的意思: 磁盘参数的修改: //修改卷标方法 命令:tune2fs (查看要修改的参数) 命令:tune2fs -l /dev/sda5 (修改之后查看修改成功没有) ...
分类:
其他好文 时间:
2018-06-21 13:52:32
阅读次数:
186
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: Foll ...
分类:
编程语言 时间:
2018-06-21 11:32:42
阅读次数:
144
Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product. Example 1: E ...
分类:
编程语言 时间:
2018-06-21 11:31:00
阅读次数:
236
一、NumPy:数组计算1、NumPy是高性能科学计算和数据分析的基础包。它是pandas等其他各种工具的基础。2、NumPy的主要功能: 3、安装方法:pip install numpy 二、NumPy:ndarray-多维数组对象1、创建ndarray:np.array()2、ndarray是多 ...
分类:
编程语言 时间:
2018-06-21 00:03:14
阅读次数:
261
Folks, What is the recommended value for "yarn.nodemanager.resource.local-dirs"? We only have one value (directory) configured for the above property, ...
分类:
其他好文 时间:
2018-06-20 11:19:33
阅读次数:
137
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: ...
分类:
其他好文 时间:
2018-06-18 23:47:35
阅读次数:
230