上一页 1 2 3 4 5 6 7 ··· 29 下一页
摘要: 概述 分布式系统中,有一些需要使用全局唯一ID的场景,这种时候为了防止ID冲突可以使用36位的UUID, 但是UUID有一些缺点,首先他相对比较长,另外UUID一般是无序的。 有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。 而twitter的snowflake解决了这种 阅读全文
posted @ 2023-04-28 18:00 天天代码码天天 阅读(38) 评论(0) 推荐(0) 编辑
摘要: Cipher using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Math; us 阅读全文
posted @ 2023-04-27 15:14 天天代码码天天 阅读(190) 评论(0) 推荐(0) 编辑
摘要: AForge官网地址:http://www.aforgenet.com/framework/ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using S 阅读全文
posted @ 2023-04-27 13:37 天天代码码天天 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 记录一下 Dictionary<string, string> dictionary = new Dictionary<string,string>(); foreach (string dic in dictionary.Keys) { //Key: dic //Value: dictionary 阅读全文
posted @ 2023-04-23 20:31 天天代码码天天 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 代码如下 import javax.crypto.Cipher; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; import javax.crypto.spec.IvParameterSpec; 阅读全文
posted @ 2023-04-23 17:20 天天代码码天天 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 如果实在没有方法了可以试一试 删除所有的配置文件,默认位置C:\Users\${你的用户名}\${.IntelliJIdea+版本} 注意:删除配置后之前所有的设置都会失效,谨慎操作。 阅读全文
posted @ 2023-04-23 13:29 天天代码码天天 阅读(111) 评论(0) 推荐(0) 编辑
摘要: flume官网地址http://flume.apache.org/ #下载 wget https://mirrors.bfsu.edu.cn/apache/flume/1.9.0/apache-flume-1.9.0-bin.tar.gz #解压 tar -zxvf apache-flume-1.9 阅读全文
posted @ 2023-04-21 14:27 天天代码码天天 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 转自https://blog.csdn.net/mn960mn/article/details/51253038 解决方法如下: 添加maven-compiler-plugin插件,并且配置compilerArguments 如: <plugin> <groupId>org.apache.maven 阅读全文
posted @ 2023-04-20 13:15 天天代码码天天 阅读(239) 评论(0) 推荐(0) 编辑
摘要: GitHub - PlexPt/awesome-chatgpt-prompts-zh: ChatGPT 中文调教指南。各种场景使用指南。学习怎么让它听你的话。 阅读全文
posted @ 2023-04-19 19:37 天天代码码天天 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 背景 实在是不想折腾ActiveX控件 1、麻烦(开发麻烦、使用时设置也麻烦) 2、非IE浏览器不兼容 解决方案 写一个摄像头服务,提供http服务,返回摄像头当前画面的Base64字符串,前端页面调用并展示。 效果 前端代码 <!DOCTYPE html> <html> <head> <meta 阅读全文
posted @ 2023-04-19 18:26 天天代码码天天 阅读(48) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 29 下一页