引用的jar包(maven) <properties> <java.version>1.8</java.version> <ch.qos.logback.version>1.2.3</ch.qos.logback.version> <sharding-sphere.version>4.1.1</sh ...
分类:
编程语言 时间:
2020-07-21 21:58:23
阅读次数:
74
ps -aux | grep -v grep | grep -q xxx echo $? 排除grep进程,返回0,说明xxx进程存在,返回其他数字,说明xxx进程不存在 apt -cache policy xxx | grep -q 'abc' -q就是判断返回的结果中是否含有abc 以下是摘自菜 ...
分类:
系统相关 时间:
2020-07-21 21:34:26
阅读次数:
96
在网上找了很多方法,有许多命令进行了尝试 失败方案: npm cache verify npm cache clean npm cache clean --force npm i -g npm grep -ir "sha1-xxxxxxxxxxxxxxxx" ~/.npm 解决方案是: 1.删掉pa ...
分类:
其他好文 时间:
2020-07-21 13:46:43
阅读次数:
69
1.下载chrome浏览器 wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 或者 https://www.chrome64bit.com 2.安装 gdeb apt-cache search ...
分类:
其他好文 时间:
2020-07-21 11:42:31
阅读次数:
136
/** 请求 * @Author: xuhong * @Date: 2020/6/19 * @DESC: //TODO */ /** * 发送请求,处理请求失败 * * request(url, method, data, callback) * request(url, method, callb ...
分类:
Web程序 时间:
2020-07-20 13:11:43
阅读次数:
82
jdk的安装 上传jdk的安装包到linux中 解压、更名 [root@qianfeng01 software]# tar -zxvf jdk-8u221-linux-x64.tar.gz -C /usr/local/ [root@qianfeng01 software]# cd /usr/loca ...
分类:
其他好文 时间:
2020-07-19 17:54:49
阅读次数:
72
1. 环境准备 说明:本次集群搭建使用系统版本Centos 7.5 ,软件版本 V3.1.1。 1.1 配置说明 本次集群搭建共三台机器,具体说明下: 主机名 IP 说明 hadoop01 10.0.0.10 DataNode、NodeManager、NameNode hadoop02 10.0.0 ...
分类:
其他好文 时间:
2020-07-19 16:31:06
阅读次数:
63
搬运自我的CSDN https://blog.csdn.net/u013213111/article/details/107031986 最近在多核ARM芯片上搞并行计算,涉及到核间数据交互,因此对多核cache coherence稍作探究。想解决的疑问是:各个核之间是否“知道”内存中的数据被其他核 ...
分类:
系统相关 时间:
2020-07-19 15:51:21
阅读次数:
172
前提条件:nginx支持ngx_http_slice_module模块 配置文件示例: #location 块的配置: location /asd/ { slice 512k; proxy_cache cache; proxy_cache_key $uri$is_args$args$slice_ra ...
分类:
其他好文 时间:
2020-07-19 00:50:36
阅读次数:
186
一,为什么要使用caffeine做本地缓存? 1,spring boot默认集成的进程内缓存在1.x时代是guava cache 在2.x时代更新成了caffeine, 功能上差别不大,但后者在性能上更胜一筹, 使用caffeine做本地缓存,取数据可以达到微秒的级别, 一次取数据用时经常不足1毫秒 ...
分类:
编程语言 时间:
2020-07-19 00:47:58
阅读次数:
94