Logging to syslog from Your Script Problem You’d like your script to be able to log to syslog. Solution Use logger, Netcat, or bash’s built-in network ...
分类:
其他好文 时间:
2020-12-15 12:59:05
阅读次数:
9
package main import "fmt" //类 结构体 type person struct { name string age int hobby string } //方法是作用于特定类型的函数 func (p person) say() { fmt.Println("sssssss ...
分类:
其他好文 时间:
2020-12-15 12:44:09
阅读次数:
3
1 //用户从键盘输入两个实数,输出它们的和 2 package classwork8; 3 4 import java.util.Scanner; 5 6 public class Double_test { 7 8 public static void main(String[] args) { ...
分类:
编程语言 时间:
2020-12-15 12:39:23
阅读次数:
5
一.测试Ceph集群节点之间的网络性能 在ceph01节点上运行: [root@openstack01 ~]# iperf3 -s -p 6900 Server listening on 6900 在ceph02节点上运行: [root@openstack02 ~]# iperf3 -c opens ...
分类:
其他好文 时间:
2020-12-15 12:25:40
阅读次数:
2
1.什么是静态资源? 比如服务端的某个html页面,或者文件、图片等等 2.为什么访问静态资源会有问题存在 一般将DispatcherServlet请求映射配置为 / ,则Spring MVC将捕获当作一个普通请求处理,所以就会找不到对应的处理器发生错误 3.如何解决? 可以在Spring MVC配 ...
分类:
其他好文 时间:
2020-12-15 12:17:17
阅读次数:
2
一、前言 在我们进行接口自动化的时候,用例往往有成百上千上万条用例,串行执行时间在分钟或者是小时级别。虽然能满足我们一般的回归性测试需求,但是还是对于企业级别的项目来说,还是显得有些力不从心。那么有没有一种比较好的解决方案呢,pytest的pytest-xdist插件可以很好解决我们的困惑 二、py ...
分类:
其他好文 时间:
2020-12-15 12:05:34
阅读次数:
2
1、首先输入 npm get registry 查看当前镜像源,默认为 https://registry.npmjs.org/(npm默认镜像源) 2,修改镜像源 npm config set registry xxx(镜像源地址) 国内一般使用淘宝镜像源 npm config set regist ...
分类:
Web程序 时间:
2020-12-15 11:45:50
阅读次数:
5
<html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <style> div{ transition: 0s background-color; } div:hover{ b ...
分类:
Web程序 时间:
2020-12-14 13:01:14
阅读次数:
6
以下是一篇搜到的关于windows 系统trace的工具链接,算是一个整理记录 说明 Sysinternals 工具集,drmemory,stracent,crashdoctor 都是不错的工具,可以方便windows 程序的分析 参考资料 https://stackoverflow.com/que ...
1、导入jar <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <version>2.1.7</version> </dependency> <dependency> <groupId>or ...
分类:
其他好文 时间:
2020-12-11 12:26:24
阅读次数:
4