一、安装 hustoj 手动执行以下shell命令: #!/bin/bash apt-get update sudo apt-get upgrade apt-get install -y mysql-server mysql-client apt-get install -y php7.0 apt- ...
分类:
系统相关 时间:
2020-07-08 13:39:39
阅读次数:
93
前言: 前两篇博客介绍了 Python 的 docx 模块对 Word 文档的写操作,这篇博客将介绍如何用 docx 模块读取已有 Word 文档中的信息。 本篇博客主要内容有: 1、获取文档的章节信息; 2、获取段落文本信息; 3、获取表格内文本信息; 4、获取文档内格式信息。 1、获取文档章节信 ...
分类:
编程语言 时间:
2020-07-08 13:14:46
阅读次数:
296
vimrc colorscheme ron :syntax on filetype on filetype plugin on filetype indent on set sts=4 set shiftwidth=4 set backspace=2 set tabstop=4 set showmo ...
分类:
系统相关 时间:
2020-07-08 09:14:50
阅读次数:
84
第1章 创建资源的方法 1.1 用命令的方式创建 创建一个pod为例 kubectl create pod app 1.2 资源清单定义 注意: apiserver只接受JSON格式的格式定义的资源,yaml写的配置清单spiserver会自动将其转化为JSON格式然后再次进行提交 为什么我们写资源 ...
分类:
其他好文 时间:
2020-07-08 01:17:22
阅读次数:
82
{ "editor.accessibilityPageSize": 14, "editor.fontSize": 14, "editor.fontLigatures": null, "window.zoomLevel": 0, "workbench.colorTheme": "Dracula Sof ...
分类:
其他好文 时间:
2020-07-07 23:23:34
阅读次数:
86
Spring框架Spring框架概念?Spring是众多开源java项目中的一员,基于分层的javaEE应用一站式轻量级开源框架,主要核心是IOC(控制反转/依赖注入)与AOP(面向切面)两大技术,实现项目在开发过程中的轻松解耦,提高项目的开发效率。?在项目中引入Spring立即可以带来下面的好处降低组件之间的耦合度,实现软件各层之间的解耦。可以使用容器提供的众多服务,如:事务管理服务、消息服务等
分类:
编程语言 时间:
2020-07-07 19:30:53
阅读次数:
74
接着AbstractApplicationContext.refresh方法:initApplicationEventMulticaster,该方法用来初始化事件广播器,流程如下: protected void initApplicationEventMulticaster() { // 获取Bea ...
分类:
编程语言 时间:
2020-07-07 15:27:54
阅读次数:
80
一,js方法 var arr = ["a", "b", "c"]; // js arr.indexOf("c") var result1 = arr.indexOf("c"); //返回index为2 二,jquery方法 var arr = ["a", "b", "c"]; // jquery $ ...
分类:
编程语言 时间:
2020-07-07 13:23:02
阅读次数:
59
NFS存储 NFS即网络文件系统Network File System,它是一种分布式文件系统协议,最初是由Sun MicroSystems公司开发的类Unix操作系统之上的一款经典网络存储方案,其功能是在允许客户端主机可以像访问本地存储一样通过网络访问服务端文件。 Kubernetes的NFS存储 ...
分类:
Web程序 时间:
2020-07-07 13:01:03
阅读次数:
84
Permutation Sequence (M) 题目 The set [1,2,3,...,*n*] contains a total of n! unique permutations. By listing and labeling all of the permutations in ord ...
分类:
其他好文 时间:
2020-07-07 10:12:57
阅读次数:
64