本来以为很简单的安装,入坑了。 1、从官网下载Redis.tar包 https://redis.io/download 2、在ssh中解压,make没想到出现一堆错误 3、赶紧百度查资料才发现Redis 6需要 gcc版本需要大于5.0 ,而Centos7默认版本为4.85 4、重新安装gcc yu ...
分类:
其他好文 时间:
2020-09-10 23:10:19
阅读次数:
51
讲解下如何给女朋友照片加上个性相框,学会让她夸你。。 素材1相框 你的女朋友图 代码 import cv2 import numpy as np def get_four_points(im): data = {} data['im'] = im.copy() data['points'] = [] ...
分类:
编程语言 时间:
2020-09-09 19:11:07
阅读次数:
60
废话少说,上代码 结构: 1application.properties web.upload-path=G:\study_tool\maven_workspace\images#\u9759\u6001\u8D44\u6E90\u6587\u4EF6spring.resources.static- ...
分类:
数据库 时间:
2020-09-08 21:05:22
阅读次数:
66
1 #获取某个文件夹下的所有代码总行数 2 import os 3 def GetAllPath(dirname): 4 result = [] 5 for maindir, subdir, file_name_list in os.walk(dirname): 6 for filename in ...
分类:
其他好文 时间:
2020-09-07 18:42:30
阅读次数:
44
1.研究背景 在测试时发现mingw版本的gcc编译出来的程序,一个主程序新建20个线程,每个线程都循环向cout输出信息,几分钟程序就崩了,而用msvc和gcc-linaro版gcc交叉编译器编译出来的运行很久都没问题。 2.相关查询 2.1 C++ iostreams: Unexpected b ...
分类:
编程语言 时间:
2020-09-03 16:47:52
阅读次数:
55
原文:Docker Desktop WSL 2 backend; #Docker Desktop WSL 2 后端 Windows Subsystem for Linux(WSL)2 采用了一个重大的体系结构变化,因为它是由Microsoft构建的完整的Linux内核,允许Linux容器在本机运行而 ...
分类:
其他好文 时间:
2020-08-31 13:23:07
阅读次数:
57
##目录## /etc/apt/ ##文件## sources.list aliyun: deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyu ...
分类:
系统相关 时间:
2020-08-29 15:24:09
阅读次数:
75
K8S资源管理总结及dashboard创建 K8S核心资源管理方法: 陈述式管理:基于众多kubectl命令 声明式管理:基于k8s资源配置清单 GUI式管理:基于K8S仪表盘(dashboard) K8S四种核心的附件 CNI网络插件:如果集群足够小,其实不需要网络插件,只需要改iptables规 ...
分类:
其他好文 时间:
2020-08-28 14:31:58
阅读次数:
68
1.导入依赖 <properties> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> </properties> <dependencies> < ...
分类:
其他好文 时间:
2020-08-24 16:55:16
阅读次数:
51
源码网站centos7系列的.srm.rpm源码包http://vault.centos.org/7.7.1908/os/Source/SPackages/软件包搜索Linux和Unix网站(比较全的)https://pkgs.org/
分类:
Web程序 时间:
2020-08-20 19:03:57
阅读次数:
78