随笔分类 - 开发填坑
开发过程中遇到的问题以及解决方案
摘要:我们经常使用 npm i xxx -S or yarn add xxx 甚至于使用脚手架会出现以下问题: 备注:以下是我使用umi脚手架创建AntD项目时出现的错误 如果你从npm拉下来的依赖是编译完成的文件,那么可以正常运行。但很多NodeJS Npm依赖是跨平台的,也就是说要不你去下载相关依赖在
阅读全文
摘要:本文介绍以虚拟磁盘的方式安装软路由,如需要使用镜像安装,请查看我的这篇文章,https://www.cnblogs.com/fanqisoft/p/11493944.html 1.安装VMware虚拟机【推荐v15.5】 2.下载软路由的虚拟机版本vmdk【地址 https://netflixcn.
阅读全文
摘要:https://www.31du.cn/blog/soft-routing.html http://firmware.koolshare.cn/ https://koolshare.cn/forum-97-1.html https://koolshare.cn/thread-177079-1-1.h
阅读全文
摘要:Flutter配置好后,在Android Studio中找不到设备 完成Flutter的Android配置之后,连上设备,运行flutter doctor,发现已经识别了一个可用设备了 [✓] Connected device (1 available) 但是用Android Studio新建Flu
阅读全文
摘要:1.MyBatisPlus 3.2.0移除了 PerformanceInterceptor 相关, 建议使用 p6spy。
阅读全文
摘要:using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; namespace TJCFinanceWriteOff.BizLogic.Co...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TJCFinanceWriteOff.BizLogic.Common { /// /// C#金额大写转小写 /// ...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 5 namespace TJCFinanceWriteOff.BizLogic.Common 6 { 7 public class UnixTimeUtil 8 { 9 /// 10 ...
阅读全文
摘要:1 using (Bitmap bmp = new Bitmap(scanImgPath)) 2 { 3 Bitmap bitmap = new Bitmap(bmp.Width, bmp.Height, PixelFormat.Format16bppRgb555); 4 using (Graphics draw = Graphics.FromImage(bitmap)) 5 { 6 draw.D
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data; using System.Reflection; using System.Text; namespace TJCFinanceWriteOff.BizLog...
阅读全文
摘要:因为koolshare不支持最新的协议,因此废弃,本文也不再以koolshare为主。此文仍然介绍以镜像方式安装Openwrt软路由,如需要使用虚拟磁盘安装软路由,请查看我的这篇文章。https://www.cnblogs.com/fanqisoft/p/13162881.html ⒈创建虚拟机 *
阅读全文
摘要:#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections ...
阅读全文
摘要:⒈忽略tomcat的context-path 方式一: 停止tomcat服务,删除tomcat安装目录的webapps目录下的ROOT目录,将打成的WAR包重命名为ROOT.war,重启tomcat服务,tomcat将自动解压部署。 方式二: 为当前war包指定context-path为/ 编辑to
阅读全文
摘要:给天津海关开发手机插件。 他们的API返回的文件base64遵循了RFC822规定,即BASE64编码每76个字符,还需要加上一个回车换行。 这就导致了我的Ant Design Mobile图片控件不能正常的显示缩略图。 因此,我需要在base64去掉这些回车换行。
阅读全文
摘要:公司使用Springboot进行开发,里面默认使用了jackson进行序列化。 但是序列化的过程中一直报错,因此记录一下。 ⒈jackson默认大小写敏感,且首字母转小写 在类上添加一下注解即可 @JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visib
阅读全文
摘要:**Nginx本身在Windows上并不支持以服务的形式运行,官方文件中有提到。http://nginx.org/en/docs/windows.html,所以在Windows下使用winsw将Nginx包装为服务运行。 ⒈下载 github地址:https://github.com/kohsuke
阅读全文
摘要:微软官方文档介绍 ⒈介绍 Office Online Server是 Office Web Apps Server 的升级版本,安装环境必须为两台Windows Server 2012 R2 或 Windows Server 2016服务器(注意,Windows Server 2016 需要 Off
阅读全文