$("#test1").parent(); // 父节点 $("#test1").parents(); // 全部父节点 $("#test1").parents(".mui-content");//返回class为mui-content的父节点 $("#test1").children(); // ...
分类:
Web程序 时间:
2020-07-20 13:17:42
阅读次数:
76
我们在web.xml中配置servlet的时候会有个属性<load-on-startup></load-on-startup>,这里主要记一下它的作用,源码在后续记得好好看一下。 The load-on-startup element indicates that this servlet shou ...
分类:
Web程序 时间:
2020-07-20 10:48:39
阅读次数:
83
简述 这个区段是可选,它定义安装程序在执行安装期间所又用户定制的任务。 光任务本身是不会做任何事情的,它需要链接到其他安装条目上 [Tasks] Name: 必需的 任务名称 Description: 必需的,描述 GroupDescription: 任务组的描述 Components: 这个任务属 ...
分类:
其他好文 时间:
2020-07-20 10:22:30
阅读次数:
79
import matplotlib.pyplot as plt plt.rcParams["font.family"] = 'SimHei' # 将字体改为中文 # plt.figure(num='图名', figsize=(7, 5)) plt.figure(num='图名') plt.subpl ...
分类:
其他好文 时间:
2020-07-20 00:02:52
阅读次数:
93
9.1、Lambda表达式 9.1.1、标准格式 (形式参数) -> {代码块} 9.1.2、使用前提 有一个接口并且接口中有且仅有一个抽象方法 9.1.3、常见应用 9.1.3.1、无参无返回值抽象方法练习 interface MyInter { void show(); } public cla ...
分类:
其他好文 时间:
2020-07-19 18:11:23
阅读次数:
80
Linux物理机旧的磁盘已经满了,加了一块新的机械硬盘,下面说说如何格式化这块硬盘 1、运行 “fdisk -l”,查看磁盘情况,根据磁盘标识符或者磁盘大小确定新加的磁盘是哪个,笔者这里新加的磁盘是 /dev/sda [root@bogon /]# fdisk -l 磁盘 /dev/sdb:1000 ...
分类:
系统相关 时间:
2020-07-19 18:00:44
阅读次数:
99
1.目录结构 build:webpack构建命令目录,包括运行开发环境,项目打包等配置 config:webpack和node基础,开发,线上环境的配置 dist:webpack打包后生成的静态文件目录 node_modules:项目依赖的js包 src:项目根目录 assets:静态资源目录,这里 ...
分类:
其他好文 时间:
2020-07-19 17:58:59
阅读次数:
82
1,OSI协议、TCP/IP协议以及每层对应的协议 OSI模型,即开放式通信系统互联参考模型(Open System Interconnection) 1,OSI七层协议分别:物理层、数据链路层、网络层、传输层、会话层、表示层、应用层。 2,TCP/IP五层模型的协议:物理层、数据链路层、网络层、传 ...
分类:
其他好文 时间:
2020-07-19 16:11:52
阅读次数:
136
官网文档 https://www.swoft.org/documents/v2/basic-components/aop/ 视频教程 https://www.bilibili.com/video/BV12J411j721?p=51 切面 我理解 就是不破坏原有代码逻辑,往里面加入需要执行的前置 后置 ...
分类:
其他好文 时间:
2020-07-18 22:58:05
阅读次数:
124
Given some segments of rope, you are supposed to chain them into one rope. Each time you may only fold two segments into loops and chain them into one ...
分类:
其他好文 时间:
2020-07-18 22:21:25
阅读次数:
73