<?php get_template_directory_uri();?> //路径 <?php bloginfo();?> <?php get_search_form();?> //搜索框 <?php the_permalink();?> //查看全文 <?php echo getPostView ...
分类:
其他好文 时间:
2020-12-29 11:34:19
阅读次数:
0
递归实现 template<typename T> int binary_search(T arr[], int len, int left, int right, int find) { // 必要参数检查 if (NULL == arr || nullptr == arr || 0 > left ...
分类:
编程语言 时间:
2020-12-29 11:31:49
阅读次数:
0
vue 安装 npm i wangeditor --save 创建一个editoritem组件 components/editoritem.vue //目录以自己项目为主 <template lang="html"> <div class="editor"> <div ref="toolbarCon ...
分类:
其他好文 时间:
2020-12-29 11:19:29
阅读次数:
0
centos7配置IP地址 有关于centos7获取IP地址的方法主要有两种,1:动态获取ip;2:设置静态IP地址 在配置网络之前我们先要知道centos的网卡名称是什么,centos7不再使用ifconfig命令,可通过命令 IP addr查看,如图,网卡名为ens32,是没有IP地址的 1、动 ...
分类:
其他好文 时间:
2020-12-29 11:08:43
阅读次数:
0
前言 .env文件是httprunner项目创建时,自带的一个文件,这个文件的主要功能就是将一些大量引用的数据进行参数化处理,比如host,比如登录账号,比如常用的身份id 正文 .env文件的编写 如下图所示,.env文件的编写其实非常简单,只是简单的键名=键值;但是需要注意的是,不要有空行!!! ...
分类:
Web程序 时间:
2020-12-28 11:56:03
阅读次数:
0
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #error_log "pipe:rollba ...
分类:
其他好文 时间:
2020-12-28 11:28:07
阅读次数:
0
CMD 和 ENTRYPOINT 指令都是用来指定容器启动时运行的命令。单从功能上来看,这两个命令几乎是重复的。单独使用其中的一个就可以实现绝大多数的用例。但是既然 doker 同时提供了它们,为了在使用中不至于混淆,本文试图把它们的用法理清楚。 exec 模式和 shell 模式 CMD 和 EN ...
分类:
其他好文 时间:
2020-12-28 11:24:03
阅读次数:
0
spring: data: mongodb: database: test (自己创建的库) port: 3717 host: aliyun~.com username: username password: 123456 authentication-database: admin 这里有一个大坑 ...
分类:
数据库 时间:
2020-12-28 11:02:07
阅读次数:
0
<el-menu class="left-menu" :default-active="$route.name" :unique-opened="true" :collapse="isCollapse"> <template v-for="(m, x) in menuOpts.data" > <el ...
分类:
其他好文 时间:
2020-12-28 10:57:57
阅读次数:
0
STL stl基本概念 STL(Standard Template Library,标准模板库),是惠普实验室开发的一系列软件的统称。现在主要出现在 c++中,但是在引入 c++之前该技术已经存在很长时间了。 STL 从广义上分为: 容器(container) 算法(algorithm) 迭代器(i ...
分类:
其他好文 时间:
2020-12-25 11:54:42
阅读次数:
0