上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 57 下一页
摘要: 将Excel中的汉字列,转换成拼音首字母,并保存 需要安装导入 pypinyin、openpyxl 库 # pip install pypinyin from pypinyin import lazy_pinyin, Style import openpyxl def py(str_data): " 阅读全文
posted @ 2022-06-02 09:20 VipSoft 阅读(503) 评论(0) 推荐(0)
摘要: 在DataGrid中实现Button Command绑定 Command="{Binding editCommand}" 会默认查找UserList中对象的属性,而你的UserList中对象应该不包括editCommand属性;可以尝试:Command="{Binding DataContext.e 阅读全文
posted @ 2022-06-01 14:15 VipSoft 阅读(252) 评论(0) 推荐(0)
摘要: 备份数据库文件时,发现MySQL备份生成的文件名为 【vipsoft_周三】,发现是系统的日期格式问题。需调整日期格式,生成 【vipsoft_20220601.sql】 mysqldump -uroot -p110 vipsoft > D:\DBBackup\MySQL\vipsoft%Date: 阅读全文
posted @ 2022-06-01 10:26 VipSoft 阅读(154) 评论(0) 推荐(0)
摘要: 服务端接口代码如下: /** * 上传数据+实体信息 */ @RequestMapping("/upload") public String doctorAnalysis(HttpServletRequest request, @RequestParam(value = "userinfo") St 阅读全文
posted @ 2022-05-31 17:01 VipSoft 阅读(1236) 评论(0) 推荐(0)
摘要: 为什么浏览器中有些文件点击后是预览,有些是下载:https://www.cnblogs.com/vipsoft/p/18267174 SpringBoot 接口输出文件流 & Vue 下载文件流,获取 Header 中的文件名 https://www.cnblogs.com/vipsoft/p/16 阅读全文
posted @ 2022-05-27 16:09 VipSoft 阅读(4407) 评论(0) 推荐(0)
摘要: 几种数据格式的表示方式1.普通的值(数字,字符串,布尔) expire: 60 # 方便测试,设成 60 秒 2.对象、Map (属性和值) (键值对) 不支持tab,使用空格 vipsoft: api-url: http://xxxx file-path: /temp 3.数组 (List、Set 阅读全文
posted @ 2022-05-24 12:11 VipSoft 阅读(2223) 评论(0) 推荐(0)
摘要: 1.如何判断线程池所有任务是否执行完毕 package com.vipsoft.web; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sp 阅读全文
posted @ 2022-05-11 10:27 VipSoft 阅读(163) 评论(0) 推荐(0)
摘要: 将目录下的N个日志文件读写到一个文件中。 @Test void verification() throws Exception { File f = new File("D:\\Logs"); String wPath = "D:\\\\Logs\\0.logsAll.log"; File wf = 阅读全文
posted @ 2022-05-10 11:14 VipSoft 阅读(316) 评论(0) 推荐(0)
摘要: 大文件推荐使用 UltraEdit 工具 Sublime Text 16进制显示(可以直接显示不同数据类型转换后的结果,不用在线工具,转二进制了) 安装 HexViewer 插件 1. Ctrl + Shift + P2. 选 install3. 输入: HexViewer 回车 安装成功后显示: 阅读全文
posted @ 2022-05-07 16:26 VipSoft 阅读(7776) 评论(0) 推荐(0)
摘要: 字节序: 指多字节数据在计算机内存中存储或者网络传输时各字节的存储顺序,有大端和小端两种方式 大端: 指高位字节存放在内存的低地址端,低位字节存放在内存的高地址端。 小端: 指低位字节放在内存的低地址端,高位字节放在内存的高地址端。 获取CPU使用的存储方式 import java.nio.Byte 阅读全文
posted @ 2022-05-07 11:17 VipSoft 阅读(412) 评论(0) 推荐(0)
摘要: C# CRC8 C# /// /// This enum is used to indicate what kind of checksum you will be calculating. /// public enum CRC8_POLY { CRC8 = 0xd5, CRC8_CCITT = 阅读全文
posted @ 2022-05-06 23:31 VipSoft 阅读(561) 评论(0) 推荐(0)
摘要: JAVA CRC32 /** * CRC-32 * * <table width="400px" border="1" cellpadding="0" cellspacing="0"> * <tr> * <th>名称</th> * <th>多项式</th> * <th>初始值</th> * <th> 阅读全文
posted @ 2022-05-06 23:12 VipSoft 阅读(319) 评论(0) 推荐(0)
摘要: JAVA CRC16 /** * CRC-16 * * <table width="400px" border="1" cellpadding="0" cellspacing="0"> * <tr> * <th>名称</th> * <th>多项式</th> * <th>初始值</th> * <th> 阅读全文
posted @ 2022-05-06 23:11 VipSoft 阅读(267) 评论(0) 推荐(0)
摘要: Java CRC8 /** * CRC-8 * * <table width="400px" border="1" cellpadding="0" cellspacing="0"> * <tr> * <th>名称</th> * <th>多项式</th> * <th>初始值</th> * <th>异或 阅读全文
posted @ 2022-05-06 23:09 VipSoft 阅读(470) 评论(0) 推荐(0)
摘要: 推荐 使用 Windows 安装 MySQL 5.7 x64 位 方案 MySQL 5.7 下载:https://dev.mysql.com/downloads/mysql/5.7.html#downloads 下载后解压,将解压包放到 :D:\MySQL\mysql-5.7.30-winx64 ( 阅读全文
posted @ 2022-04-26 10:45 VipSoft 阅读(82) 评论(0) 推荐(0)
摘要: FCB::Open failed: 无法打开文件号 2 的文件 D:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA\mastlog.ldf。操作系统错误: 5(拒绝访问。)。 解决方案:通过“我的电脑”-右键-“管 阅读全文
posted @ 2022-04-21 14:22 VipSoft 阅读(6493) 评论(0) 推荐(0)
摘要: ECS 挂载 OSS,等同于在ECS 上使用内网的 Bucket 域名,不需要收取流量费用,减少接口代码的编写。 CentOS系统 安装 wget http://gosspublic.alicdn.com/ossfs/ossfs_1.80.6_centos7.0_x86_64.rpmyum inst 阅读全文
posted @ 2022-04-18 14:39 VipSoft 阅读(416) 评论(0) 推荐(0)
摘要: 负载均衡 SLB 健康检查异常,接口地址不能访问 接口地址的访问首先需要健康检查状态为正常。 如果接口没有“首页”,需要提供一个可访问的controller 阅读全文
posted @ 2022-04-08 13:13 VipSoft 阅读(165) 评论(0) 推荐(0)
摘要: PMP 如何获取 PDU、 PMP 证书续证 需要准备一张带支付美元的信用卡 打开官网,登录: https://ccrs.pmi.org/ 内容随便填 ,可以到 https://pmichina.org/PMIhd/index.jhtml 找活动 翻译,详见下文 https://pmichina.o 阅读全文
posted @ 2022-04-02 11:57 VipSoft 阅读(307) 评论(0) 推荐(0)
摘要: 磁盘挂载后,启动报错 Unable to create tempDir. java.io.tmpdir is set to /tmp [2022-03-30 17:12:06.596] WARN [main] AbstractApplicationContext.java:558 - Excepti 阅读全文
posted @ 2022-03-30 17:25 VipSoft 阅读(4052) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 57 下一页