极光推送报错6027
不能因为贫穷,便辱骂祖宗,把大地母亲卖去。——泰戈尔 极光推送响应码6027: 错误码 - 极光文档 这是因为 别名绑定的设备数超过限制 3.3.2 版本新增的错误码;极光于 2020/03/10 对「别名设置」的上限进行限制,最多允许绑定 10 个设备,如需更高上限,请联系商务 我们可以手动解绑,java的sdk是如下cn.jpush.api.JPushClient#deleteAlias: 1jpushClient.deleteAlias("truetime_9052710354240385174", null); 即可解绑
javadoc保留格式标签
不结果的树是没人去摇的。唯有那些果实累累的,才有人用石子去打。——罗曼·罗兰 在hutool中就有体现: 12345678910111213141516171819202122232425262728293031323334353637383940414243/* * Copyright (c) 2023 looly(loolly@aliyun.com) * Hutool is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * https://license.coscl.org.cn/MulanPSL2 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, * E...
web前端面试题
把钱都用在对自己对别人都有益的事情上,不要错花一文钱。——富兰克林 分享一个web面试题汇总网站 web前端面试 - 面试官系列 https://github.com/febobo/web-interview https://vue3js.cn/ 非常nice
r2dbc配置枚举转换器
你如果愿意做哲学家,尽管做好了,但是你在你的全部哲学思维中,仍然要做一个人。——休谟 首先配置Converter 12345678910111213141516171819202122232425import jakarta.annotation.Nullable;import org.springframework.core.convert.converter.Converter;import org.springframework.data.convert.WritingConverter;import org.springframework.stereotype.Component;/** * EnumToIntConverter * * @author achao@apache.org */@Component@WritingConverterpublic class AgoraNotifyTypeEnumToIntConverter implements Converter<AgoraNotifyTypeEnum, Integer> { ...
apache-tika从ppt-pdf-xls读取文本
你若要喜爱自己的价值,你就得给世界创造价值。——歌德 代码仓库: GitHub - apache/tika: The Apache Tika toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF). 官网: https://tika.apache.org/ 快速开始: Apache Tika – Getting Started with Apache Tika 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610...
mvn依赖搜索网站
当一个人用工作去迎接光明,光明很快就会来照耀着他。 —— 冯学峰 分享一个mvn依赖搜索网站 https://mvn.coderead.cn/ 最快捷的Maven搜索 不依赖于国外网络,每周自动去Maven仓库同步索引到国内。 自研搜索算法,无论单词多长,输入你记得的前几个字母即可。 热度排序,使用的人数越多,结果越智能。 对应仓库地址:https://repo1.maven.org/maven2
xcode报错SDK does not contain 'libarclite' at the path
希望是附丽于存在的,有存在,便有希望,有希望,便是光明。 —— 鲁迅 今天报错: 123SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target 解决方式,下载: https://github.com/kamyarelyasi/Libarclite-Files/blob/main/libarclite_iphoneos.a 放到 1/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc 即可
satoken+webflux获取header以及body
你若要喜爱自己的价值,你就得给世界创造价值。——歌德 代码如下: 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980import cn.dev33.satoken.context.SaHolder;import cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage;import cn.dev33.satoken.reactor.context.SaReactorSyncHolder;import cn.dev33.satoken.reactor.filter.SaReactorFilter;import cn.dev33.satoken.router.SaRouter;import jakarta.annotation.Resource;import org.j...
报错找不到 TestRestTemplate
脑子——认识的能力——是像肌肉一样,靠练习、锻炼而培养起来的。——高尔基 今天遇到个问题: 1Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.boot.test.web.client.TestRestTemplate' available: expected at least 1 bean which qualifies as autowire candidate. 原来是SpringBootTest没加webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT 加上就好了 123456789101112131415161718192021222324import jakarta.annotation.Resource;import org.junit.jupiter.api.Assertions;i...
十二时辰与现代时间的互转(精确版)
内抑怒气,外制愠色,处世待人,心平气和。——圣德太子 最新版优化了一版,支持了 宋以后把十二时辰中每个时辰平分为初、正两部分,这样,子初、子正、丑初、丑正……依次下去,恰为二十四时辰,同现在一天二十四小时时间一致 hutool-core/src/main/java/org/dromara/hutool/core/date/chinese/ShiChen.java · dromara/hutool - Gitee.com 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111...
