`
kanpiaoxue
  • 浏览: 1742858 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论
文章列表
  很多网址由于地址被挂载了钩子而无法被正常访问,可以通过下面的域名解析找到正确的IP地址,然后在本地电脑的hosts文件里面重新指定域名和ip地址的映射,即可正常访问。 域名解析网址 : https://www.ipaddress.com/  
    文章原文: 《Spring Boot: API First Approach》:https://dzone.com/articles/spring-boot-api-first-approach?edition=664392   提到的工具: 1、https://editor.swagger.io/ 2、https://openapi-generator.tech/       I describe how I created the API definition, then how I created the server and client co ...
springboot返回的时间格式,根据版本的不同,可能返回时间戳,还可能返回UTC时间格式。 如: "createTime": 1537407384500 或者 "createTime": "2018-09-18T10:54:06.000+0000" 如何定制化springboot返回的时间格式呢? 修改 application.properties/yml 里面的配置即可。 spring: jackson: date: yyyy-MM-dd HH:mm:ss time-zone ...
  资料:How to add a dependency to a Spring Boot Jar in another project? 地址: https://stackoverflow.com/questions/40089443/how-to-add-a-dependency-to-a-spring-boot-jar-in-another-project   原文:   By default, Spring Boot repackages your JAR into an executable JAR, and it does that by putting all o ...
Java8实战:并行线程池 写道 并行流内部使用了默认的ForkJoinPool,它默认的 线程数量就是你的处理器数量,这个值是由Runtime.getRuntime().availableProcessors()得到的。但是你可以通过系统属性 java.util.concurrent.ForkJoinPool.common.parallelism 来改变线程池大小,如下所示:System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism","12");这是一个全局设置, ...
  The major strong point in Spring is to provide flexibility to build your application loosely coupled. Spring provides features to disable the web server in a quick configuration. Yes, we can use the application.properties to configure the web application type, i.e.  spring.main.web-application-ty ...
  文章地址: https://dzone.com/articles/java-8-comparator-how-to-sort-a-list     In this article, we’re going to see several examples on how to sort a List in Java 8. Sort a List of Strings Alphabetically         1 List&l
  文章地址: https://dzone.com/articles/java-getter-and-setter-basics-common-mistakes-and       Getter and setter are widely used in Java. It is seemingly simple, but not every programmer understands and implements this kind of method properly. So in this article, I would like to deeply discuss get ...
  参考资料地址:  文章地址: https://dzone.com/articles/java-string-format-examples jdk API地址: https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html       Have you tried to read and understand Java’s String format documentation? I have and found it nearly impenetrable. While it does include ...
  参考资料地址: 1、https://juejin.cn/post/6844903909333401607 2、https://www.jianshu.com/p/78a984173985 3、【精华】《位运算(位掩码BitMask)的简单应用场景浅析》 https://www.jianshu.com/p/78a984173985   位掩码示例: import org.apache.commons.lang3.StringUtils; import com.google.common.collect.Lists; import java.util.Arrays; ...
  Yes, docker has restart policies such as docker run --restart=always that will handle this. This is also available in the compose.yml config file as restart: always.   参考资料: https://stackoverflow.com/questions/30449313/how-do-i-make-a-docker-container-start-automatically-on-system-boot
    【开始】 - 【条件格式】- 【管理规则】- 新建。  行的高亮规则,新建对话框: 样式选择“经典”,使用公式确定要设置格式的单元格。输入公式:=CELL("row")=ROW() 列的高亮规则,新建对话框: 样式选择“经典”,使用公式确定要设置格式的单元格。输入公式:=CELL("col")=COLUMN()   选中excel的单元格,按F9进行刷新。  
  参考文章: 1、【精华】https://zhuanlan.zhihu.com/p/30108890 2、【精华】https://baike.baidu.com/item/%E7%A7%BB%E4%BD%8D%E8%BF%90%E7%AE%97%E7%AC%A6  3、https://juejin.cn/post/6844903783307149319   public static void test() throws Exception { int intValue = 5;// 随 ...
  《确定 Mac 笔记本电脑的电池循环计数》来做官网。 地址: https://support.apple.com/zh-cn/HT201585   了解如何确定 Mac 笔记本电脑的电池循环次数。   关于电池循环 您使用 Mac 笔记本电脑时,电池会经过充电循环。当您使用电池的所有电量时,便会发生充电循环,但这不一定意味着一次充电。 例如,您可能会在一天内使用了笔记本电脑的一半电量,然后将其重新充满电。如果您第二天同样如此,则会计作一次充电循环,而非两次。通过这种方式,可
  1、滚轮之后的那个按键:M720的滚轮后方有一个开关,通过按压可以切换滚轮的工作状态,分为疾速状态和正常状态。 2、如何设置Logitech鼠标M720按钮?罗技鼠标设置方法,参考地址:http://www.pc-fly.com/a/ruanjian/article-264109-1.html  
Global site tag (gtag.js) - Google Analytics