mongodb 基础知识use user //进入user数据库db.auth("username","password") //设置账号密码后可以用来鉴权, 先use进入数据库,再运行否则报错db.dropDatabase() //删除当前所在的数据库db.user.drop() //删除当前数据 ...
分类:
其他好文 时间:
2020-07-18 00:46:10
阅读次数:
102
cmd 1 mongod --dbpath D:\mongoDB\database\data 另外开一个新的cmd 1 mongo ...
分类:
数据库 时间:
2020-07-17 22:20:37
阅读次数:
75
spring.jackson.timeZone=GMT+08:00spring.jackson.date-format=yyyy-MM-dd HH:mm:ssspring.jackson.serialization.write_dates_as_timestamps=falsespring.mvc. ...
分类:
编程语言 时间:
2020-07-17 22:14:24
阅读次数:
381
老规矩: 一个锁,一个队列。 不带参数的构造器,初始化一个长度为0?的对象数组。 collection参数的构造方法,直接array=c.toArray(); 数组入参array=arrays.copy。 进入正题: 可以看到它是先加了锁,然后新copy一个length+1的数组,设值之后再将新数组 ...
分类:
其他好文 时间:
2020-07-17 22:06:44
阅读次数:
66
How to Create Multiple lists from CSV File? We can use the combination of CSV and PowerShell to create multiple lists in bulk in SharePoint Online. He ...
分类:
系统相关 时间:
2020-07-17 14:13:50
阅读次数:
83
1.4 数据库的安装 作为数据存储的重要部分,数据库同样是必不可少的,数据库可以分为关系型数据库和非关系型数据库。 关系型数据库如 SQLite、MySQL、Oracle、SQL Server、DB2 等,其数据库是以表的形式存储;非关系型数据库如 MongoDB、Redis,它们的存储形式是键值对 ...
分类:
数据库 时间:
2020-07-17 13:51:01
阅读次数:
60
文件同步助手(本地) 文件 sync.js const fs=require('fs'); const crypto=require('crypto'); let config,to_config,from_config; function test_ignore(path){ if(config. ...
分类:
其他好文 时间:
2020-07-17 13:35:31
阅读次数:
62
public <E> List<E> selectList(Mapper mapper, Connection conn){ PreparedStatement pstm = null; ResultSet rs = null; try{ String queryString = mapper.ge ...
分类:
数据库 时间:
2020-07-17 11:34:51
阅读次数:
97
package _interview_question /** * Check if a given array contains duplicate elements within k distance from each other. * Given an unsorted array that ...
分类:
其他好文 时间:
2020-07-17 01:23:35
阅读次数:
107
创建一个至少有两个PV组成的大小为20G的名为testvg的VG;要求PE大小为16MB,而后在卷组中创建大小为5G的逻辑卷testlv;挂载至/users目录实验准备:增加一块20G的硬盘,其中划分一个10G的分区;增加一块10G的硬盘10G的分区和10G的硬盘组成pv[root@Centos7~]#echo"---">/sys/class/scsi_host/host0/scan[roo
分类:
其他好文 时间:
2020-07-17 01:19:21
阅读次数:
99