-- 授权一个用户(zhangsan)密码123,可以对所有的库,所有的表做所有操作。mysql> grant all on *.* to zhangsan@'%' identified by '123';Query OK, 0 rows affected (0.17 sec)--刷新生效,否则就要 ...
分类:
数据库 时间:
2018-08-28 20:20:53
阅读次数:
210
Chiaki has an n × m matrix A. Rows are numbered from 1 to n from top to bottom and columns are numbered from 1 to m from left to right. The element in ...
分类:
其他好文 时间:
2018-08-27 23:21:36
阅读次数:
233
reportExcel:function(){ var rows = $('#glGrid').datagrid('getSelections'); var ids = ""; for (var i = 0; i < rows.length; i++) { ids += rows[i].studen ...
分类:
Web程序 时间:
2018-08-27 12:45:59
阅读次数:
300
easyui的datagrid分页死活不起作用...沙雕了...不说了上代码 没错, 注释掉的沙雕代码就是我之前错误的写法, 发起ajax请求后台肯定接收不到page和rows两个参数, 分页必然不起作用.上面的写法datagrid自动将page和rows参数传到了后台, 每点击一次下一页发起当页的 ...
分类:
其他好文 时间:
2018-08-26 11:43:22
阅读次数:
135
plt.subplots():将 plt.figure 创建的画板,分割成多个子图(clos——列、rows——行); plt.figure(figsize=(15,5)):创建一个图形实例,俗称话本,在这个画板上绘制几行几列的图;figsize 表示图形的(宽,高); figure、subplot... ...
分类:
其他好文 时间:
2018-08-25 21:23:54
阅读次数:
155
之前一直使用的是一对一的单注解方式,今天考到了一对多..果真是什么不会考什么,结果就是什么考试没做出来,数据也没取到。。。。 mysql> select * from clazz;+ + +| id | title |+ + +| 1 | 一班 || 2 | 二班 |+ + +2 rows in s ...
分类:
编程语言 时间:
2018-08-25 16:30:47
阅读次数:
201
Formation is very important when taking a group photo. Given the rules of forming K rows with N people as the following: The number of people in each ...
分类:
其他好文 时间:
2018-08-23 22:19:53
阅读次数:
225
深度分页 深度分页是指给搜索结果指定一个很大的起始位移。 普通分页在给定一个大的起始位移时效率十分低下,例如start=1000000,rows=10的查询,搜索引擎需要找到前1000010条记录然后再返回最后10条。Solr为了最后10条记录只会检索排序字段,但是前1000010条记录的内部排序开 ...
分类:
其他好文 时间:
2018-08-21 13:56:54
阅读次数:
287
通常,我们的应用系统,如果要做一次全量数据的读取,大多数时候,采用的方式会是使用分页读取的方式,然而 分页读取的方式,在大数据量的情况下,在solr里面表现并不是特别好,因为它随时可能会发生OOM的异常,在solr里面 通过rows和start参数,非常方便分页读取,但是如果你的start=1000 ...
分类:
其他好文 时间:
2018-08-21 13:56:37
阅读次数:
235
Formation is very important when taking a group photo. Given the rules of forming K rows with N people as the following: The number of people in each ...
分类:
其他好文 时间:
2018-08-19 18:02:33
阅读次数:
145