docker-compose.yaml version: "3" services: redis: image: redis:5.0.8 container_name: redis restart: always command: redis-server /etc/redis/redis.conf ...
分类:
其他好文 时间:
2021-06-02 19:51:51
阅读次数:
0
由来 最近有使用ws2812实现大规模灯带的需求,所以研究了一下如何驱动一排排的灯带。 目前网上有开源的WS2812驱动,它是用Arduino实现的,这些实现都使用arduino的io口模拟ws2812的通信时序,因此具有固有的耗时的缺点。WS2812的数据手册描述如下。 When the refr ...
分类:
其他好文 时间:
2021-06-02 19:29:22
阅读次数:
0
0x01: 一、什么是序列化与反序列化? Java序列化是指把 Java 对象转换为字节序列的过程; Java反序列化是指把字节序列恢复为 Java 对象的过程; 漏洞挖掘位置:白盒(以实际情况做参考) 0x02: 一个类的对象要想序列化成功,必须满足两个条件: 1:该类必须实现 java.io.S ...
分类:
其他好文 时间:
2021-06-02 18:43:15
阅读次数:
0
1、安装JAVA环境 yum install -y java-1.8.0-openjdk 2、添加Jenkins repo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins.io/redhat-stable/jenkins.repo r ...
分类:
其他好文 时间:
2021-06-02 18:28:12
阅读次数:
0
1. K8S集群Control Plane版本升级,不包括etcd、coreDNS 参考文档 https://v1-20.docs.kubernetes.io/zh/docs/tasks/administer-cluster/safely-drain-node/ https://v1-20.docs ...
分类:
其他好文 时间:
2021-06-02 18:24:52
阅读次数:
0
我想替换这个包,使用官方的。 然后 $ go get -u gorm.io/gorm go: downloading gorm.io/gorm v1.21.10 go: downloading github.com/jinzhu/now v1.1.2 go: downloading github.c ...
分类:
其他好文 时间:
2021-06-02 17:44:02
阅读次数:
0
完整的项目在 GitHub-mlb 配置类 package com.seliote.mlb.fs.config; import com.seliote.mlb.common.config.PropertiesInjector; import io.minio.BucketExistsArgs; im ...
分类:
编程语言 时间:
2021-06-02 17:42:43
阅读次数:
0
https://hyperledger-fabric.readthedocs.io/en/latest/channels.html Channels A Hyperledger Fabric channel is a private “subnet” of communication between ...
分类:
其他好文 时间:
2021-06-02 17:34:38
阅读次数:
0
直接贴代码 服务器端 package GroupChat; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.*; i ...
分类:
其他好文 时间:
2021-06-02 17:14:48
阅读次数:
0
liunx下redis下载编译安装 介绍 redis官网地址 https://redis.io/ redis下载地址 http://download.redis.io/releases/redis-5.0.5.tar.gz 可以本地下载然后filezila上传上去,或者liunx里面wget下载 解 ...
分类:
系统相关 时间:
2021-06-02 16:42:09
阅读次数:
0