上一页 1 2 3 4 5 6 7 8 ··· 57 下一页
摘要: 目录1. 原码(Sign-Magnitude)定义特点使用场景2. 反码(Ones' Complement)定义特点使用场景3. 补码(Two's Complement)定义特点使用场景4. 为什么需要反码和补码?(1)解决 +0 和 -0 问题(2)统一加减运算(3)硬件优化5. 实际应用示例(1 阅读全文
posted @ 2025-04-30 16:15 VipSoft 阅读(809) 评论(1) 推荐(4)
摘要: 在 Java 中,你可以使用 RandomAccessFile 或 FileInputStream 来从指定偏移量(offset)读取指定长度的字节数据。以下是两种实现方式: %02X 格式化输出16进制内容:https://www.cnblogs.com/vipsoft/p/16458095.ht 阅读全文
posted @ 2025-04-30 09:28 VipSoft 阅读(87) 评论(0) 推荐(0)
摘要: Netty 心跳机制实现(客户端与服务端) Netty 的心跳机制是保持长连接有效性的重要手段,可以检测连接是否存活并及时释放无效连接。下面介绍客户端和服务端的完整实现方案。 一、服务端实现 1. 基础心跳检测 public class HeartbeatServerInitializer exte 阅读全文
posted @ 2025-04-25 16:45 VipSoft 阅读(707) 评论(0) 推荐(1)
摘要: SpringBoot + Mybatis + Druid 配置多数据源: https://www.cnblogs.com/vipsoft/p/15826491.html 启动页去掉 MapperScan @ComponentScan(basePackages = {"com.vipsoft"}) @ 阅读全文
posted @ 2025-04-24 15:53 VipSoft 阅读(322) 评论(0) 推荐(0)
摘要: {"code":40001,"message":"系统内部错误: Error attempting to get column 'COUNT(1)' from result set. Cause: java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar 阅读全文
posted @ 2025-04-23 18:47 VipSoft 阅读(949) 评论(0) 推荐(0)
摘要: 目录数据库型application-dev.yml 修改前application-dev.yml 修改后其它组件解决方案方案1:使用条件注解 + 配置开关方案2:使用 Profile 区分方案3:编程式条件加载(更灵活)方案4:使用 @ConfigurationProperties 更优雅地管理配置 阅读全文
posted @ 2025-04-17 15:10 VipSoft 阅读(392) 评论(2) 推荐(2)
摘要: $api.post(apiUrl + '/locker/list', obj) .then(res => { //请求成功 this.setData({ lockerList: res.list }) if (this.data.lockerList) { this.data.lockerList. 阅读全文
posted @ 2025-04-14 14:03 VipSoft 阅读(76) 评论(0) 推荐(0)
摘要: web: resources: static-locations: file:${vipsoft.item-images-path} vipsoft: item-images-path: ./images 通过浏览器 http://localhost:8181/abc.jpeg 打不开。png、jp 阅读全文
posted @ 2025-04-02 17:55 VipSoft 阅读(76) 评论(0) 推荐(0)
摘要: JS中的 ...this.data.imageList 前面的 ... 三个点是什么意思 在 JavaScript/微信小程序中,... 是 展开语法(Spread Operator),它的作用是将一个数组(或可迭代对象)的元素“展开”到另一个数组中。在你提到的代码中: this.setData({ 阅读全文
posted @ 2025-04-02 17:21 VipSoft 阅读(39) 评论(0) 推荐(0)
摘要: CompletableFuture 使用: https://www.cnblogs.com/vipsoft/p/16539793.html CompletableFuture 打桌球的应用 : https://www.cnblogs.com/vipsoft/p/16579534.html 在 Jav 阅读全文
posted @ 2025-04-02 16:09 VipSoft 阅读(57) 评论(0) 推荐(0)
摘要: JS 中的 Promise 是什么意思,相当于 Java 中的 Future:https://www.cnblogs.com/vipsoft/p/18806151 // 上传图片 UploadFile(tempFilePath) { console.log(tempFilePath) wx.uplo 阅读全文
posted @ 2025-04-02 16:08 VipSoft 阅读(96) 评论(0) 推荐(0)
摘要: 使用Hutool工具实现密钥+内容的加密与解密 Hutool是一个Java工具库,提供了丰富的加密解密工具类。下面我将介绍如何使用Hutool实现基于密钥的对称加密和解密。 签名方法 Mac、MessageDigest、Signature https://www.cnblogs.com/vipsof 阅读全文
posted @ 2025-03-28 09:43 VipSoft 阅读(542) 评论(0) 推荐(0)
摘要: Java Hutool 实现非对称加密(RSA):https://www.cnblogs.com/vipsoft/p/18674812 这三种签名方式(AES、Mac、MessageDigest、Signature)在Java加密体系中有不同的用途和适用场景,以下是它们的区别和典型使用场景: 1. 阅读全文
posted @ 2025-03-27 13:06 VipSoft 阅读(103) 评论(0) 推荐(0)
摘要: pip install PyPDF2 -i https://pypi.tuna.tsinghua.edu.cn/simple 将多个PDF文档中的指定页,合并生成新的PDF 代码如下: from PyPDF2 import PdfReader, PdfWriter # pip install PyP 阅读全文
posted @ 2025-03-19 13:30 VipSoft 阅读(116) 评论(0) 推荐(0)
摘要: 目录安装下载安装Minio客户端备份数据数据还原数据迁移设置别名迁移 从A服务器,迁移致B服务器,前提,需要两边的 Bucket 相同,如果B服务器没有A服务器里的 Bucket 需要先创建 安装 MinIO Linux 安装使用 & SpringBoot整合MinIO 下载 查看系统架构 Linu 阅读全文
posted @ 2025-03-18 11:56 VipSoft 阅读(479) 评论(0) 推荐(0)
摘要: 下载:http://ftp.gnu.org/gnu/make/make-4.4.tar.gz [root@localhost tools]# tar -zxvf ./make-4.4.tar.gz [root@localhost tools]# cd make-4.4 [root@localhost 阅读全文
posted @ 2025-03-14 21:29 VipSoft 阅读(108) 评论(0) 推荐(0)
摘要: 下载 选择需要的版本:https://download.redis.io/releases/ 安装 # 解压 [root@localhost tools]# tar -zxvf redis-5.0.8.tar.gz # 移至 local 目录 [root@localhost tools]# mv r 阅读全文
posted @ 2025-03-14 20:34 VipSoft 阅读(43) 评论(0) 推荐(0)
摘要: 目录下载安装数据库修改mysql配置文件(若没有则新建)安装并初始化mysql查看mysql密码配置启动登录MySQL修改密码配置远程连接配置防火墙常见错误 Windows 安装 MySQL 8.0 下载 查看服务器 glibc 版本 [root@localhost ~]# getconf GNU_ 阅读全文
posted @ 2025-03-13 16:21 VipSoft 阅读(394) 评论(0) 推荐(0)
摘要: 编译打包都没问题,运行报错 10:36:39,587 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@5966cc - Registering current configuration as safe fallback point 阅读全文
posted @ 2025-03-04 11:31 VipSoft 阅读(96) 评论(0) 推荐(0)
摘要: C# 禁止拖拽标题栏、禁止最大化、最小化 protected override void WndProc(ref Message m) { if (m.Msg == 0x112) { switch ((int)m.WParam) { //禁止双击标题栏关闭窗体 case 0xF063: case 0 阅读全文
posted @ 2025-03-03 12:27 VipSoft 阅读(51) 评论(0) 推荐(1)
上一页 1 2 3 4 5 6 7 8 ··· 57 下一页