会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
silence1020
博客园
首页
新随笔
联系
订阅
管理
2023年3月15日
怎么查看当前环境是生产环境
摘要: 首先,需要Environment中的acceptsfiles(参数1),这个方法来判断是是否是参数1中设置好的环境,返回的是Boolean类型。 其中参数1的话是通过Profiles 中的Of(参数2)的来指定的,参数2的话就是指定配置文件或者就是项目环境,比如:test/dev/pro
阅读全文
posted @ 2023-03-15 21:29 Silence1020
阅读(29)
评论(0)
推荐(0)
2023年2月10日
树莓派rc.local初始文件
摘要: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or a
阅读全文
posted @ 2023-02-10 10:44 Silence1020
阅读(30)
评论(0)
推荐(0)
2022年12月27日
Lamda表达式推演
摘要: Lamda表达式推演 在推演Lanmda表达式前,需要知道什么是函数式接口。 函数式接口 只包含唯一一个抽象方法的接口,就是函数式接口。 //无参函数接口 public interface Runnabe{ public abstract void run(); } //有参函数接口 public
阅读全文
posted @ 2022-12-27 23:56 Silence1020
阅读(25)
评论(0)
推荐(0)
公告