font常用的属性有 color和size, 分别表示颜色和大小 <font color="green">绿色默认大小字体</font> <br> <font color="blue" size="+2">蓝色大2号字体</font> <br> <font color="red" size="-2" ...
分类:
Web程序 时间:
2020-05-23 09:31:25
阅读次数:
302
跟踪查询 返回实体类型的查询是默认会被跟踪的。 这表示可以更改这些实体实例,然后通过 SaveChanges() 持久化这些更改。非跟踪查询 在只读方案中使用结果时,非跟踪查询十分有用。 可以更快速地执行非跟踪查询,因为无需设置更改跟踪信息。 如果不需要更新从数据库中检索到的实体,则应使用非跟踪查询 ...
分类:
其他好文 时间:
2020-05-22 13:06:31
阅读次数:
186
pytest的命令行选项可以通过命令: pytest --help 查看。 本文讲解我学习中碰到的命令或常用的命令 一、--collect-only 可以展示在给定配置下哪些用例被运行。方便在测试运行之前,检查用例是否符合预期。 二、-k 允许你使用表达式指定希望执行的测试用例。如果某测试名是唯一的 ...
分类:
其他好文 时间:
2020-05-21 14:33:12
阅读次数:
81
导读关键词:MongoDB SQL 经常看到有人追寻 MongoDB 支持 SQL 的解决方案,得到的都是一些否定答案,去写 MongoDB 语法的脚本吧 /MongoDB 归类就是“NoSql”,有人解释为“not only sql”,也有人直接理解为“no sql”/ 十年前有个 github ...
分类:
数据库 时间:
2020-05-21 10:30:59
阅读次数:
86
Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the d ...
分类:
其他好文 时间:
2020-05-21 09:38:29
阅读次数:
44
[抄题]: Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Given linked list -- head = [4,5,1, ...
分类:
其他好文 时间:
2020-05-21 00:30:28
阅读次数:
49
# Example MySQL config file for small systems. # # This is for a system with little memory (<= 64M) where MySQL is only used # from time to time and i ...
分类:
数据库 时间:
2020-05-20 18:49:41
阅读次数:
153
【ElasticSearch】异常错误 1、磁盘满了造成 Elasticsearch 成为只读 1、磁盘满了造成 Elasticsearch 成为只读 把磁盘重新扩容后还抱下面的错 blocked by: [FORBIDDEN/12/index read-only / allow delete (a ...
分类:
其他好文 时间:
2020-05-19 22:23:31
阅读次数:
62
startScripts { // The option -XX:+UseG1GC is only relevant for Java 8. Starting with Java 9 G1GC is already the default GC defaultJvmOpts = ['-Xms128M ...
分类:
其他好文 时间:
2020-05-19 20:30:53
阅读次数:
60
iotop命令是专门显示硬盘IO的命令,界面风格类似top命令。这个命令只有在kernelv2.6.20及以后的版本中才有。 --version #显示版本号-h, --help #显示帮助信息-o, --only #显示进程或者线程实际上正在做的I/O,而不是全部的,可以随时切换按o-b, --b ...
分类:
其他好文 时间:
2020-05-19 16:27:18
阅读次数:
67