代码改变世界
上一页 1 2 3 4 5 6 ··· 10 下一页

2021年4月24日

reactnative debug工具 安装失败 yarn global add react-devtools

摘要: Error: EACCES: permission denied, mkdtemp 使用。yarn global add react-devtools --unsafe-perm=true 阅读全文

posted @ 2021-04-24 19:04 Captain林 阅读(115) 评论(0) 推荐(0) 编辑

2021年1月19日

pdfbox 识别 pdf为excel

摘要: 1、继承 PageDrawer 和 PDFRenderer获得文本框坐标 2、通过坐标获取文字 3、通过easyExcel生成表格 public class MyPageDrawer extends PageDrawer { static final List<Coordinate> COORDIN 阅读全文

posted @ 2021-01-19 15:02 Captain林 阅读(740) 评论(0) 推荐(0) 编辑

2020年12月29日

springboot 重复提交

摘要: @Target(ElementType.METHOD)@Retention(RetentionPolicy.RUNTIME)@Documented@Inheritedpublic @interface DuplicateSubmitToken { String key() default "";} 阅读全文

posted @ 2020-12-29 11:03 Captain林 阅读(385) 评论(0) 推荐(0) 编辑

2020年12月10日

nginx 下载返回原文件名称

摘要: if ($arg_attname ~ "^(.+)") { add_header Content-Disposition "attachment;filename=$arg_attname"; } 阅读全文

posted @ 2020-12-10 18:40 Captain林 阅读(411) 评论(0) 推荐(0) 编辑

2020年8月6日

Android Html.fromHTML 空格被合并 removes double space

摘要: // htmlText = "This is test"; public String fixDoubleSpaceIssue(String htmlText) { htmlText= text.replace(" ", "&nbsp;&nbsp;&nbsp;"); htmlText= text.r 阅读全文

posted @ 2020-08-06 16:51 Captain林 阅读(788) 评论(0) 推荐(0) 编辑

2020年6月30日

Android Studio 4.0 不能启动应用

摘要: 解决办法,可能是manifest 太长 工具无法识别 修改manifest 先只保留一个启动的acitivity 让Androidstudio 识别manifest。然后在恢复正常的manifest <activity android:name=".view.activity.adver.Adver 阅读全文

posted @ 2020-06-30 10:38 Captain林 阅读(1115) 评论(0) 推荐(0) 编辑

2020年5月23日

Android半透明+RGB颜色代码大全

摘要: 半透明值: 不透明 100% FF 95% F2 90% E6 85% D9 80% CC 75% BF 70% B3 65% A6 60% 99 55% 8C 半透明 50% 80 45% 73 40% 66 35% 59 30% 4D 25% 40 20% 33 15% 26 10% 1A 5% 阅读全文

posted @ 2020-05-23 11:52 Captain林 阅读(4671) 评论(0) 推荐(0) 编辑

2020年5月8日

android glide 设置 textview drawable 重写大小

摘要: int imageWidth=px2dip(context,65);RoundedCorners roundedCorners= new RoundedCorners(50);Glide.with(context) .load(item.getAvatar()).apply(new RequestO 阅读全文

posted @ 2020-05-08 09:57 Captain林 阅读(801) 评论(0) 推荐(0) 编辑

2020年4月14日

java 工具类 复制文件目录 批量修改替换文件

摘要: import java.io.*;public class moveMain { public static void main(String[] args) throws Exception {// String path="G:\\ideaWorkspace\\tzlion-data-platf 阅读全文

posted @ 2020-04-14 10:36 Captain林 阅读(948) 评论(0) 推荐(0) 编辑

2020年4月9日

windows bat 批量修改文件名。不改变后缀

摘要: @echo offsetlocal enabledelayedexpansionfor %%x in (*.java) do ( rename "%%x" " %%~nxResp.java")pause ###### 1、*.java 当前目录 2、 %%x 为文件名称 3、 %%~nx不带后缀 阅读全文

posted @ 2020-04-09 11:19 Captain林 阅读(863) 评论(1) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 10 下一页

导航