spring框架的一些测试思路

一.Spring Boot Actuators Spring Boot Actuator是Spring Boot提供的对应用系统的监控和管理的集成功能,可以查看应用配置的详细信息,例如自动化配置信息、创建的Spring beans信息、系统环境变量的配置信以及Web请求的详细信息等。如果使用不当或者一些不经意的疏忽,可能造成信息泄露等严重的安全隐患。 当Spring Boot应用程序运行时,它会自动将多个端点例如/health,/trace,/beans,/env等注册到路由过程中。对于Spr
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

Emlog非插件实现3D标签云

第一步 module找到你的侧边栏标签 修改侧边栏标签如下 <?php //3D标签云 function widget_tag($title){ global $CACHE; $tag_cache = $CACHE->readCache('tags');?> <div class="side"> <h3><i class="fa fa-tags mar-r-4"></i><?php echo $title;?></h3> <div id="tag_cloud_widget"> <div cla
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

matplotlib 中的 colors 和 cmaps

matplotlib 中的 148 种颜色 matplotlib 中的 160 种颜色映射 1、matplotlib中的 148 种颜色 import matplotlib as plm import matplotlib.pyplot as plt colors = plm.colors.cnames.keys() fig = plt.figure('百里希文', facecolor='lightyellow', edgecolor='k') axes = fig.subplots(le
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

我爱java系列---【linux系统部署项目常用命令】

linux系统部署项目常用命令 1.启动一次,关闭连接页面就停止服务 java -jar xxx.jar 2.启动一次,后台运行项目 nohup java -jar xxx.jar >temp.txt & 3.查看正在运行的项目 ps -ef|grep java 4.停止正在运行的项目 kill -9 17089
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

sys模块 json pickle模块

# sys模块 # import sys # sys.path # sys.argv # sys.exit() # 脚本退出 # print('[%s]'%('#'*1)) # print('[%s]'%('#'*2)) # print('[%s]'%('#'*3)) # print('[%s]'%('#'*4)) # print('[%s]'%('#'*5)) # print('[%-50s]'%('#'*1)) # print('[%-50s]'%('#'*2)) # print('[%-
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

Emlog评论列表JS实现打字特效

教程简介 在别人博客看到评论打字特效 觉得好看 网上找了教程发代码跟大家分享 这个效果原本是Atom编辑器上的一个插件 现在只要在网页上引用JS脚本 我们的网站也能拥有如此有逼格的效果 教程一步 以下代码保存为JS文件 命为什么名字都可以 (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

python创建缩略图和选择轮廓效果

# -*- encoding:utf-8 -*- ''' 改变颜色 --- 颜色反转''' from PIL import Image nest = Image.open("D:\\tk.jpg") r,g,b = nest.split() #获取原图的RGB通道的颜色值 newb = b.point(lambda i:i*1.1) #将B通道的颜色值增强 nest1 = Image.merge(nest.mode,(b,g,r)) nest1.thumbna
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

luogu P2853 【[USACO06DEC]牛的野餐Cow Picnic】

### 反向建边+dfs 用f记录一个牧场是否有cow,如果没有cow,则不用管这个牧场,然后枚举每个点作为cow野餐的地方,dfs,用vis记录一个牧场能不能被访问到,然后for一遍判断该牧场是否有cow,和该牧场能不能被枚举的点走到,就做完了。 ### 注意,每次dfs时,vis数组要清空,我第一次交忘记清空,结果就WA了,30分 $Code :$ #include<iostream> #include<cstring> #include<cstdio> using namespace s
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

STAT 3312

STAT 3312 (Fall, 2019) Final exam (take-home) Name (ID): Instructions • This take-home exam is due 3:00PM, December 17, 2019. • All of your answers and work must be your own. • You are NOT allowed to discuss any part of this exam with anyone. If you
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

14日笔记

Mke2fs 进行格式化分区 -b 表示分区时设定的每个数据块占用空间大小 -i 表示设定的inode 大小 -N 表示设定inode 的数量 -c 表示在格式化前先检测一下磁盘是否有问题 -L 表示预设该分区的标签 -j 表示建立ext3格式的分区 - t 表示用来指定文件系统的类型 可以是 ext2 ext3 也可以是ext4 格式化成 xfs格式 Mount 挂载磁盘、 新建一个目录 mkdir /目录名字 新建一个文件 touch /目录名字/文件名字.txt 使用 这个命令进行挂载
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

Centos7搭建pptp服务(VMware)

一、实验环境 Windows 10, 64-bit VMware® Workstation 15 Pro CentOS-7-x86_64-DVD-1810.iso 二、Centos安装注意事项 *在安装centos的时候注意以下三点 1、在VMware虚拟编辑器中修改 / 2、 3、如果一开始就是用桥接模式、那么需要配置本地源centos.repo 后面会需要pptp的安装依赖包,这里是下载地址http://rpmfind.net/linux/epel/6/x86_64/Packages/p/
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

COMP529

Coursework Date: 25/11/2019 Due Date: 16/12/ 2019 Introduction This assessed coursework assignment is worth 20% of your overall grade for COMP529/COMP336 module. Failure on this assignment can be compensated through higher marks in other assessments
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

luogu P3353 【在你窗外闪耀的星星】

此题前缀和维护即可,主要说一下前缀和 - 前缀和 设 $ pre_i $ 表示 $ \sum ^{i}_{1} a_{i} $ 则有 $ pre_i = pre_{i-1} + a_i $ - 查询前缀和 有了$pre$数组如果我们要求 $ [l,r] $ 的和,有 $ pre_{l-1}=a_1+a_2+a_3+...+a_{l-1}$ $ pre_{r}=a_1+a_2...a_{l-1}+a_{l}+...a_r$ 做个差,发现两两抵消,就得到了 $$ \sum^r_{i=l} a_i
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

第11组 Beta版本演示 第11组 Beta版本演示

第11组 Beta版本演示 组长博客链接 https://www.cnblogs.com/xxylac/p/12039948.html 本组成员(不知道叫什么团队)   031702635 陈郑铧(组长)   031702636 林铮威   031702637 陈益   031702642 沈国煜   031702633 林云钏   031702615 李镇平   031702618 王泽鸿   031702631 张凯   031702608 王思婷   111700306 陈佳雯 贡献比例
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

CE235 Computer Security

CE235 Computer Security Assignment 3 The assignment is worth 7.5% of the total mark for this module. This assignment involves writing a C/C++ program for task 1 described below. The purpose of this assignment is for you to get a good understanding o
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

完结撒花

团队博客作业 这个作业属于哪个课程 课程链接 这个作业要求在哪里 作业要求 团队名称 你的代码我的发 这个作业的目标 项目总结以及组内成员总结 Github地址 https://github.com/GrapeWell/yifenhuanbao-1 一、团队成员 姓名 学号 角色 周昊 201731062333 组长 徐裴 201731062402 组员 黄啸风 201731062430 组员 李涵 201731062406 组员 颜依婷 201731062505 组员 周小萱 2017310
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

jquery与angular的交互

HTML: <table class="table table-striped" ng-app="myApp"> <tr> <th>时间</th> <th>教练员</th> <th>学员</th> <th>车牌号</th> <th>SIM</th> <th>经度</th>
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

安装openssl库

依赖软件:make、gcc、zlib1g-dev 升级步骤: 1、去官网下载最新版本,或wget下载也行 http://www.openssl.org wget https://www.openssl.org/source/openssl-1.1.x.tar.gz 2、解压并进入解压目录后执行: ./config --prefix=/usr/local/openssl shared zlib make depend make && make install 3、(可选)备份当前openssl:
分类: 其他 发布时间: 12-14 19:34 阅读次数: 0

关于网络时断时续的问题

我公司内部局域网访问外网会出现时断时续,当网络断开的时候ping路由器是通的,也不丢包,断开时间每次都是1分45秒左右,最高是3分钟,连续通网的时间不等,几分钟,到几十分钟,最高不过俩小时;当我把所有路由器以下的网络都关闭的时候,单独一台电脑,又不断网了,通过此方法排查各个楼,发现3、4、5、6、7、8、9楼只要有一个楼连接上就会出现断网现象,但通过实地排查,没有发现环路的现象,此问题头疼了好久,
分类: 企业开发 发布时间: 12-14 19:20 阅读次数: 0

在C++中如何动态分配一个二维数组

https://www.pufengdu.org/blog/?p=380
分类: 其他 发布时间: 12-14 19:17 阅读次数: 0