Kotlin 101 practiceHow to create a kotlin project IntelliJ IDEA
click File -> New -> Kotlin, IDEA will help to create kotlin project with JVM
You also can use REPL (Read-Eval-Print-Loop) inte...
pomodprp-scheduleIntellig plugin for time management
some concept
plugins.xml
Action
definition, is the response of the interaction of user’s operationsand all the actions need to be defined and r...
java spring-boot jwt
what is jwt
jwt (json token token), s a standard that is mostly used for securing REST APIs.
how to sign a toke
JWTs can be signed using a secret (with the HMAC algorithm) or a...
Open-apiswagger
How to?
add open-api dependency, different framework needs import different maven dependency,for our demo, we should add webflux related openapi dependency1234<groupId>org.spr...
reactive-spring-webflux
Spring Webflux
flux 常用操作
map
transforming operator n->n synchronously
flatmap
asynchronously 1 -> 0/n
flatMapSequential
asynchronously but keeping the origina...
How to process nullable value in elegant wayoptional in java
create optional
of, set a null will throw nullPointerException
ofNullable, set a null will throw no suchElementException
orElse will c...
How to integrate newRelic into spring-boot applicationFrom the stackoverflow, I found three ways to implement newRelic integration.
Way one locally test by java cmd
we can download java agent from ...
Elastic Search 基础知识基本概念es是什么
es是一个分布式文件存储系统,意味着es可以拥有多个节点 节点间如何同步数据?
各种复杂的数据都会以json的格式进行序列化,然后进行存储
使用反向索引的方式来存储数据,这个索引中存储了整个文档中所有的去重之后的词条 什么是inverted-index?
在es中,不同类型数据会使用不同的存储结构,比如说,文本会用inverted-...
feature works
write batect script to execute this check
run it in docker container
add allure report generation (add this following into the reporting plugins)
12345<property><name>a...
浅谈ffmpeg为什么要分享这个玩意 One day, 我在Mac上下载了一部电影,然后想拷贝到U盘中,然后再连接电视上的接口。这时候呢,正当我要拷贝电影的时候,遇到了我的知识盲区了,为啥我的U盘能检测到,但是电脑上的文件没法往U盘里头送,但是U盘里面东西又可以往外面传呢?我尝试了下面几种方法:
翻箱倒柜,找出其他的U盘,一个个的试 ...