会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
无言灬亦知心
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2022年6月22日
使用jsoup规范化html itext html转PDF 空格丢失问题解决
摘要: 使用jsoup规范化html itext html转PDF 空格丢失问题解决 /** * 使用jsoup规范化html * * @param html html内容 * @return 规范化后的html */ private static String formatHtml(String html
阅读全文
posted @ 2022-06-22 16:25 无言灬亦知心
阅读(518)
评论(0)
推荐(0)
2021年9月18日
git clean -fd 命令删除文件之后 项目工程文件恢复
摘要: 今天提交代码不小心 执行了git clean -fd 命令,发现文件全被删除了 一般git clean -fd 执行文件就直接被删除了; 本人系统:win10 恢复办法一:系统回收站恢复 恢复办法二:如果回收站没有的话,可以使用开发工具的代码修改历史来恢复 比如我使用的是:IntelliJ IDEA
阅读全文
posted @ 2021-09-18 20:16 无言灬亦知心
阅读(1694)
评论(0)
推荐(0)
2021年9月16日
extjs ajax 同步设置
摘要: Ext.Ajax.request({ url: your url, method: 'post', async : false,//同步请求数据 success: function(result, request) { //成功 }, failure: function(result, reques
阅读全文
posted @ 2021-09-16 14:58 无言灬亦知心
阅读(134)
评论(0)
推荐(0)
2021年9月5日
spring mvc拦截器无法注入bean,autowired的null 的解决
摘要: 使用WebApplicationContextUtils直接获取你需要的bean例如场景:在拦截器需要使用查询用户信息的dao 代码如下: UserDao userDao = org.springframework.web.context.support.WebApplicationContextU
阅读全文
posted @ 2021-09-05 15:48 无言灬亦知心
阅读(250)
评论(0)
推荐(0)
2021年5月10日
extjs 实现store回调
摘要: store.reload({params:{start:0, limit:50}, callback:function() { /*成功后的代码执行*/ }}); 使用callback就可以取到store重新加载后的值
阅读全文
posted @ 2021-05-10 16:33 无言灬亦知心
阅读(181)
评论(0)
推荐(0)
2021年4月23日
Extjs 组件划入/划出效果
摘要: Extjs 组件划入/划出效果 使用slideIn()方法 slideIn('b', { duration: 200 });//200mm内向下划出 slideIn('t', { duration: 200 });//200mm内向上划出 slideIn('r', { duration: 200 }
阅读全文
posted @ 2021-04-23 17:10 无言灬亦知心
阅读(91)
评论(0)
推荐(0)
2020年7月3日
Java 写一个随机的砍价方法,返回砍价金额的数组,第一刀最大
摘要: public class BargainUtils { private static final int DEF_DIV_SCALE = 10; /** * 提供(相对)精确的除法运算。当发生除不尽的情况时,由scale参数指 定精度,以后的数字四舍五入。 * * @param v1 * 被除数 *
阅读全文
posted @ 2020-07-03 21:06 无言灬亦知心
阅读(473)
评论(0)
推荐(0)
2020年6月30日
linux下编译nginx-1.10.1报错:src/http/ngx_http_parse.c:1384:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
摘要: linux下编译nginx-1.10.1报错:src/http/ngx_http_parse.c:1384:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 原因:gcc编译版本问题导致。 解决办法: 解决办
阅读全文
posted @ 2020-06-30 18:02 无言灬亦知心
阅读(2347)
评论(0)
推荐(0)
2020年6月23日
linux 系统Ubuntu安装unzip
摘要: sudo apt-get update //更新系统 apt-get install unzip //安装unzip
阅读全文
posted @ 2020-06-23 17:41 无言灬亦知心
阅读(4546)
评论(0)
推荐(0)
2020年6月19日
Java map清除值为null的元素
摘要: map.entrySet().removeIf(entry -> entry.getValue() == null);
阅读全文
posted @ 2020-06-19 19:28 无言灬亦知心
阅读(6904)
评论(0)
推荐(1)
1
2
下一页
公告