1.设计html编码如下: 1 <!DOCTYPE html> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head runat="server"> 5 <meta http-equiv="Content-Type" content="tex ...
分类:
Web程序 时间:
2020-07-10 11:21:58
阅读次数:
275
Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The binar ...
分类:
其他好文 时间:
2020-07-10 09:54:38
阅读次数:
54
1.节点属性设置 node.master:true #指定该节点是否有资格被选举成为node,默认是true,es是默认集群中的第一台机器为master,如果这台机挂了就会重新选举master。 node.data:true #指定该节点是否存储数据,默认为true。 #以上两个都设置为false则 ...
分类:
其他好文 时间:
2020-07-10 09:54:26
阅读次数:
89
1 public List<Dai> Show(string name="") 2 { 3 using (SqlConnection conn=new SqlConnection("Data Source=.;Initial Catalog=Dai6_21;Integrated Security=T ...
<template> <div class="student"> <el-row> <el-col :span="3"> <el-button @click="insertDalogVisible=true">新增</el-button> </el-col> <el-col :span="21"> ...
分类:
编程语言 时间:
2020-07-10 00:07:42
阅读次数:
72
yum安装的优点 1、必须得有网络,通过网络获取软件。 2、管理rpm包 3、自动解决依耐 4、命令简单好用 5、生产最佳实践 yum命令详解 # linux安装软件的三种方式 1、rpm安装 2、源码安装 3、二进制安装 yum命令 yum repolist yum repolist all # ...
分类:
其他好文 时间:
2020-07-09 22:38:07
阅读次数:
87
方法一: 1、安装ftp服务 [root@oldboy ~]# yum -y install vsftpd 2、查看vsftpd相关的配置文件和目录 rpm -ql vsftpd # 查看vsftpd相关的配置文件和目录 grep -Ev '^$|^#' /etc/vsftpd/vsftpd.con ...
分类:
其他好文 时间:
2020-07-09 22:29:27
阅读次数:
77
选择排序 选择排序(select sorting)也是一种简单的排序方法。它的基本思想是:第一次从arr[0]~arr[n-1]中选取最小值,与arr[0]交换,第二次从arr[1]~arr[n-1]中选取最小值,与arr[1]交换,第三次从arr[2]~arr[n-1]中选取最小值,与arr[2] ...
分类:
编程语言 时间:
2020-07-09 19:37:30
阅读次数:
58
function randomValue() { return Math.round(Math.random()*2000); } option = { backgroundColor:'block', tooltip: {}, visualMap: { min: 0, max: 2000, tex ...
分类:
其他好文 时间:
2020-07-09 15:19:48
阅读次数:
71
方法接口: public string substring(int beginIndex,int endIndex) 用于截取字符串 第一个参数指明字符串截取起始位置 第二个参数指明字符串截取终止位置, 最终截取的字符串不包含endIndex位置的字符 eg: "abcdefgh".substrin ...
分类:
编程语言 时间:
2020-07-09 12:09:15
阅读次数:
90