一、前言 在工作中或者新的框架等都会踩坑,有时同一个还不只一次,感觉有必要记录一下。 这里分类记录下。 二、node 包管理 现在前端框架大行其道。在使用框架的同时需要管理各种包,这里面经常会在 npm install 时出现各种问题。在这里记录下。 1、EPERM: operation not p ...
分类:
其他好文 时间:
2020-05-01 01:28:24
阅读次数:
88
Launch X-431 V+ HD3 is a modified version of the multi-brand scanner Launch X-431 Pro which, in its new edition, received a more powerful tablet and a ...
分类:
其他好文 时间:
2020-04-30 21:37:14
阅读次数:
86
Zabbix 设置预警升级 官方文档: https://www.zabbix.com/documentation/4.0/zh/manual/config/notifications/action/operation 一、需求 ? 在对公司的预警进行流程制定的时候,我们需要设置预警升级规则,需求是: ...
分类:
其他好文 时间:
2020-04-30 13:46:34
阅读次数:
67
面试官:想了解 ES 的底层原理,不再只关注业务层面了。 解答: 这里的索引文档应该理解为文档写入 ES,创建索引的过程。 文档写入包含:单文档写入和批量 bulk 写入,这里只解释一下:单文档写入流程。 记住官方文档中的这个图。 第一步:客户写集群某节点写入数据,发送请求。(如果没有指定路由/协调 ...
分类:
其他好文 时间:
2020-04-29 16:36:23
阅读次数:
135
You are given two integers aa and bb. You can perform a sequence of operations: during the first operation you choose one of these numbers and increas ...
分类:
其他好文 时间:
2020-04-26 10:35:56
阅读次数:
78
新建一个配置文件 准备好的配置文件 # Max number of retries on the same server (excluding the first try) jiangzh-client.ribbon.MaxAutoRetries=1 # Max number of next ser ...
分类:
其他好文 时间:
2020-04-26 01:24:19
阅读次数:
69
原子操作(atomic operation)意为”不可被中断的一个或一系列操作” 。 处理器使用基于对缓存加锁或总线加锁的方式来实现多处理器之间的原子操作。 在 Java 中可以通过锁和循环 CAS 的方式来实现原子操作。 CAS 操作—— Compare & Set,或是 Compare & Sw ...
分类:
编程语言 时间:
2020-04-25 00:45:21
阅读次数:
88
原文: https://blog.csdn.net/u014608280/article/details/84586042 一、简介 redis 客户端和服务端之间通信的协议是RESP(REdis Serialization Protocol)。传输层使用TCP。RESP的特点是: 实现容易解析快人 ...
分类:
其他好文 时间:
2020-04-24 01:28:02
阅读次数:
63
安装composer.进入nginx主目录cd/Applications/MAMP/htdocs/设置国内镜像,执行composerconfig-grepo.packagistcomposerhttps://packagist.phpcomposer.com下载laravel,composerglobalrequire"laravel/installer新建laravel项目compos
分类:
其他好文 时间:
2020-04-23 00:21:28
阅读次数:
115
基于此:win10下redis集群 application.yml 1 spring: 2 redis: 3 cluster: 4 ## 集群ip端口 5 nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003,127.0.0.1:7004,127.0 ...
分类:
编程语言 时间:
2020-04-22 00:09:10
阅读次数:
86