1.Redis支持的数据类型? Redis支持五种数据类型:string(字符串),hash(哈希),list(列表),set(集合)及zset(sorted set:有序集合)。 2.什么是Redis持久化?Redis有哪几种持久化方式?优缺点是什么? redis提供两种方式进行持久化,一种是RD ...
分类:
其他好文 时间:
2020-07-22 20:13:10
阅读次数:
54
//有两个ArrayList集合,存储队伍中的多个成员姓名,使用Stream方式,对以下步骤进行操作 import java.util.ArrayList; import java.util.List; import java.util.stream.Stream; public class tes ...
分类:
其他好文 时间:
2020-07-22 20:10:26
阅读次数:
95
Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum size of the set ...
分类:
其他好文 时间:
2020-07-22 20:09:57
阅读次数:
70
套接字介绍 socket介绍 Socket是应用层与TCP/IP协议族通信的中间软件抽象层,它是一组接口。在设计模式中,Socket其实就是一个门面模式,它把复杂的TCP/IP协议族隐藏在Socket接口后面,对用户来说,一组简单的接口就是全部,让Socket去组织数据,以符合指定的协议。 所以,我 ...
分类:
其他好文 时间:
2020-07-22 16:11:31
阅读次数:
70
文件下载的实质就是文件拷贝,将文件从服务器端拷贝到浏览器端,所以文件下载需要IO技术将服务器端的文件读取到,然后写到response缓冲区中,然后再下载到个人客户端。 1. 文件名 - 接受前端发来的文件名 获取到前端页面发送过来的要下载的文件的名字 String filenameValue = r ...
分类:
Web程序 时间:
2020-07-22 15:57:01
阅读次数:
82
Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except n ...
分类:
其他好文 时间:
2020-07-22 15:50:36
阅读次数:
67
Given a list of folders, remove all sub-folders in those folders and return in any order the folders after removing. If a folder[i] is located within ...
分类:
其他好文 时间:
2020-07-22 15:45:22
阅读次数:
74
基于docker安装gitlab gitlab: image: gitlab/gitlab-ce restart: always hostname: '81.70.22.100' environment: GITLAB_OMNIBUS_CONFIG: | external_url 'http://8 ...
分类:
其他好文 时间:
2020-07-22 15:41:54
阅读次数:
86
cd /etc/apt/ sudo cp sources.list sources.list.bb sudo vi sources.list 复制下面这些 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe mu ...
分类:
编程语言 时间:
2020-07-22 15:30:34
阅读次数:
79
function renderList(data){ var str = ''; for(var i = 0; i < data.length; i++){ // 动态添加li str += '<li onclick="getFile(\''+ data[i].file_id + '\',\'' + ...
分类:
Web程序 时间:
2020-07-22 11:33:50
阅读次数:
109