Easter79 Easter79
4年前
tio
本文讲述如何快速将tio服务整合到SpringBoot项目首先,你需要在pom.xml中引入tiocorespringbootstarter构件<dependency<groupIdorg.tio</groupId<artifactIdtiocorespringboot
Wesley13 Wesley13
4年前
java 之 音乐播放代码
//需求:通过代码播放音乐//1.读取文件//2.将音乐文件放到播放代码中//3.播放publicstaticvoidmain(Stringargs)throwsMalformedURLException{ScannerinputnewScanner(System
Wesley13 Wesley13
4年前
java自动关闭资源
1.6和以前是这样的,但这样的缺点是finally中也可能报错(如关闭流):BufferedReaderbrnull;try{brnewBufferedReader(newFileReader(""));}catch(IOExceptione){e.print
Centos7.2 安装Elasticsearch 6
下载elasticsearch.6.0.0.tar.gz(http://pan.baidu.com/s/1kUTZVrp)迁移文件到usr/local中mvelasticsearch6.0.0.tar.gz/usr/local/
Stella981 Stella981
4年前
Linux 服务的restart和reload
标题:Linux服务的restart和reload时间:2020年1月13日在Linux操作系统服务管理中,经常会遇到restart和r
Wesley13 Wesley13
4年前
ubuntu软件管理
一、Ubuntu中软件安装方法1、APT方式(1)普通安装:aptgetinstallsoftname1softname2…;(2)修复安装:aptgetfinstallsoftname1softname2...;(fAtemptocorrectbrokendependencies)(3)重新
Wesley13 Wesley13
4年前
2018.9.20笔记
Nginx默认虚拟主机去掉usr/local/nginx/conf/nginx.conf中的内容Server{.....}vim/usr/local/nginx/conf/nginx.conf//增加includevhost/.conf;
Stella981 Stella981
4年前
Idea中使用git
1、在idea中配置gitFileSettingVersionControlgit   选择git安装目录,点击Test测试是否OK。!(https://img2018.cnblogs.com/blog/1782729/201909/178272920190905233441387391371504.png) 2
烂怂if-else代码优化方案 | 京东云技术团队
这篇文章主要介绍了代码中ifelse代码块泛滥时的治理措施,在实际应用时可根据具体场景选择合理的方案。
程序员小五 程序员小五
2年前
如何实现接收推送撤回通知栏指定通知?
实现方式请参照SealTalk中的ServiceExtension。具体步骤如下:给工程添加一个target:NotificationServiceExtension。主工程开启PushNotifications和BackgroundModes功能。Ser