postgreSql的安装流程官网都已经列出,https://www.postgresql.org/download/linux/redhat/。 按照官网给的流程安装: #安装rpm源 [root@guangzhou src]# yum install https://download.postg ...
分类:
数据库 时间:
2020-02-10 22:45:29
阅读次数:
131
题目如下: Given a m * n matrix mat of ones (representing soldiers) and zeros (representing civilians), return the indexes of the k weakest rows in the mat ...
分类:
其他好文 时间:
2020-02-08 15:55:21
阅读次数:
68
Clipboard.Clear() ' 清除剪贴板 If DataGridView2.Rows.Count > 0 Then Dim a As New List(Of String) For i As Integer = 0 To DataGridView2.Rows.Count - 1 Dim b ...
‘在窗体的Loaded事件中 DataGridView1.RowHeadersDefaultCellStyle.Padding = New Padding(DataGridView1.RowHeadersWidth) ...
报错信息提示: 解决方式: vi /etc/mysql/my.cnf 添加如下代码 [mysqld]skip-grant-tables 重启服务 sudo service mysql restart 登录mysql服务 成功解决,记录一下 ...
分类:
数据库 时间:
2020-02-07 14:55:48
阅读次数:
442
Given a matrix of M x N elements (M rows, N columns), return all elements of the matrix in diagonal order as shown in the below image. Example: Input: ...
分类:
其他好文 时间:
2020-02-06 10:46:38
阅读次数:
71
转 https://www.jianshu.com/p/accff9ea7b15 环境介绍 在centos7下需要挂载两个新的磁盘。为了方便后续的扩容方便,决定将这其设置为LVM管理的方式。 查看一下当前有哪些新增的数据盘,如下: [root@runsdata test 0004 ~] df h F ...
分类:
其他好文 时间:
2020-02-05 16:37:35
阅读次数:
147
需要用到一个PageBean对象来实现 1.PageBean包含的属性 * totalCount 数据库中的总条目数 * rows 每页显示的行数 * totalPage 总分页数 通过该表达式来确定 totalPage = (totalCount%rows == 0)?totalCount/row ...
分类:
编程语言 时间:
2020-02-05 16:29:42
阅读次数:
89
Given a m * n matrix mat of ones (representing soldiers) and zeros (representing civilians), return the indexes of the k weakest rows in the matrix or ...
分类:
其他好文 时间:
2020-02-03 09:40:07
阅读次数:
71
Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this board is con ...
分类:
其他好文 时间:
2020-02-01 12:13:21
阅读次数:
75