异常: log4j:ERROR Could not find value for key log4j.appender.logServer.layout log4j:WARN File option not set for appender [logServer]. 2020-06-03 11:22 ...
分类:
编程语言 时间:
2020-06-03 12:00:31
阅读次数:
348
Java Program to Find Largest Element of an array In this program, you'll learn to find the largest element in an array using a for loop in Java. Examp ...
分类:
其他好文 时间:
2020-06-03 00:32:38
阅读次数:
55
排序sort: ? db.users.find().sort() 依照age字段进行倒序 ? db.users.find().sort() 依照age字段进行正序 筛选limit: db.users.find().limit(4) 筛选前4条数据 跳过skip: db.users.find().sk ...
分类:
数据库 时间:
2020-06-03 00:24:24
阅读次数:
102
恢复内容开始 Centos7系统中Mysql登录忘记root密码 1.ront用户打开/etc/my.cnf(如果这个目录下没有my.cnf用find /* -name my.cnf 查找) 2.用vim /etc/my.cnf打开后,在[mysql]下面一行写入 skip-grant-tables ...
分类:
数据库 时间:
2020-06-02 23:08:19
阅读次数:
132
[导读] 前文分析了Linux设备驱动的驱动模型,本文来聊聊Platform_driver/Platform_device这个类。做嵌入式Linux的驱动,这个也是绕不开的,所以来学习分析总结一下。 上文阅读: 注:代码分析基于linux-5.4.31 为什么有Platform_driver 前文谈 ...
分类:
系统相关 时间:
2020-06-02 22:51:47
阅读次数:
111
声明:非原创,代码来源于网络 【F12→Console粘贴后回车】 1 function playVideo(){ 2 let iframe=$("#iframe").contents().find("iframe").contents(); 3 let video=iframe.find("#vi ...
分类:
其他好文 时间:
2020-06-02 19:24:43
阅读次数:
1915
06月 Being a kid is a wonderful thing. Second it is over, you start wishing you could have it back again. 当孩子是一件好事,一旦童年结束,你就会开始祈祷它能回来。——2020.06.01 Don' ...
分类:
其他好文 时间:
2020-06-02 19:07:29
阅读次数:
243
1 import re 2 3 4 def find_item(hero): 5 # 读取文件 6 with open('sanguo_utf8.txt', encoding='utf-8') as f1: 7 # 去掉内容中的换行,将文本变为一行 8 data = f1.read().replac ...
分类:
编程语言 时间:
2020-06-02 19:06:49
阅读次数:
60
docker的两类存储资源 docker为容器提供了两种存放数据的资源 1:由storage driver 管理的镜像层和容器层 2:Data Volume。 storage driver docker 镜像的分层结构 运行docker info 查看centos 的默认driver: data v ...
分类:
其他好文 时间:
2020-06-02 16:10:36
阅读次数:
91
1、数据准备 1、MongoDB数据,工具为:Robo 3T mongo-data 2、MySQL数据 MySQL 2、新增语句 方法 说明 语法 备注 新增 MongoDB db.getCollection('user').insert({"userId" : "014","uclass" : " ...
分类:
数据库 时间:
2020-06-02 13:19:21
阅读次数:
90