Multiset集合 Multiset是什么?顾名思义,Multiset和Set的区别就是可以保存多个相同的对象。在JDK中,List和Set有一个基本的区别,就是List可以包含多个相同对象,且是有顺序的,而Set不能有重复,且不保证顺序(有些实现有顺序,例如LinkedHashSet和Sorte ...
分类:
其他好文 时间:
2020-09-17 23:25:32
阅读次数:
24
1. 一个简单的请求: 图1 图2 1)田大林在浏览器里输入baidu.com,浏览器会自动加上协议头,变成https://www.baidu.com/,baidu.com属于域名,代表你要访问的服务,http属于协议、标准,大家解析的规范。 2)域名通过DNS(Domain Name System ...
分类:
其他好文 时间:
2020-09-17 23:03:46
阅读次数:
34
using System; using System.IO; using System.Text; using System.Collections.Generic; using System.Security.Cryptography.X509Certificates; using System. ...
安装过程中报错,如下图所示。 The specified TCP port is occupied by another service.Please stop that service or use another port.(指定tcp端口已被占用,请停止那个服务或是换一个端口使用) 开始看到这 ...
分类:
其他好文 时间:
2020-09-17 21:47:07
阅读次数:
31
问题现象: C#程序调用matlab函数编译出的.dll程序时出现报错system.typeinitializationexception。 解决方法: 1、需要在运行该程序的电脑中安装matlab编译器,且matlab编译器版本与编译该matlab函数时使用的版本一致(matlab编译器并不是ma ...
错误: ERROR: [1] bootstrap checks failed [1]: system call filters failed to install; check the logs and fix your configuration or disable system call fi ...
分类:
其他好文 时间:
2020-09-17 21:25:40
阅读次数:
37
1. 下载grafana安装包 wget https://mirrors.huaweicloud.com/grafana/7.1.5/grafana-7.1.5-1.x86_64.rpm 2. 安装 rpm -Uvh grafana-7.1.5-1.x86_64.rpm 3. 设置开机启动并启动 / ...
分类:
其他好文 时间:
2020-09-17 21:24:39
阅读次数:
25
当我们需要进行OpenSSL认证时,需要将相应的CA certificate证书安装到系统中,以便实现OpenSSL。证书安装的地方两种,分别是用户级别和系统级别。若是安装到“系统”级别中,可以带来很大的方便。 现在讲一下如何将CA证书安装到Android的System中: 1.生成Android要 ...
分类:
移动开发 时间:
2020-09-17 20:44:17
阅读次数:
63
dockerfile构建Tomcat镜像 一、镜像分层概念 二、制作tomcat镜像 2.1、创建分层目录 [root@node2 ~]# mkdir /app/{web/{nginx,tomcat,jdk},system/{centos,alpine,ubantu}} -pv 2.2、制作基础ce ...
分类:
其他好文 时间:
2020-09-17 20:26:34
阅读次数:
26
关闭 Mac 上的虚拟内存 查看当前正在使用的虚拟内存: $ sysctl vm.swapusage vm.swapusage: total = 1024.00M used = 354.50M free = 669.50M (encrypted) 关闭虚拟内存以后,系统里还保留着这些用作虚拟内存的交 ...
分类:
系统相关 时间:
2020-09-17 18:32:18
阅读次数:
49