上一页 1 2 3 4 5 6 7 ··· 23 下一页
摘要: 解决报错: Invalid character found in the request target. The valid characters are defined in RFC**** //2.x @Bean public ConfigurableServletWebServerFactor 阅读全文
posted @ 2021-05-13 11:20 凉城 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 依赖包: compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.38' compile group: 'org.mongodb', name: 'mongo-java-driver', version: '4.2.3' 阅读全文
posted @ 2021-04-27 14:16 凉城 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 1、多个mp3文件合并成一个mp3文件 ffmpeg64.exe -i "concat:123.mp3|124.mp3" -acodec copy output.mp3 解释:-i代表输入参数 contact:123.mp3|124.mp3代表着需要连接到一起的音频文件 -acodec copy o 阅读全文
posted @ 2021-04-21 10:01 凉城 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 开机启动jar: 新建一个文本文档,使用文本编辑器写入 @echo offstart /b java -jar service.jar > out.log更改文件名为start.bat,创建快捷方式,将快捷方式放入C:\ProgramData\Microsoft\Windows\Start Menu 阅读全文
posted @ 2021-04-02 09:12 凉城 阅读(1724) 评论(0) 推荐(0) 编辑
摘要: db.assets.aggregate([ {$match:{"stationId":"HNRDC"}}, {$match:{"categoryType":"TYPE_FOLDER_COMMON"}}, {$match:{"extraData.folder_used":{$gte:0}}},{ $l 阅读全文
posted @ 2021-03-26 14:40 凉城 阅读(459) 评论(0) 推荐(0) 编辑
摘要: List<类> list; 代表某集合 //返回 对象集合以类属性一升序排序 list.stream().sorted(Comparator.comparing(类::属性一)); //返回 对象集合以类属性一降序排序 注意两种写法 list.stream().sorted(Comparator.c 阅读全文
posted @ 2021-03-04 10:15 凉城 阅读(1403) 评论(0) 推荐(0) 编辑
摘要: public String sendXml(String xml) { // 创建动态客户端 JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance(); Client client = dcf.createClie 阅读全文
posted @ 2021-02-25 09:44 凉城 阅读(1193) 评论(0) 推荐(0) 编辑
摘要: 有的网站只允许浏览器访问,如果在Linux上直接访问而不设置user-agent是会被哔掉的~~ 以下为wget和curl命令模拟浏览器下载和访问. wget --user-agent="Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537 阅读全文
posted @ 2021-02-23 00:10 凉城 阅读(556) 评论(0) 推荐(0) 编辑
摘要: mysql下载地址:https://dev.mysql.com/downloads/mysql/8.0.html 下载后解压: 新建my.ini文件 [Client] port = 3306 [mysqld] #设置3306端口 port = 3306 # 设置mysql的安装目录,注意斜杠,需要两 阅读全文
posted @ 2021-02-18 10:20 凉城 阅读(45) 评论(0) 推荐(0) 编辑
摘要: package com.client; import java.io.IOException; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.ne 阅读全文
posted @ 2021-02-05 14:46 凉城 阅读(1344) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 23 下一页