摘要: /** * 将一个list均分成n个list,主要通过偏移量来实现的 * @param source * @return */ public static <T> List<List<T>> averageAssign(List<T> source,int n){ List<List<T>> res 阅读全文
posted @ 2021-10-18 15:00 丶木木丶丶 阅读(63) 评论(0) 推荐(0)
摘要: 1、目前我有俩个vue项目,分别是app和pc 2、实现内容 1)、通过一个端口分别访问这俩个前端项目 http://localhost:8080/app ==> app项目 http://localhost:8080/pc ==> pc项目 3、nginx配置文件配置 #HTTP服务器 serve 阅读全文
posted @ 2020-06-30 16:43 丶木木丶丶 阅读(11036) 评论(0) 推荐(0)
摘要: 一、部署Docker 1、添加yum源 # yum install epel-release –y # yum clean all # yum list 2、安装并运行Docker # yum install docker-io –y # systemctl start docker 3、检查安装结 阅读全文
posted @ 2019-11-11 10:05 丶木木丶丶 阅读(3590) 评论(0) 推荐(0)