街角_祝福

导航

2024年4月24日 #

银行卡归属地查询JSON

摘要: [ { "bankName": "中国邮政储蓄银行", "bankCode": "PSBC", "patterns": [ { "reg": "^(621096|621098|622150|622151|622181|622188|622199|955100|621095|620062|621285 阅读全文

posted @ 2024-04-24 15:31 街角_祝福 阅读(5) 评论(0) 推荐(0) 编辑

2023年7月13日 #

静态库破解

摘要: ## 工具 1. notepad++ 2. HxD Hex Editor(16进制编辑器) 3. dumpbin (Visual Studio自带) 4. lib (Visual Studio自带) ## 步骤 1. 导出obj文件名列表:`lib /LIST sqlapiusd.lib > lib 阅读全文

posted @ 2023-07-13 20:22 街角_祝福 阅读(121) 评论(0) 推荐(0) 编辑

2023年6月26日 #

C++一读一写无锁队列

摘要: ```cpp // 一读一写的无锁管道队列 template class PipelineList { private: template struct qnode { struct qnode *next; T data; }; struct qnode* volatile m_front; st 阅读全文

posted @ 2023-06-26 17:16 街角_祝福 阅读(48) 评论(0) 推荐(0) 编辑

2023年6月16日 #

【gtest】Visual Studio 2019 单元测试学习Google Test

摘要: # 前言 记录在VS2019中使用自带的Google Test进行单元测试的方法和经验 # 项目介绍 总共2个项目,`Work`为项目工程,`TestWork`为`Work`工程的单元测试工程,`TestWork`依赖于`Work`工程,但是`Work`不依赖`TestWork`,`TestWork 阅读全文

posted @ 2023-06-16 15:37 街角_祝福 阅读(457) 评论(0) 推荐(0) 编辑

2023年6月1日 #

C++字符转码(GBK和UTF8)

摘要: ```cpp std::string GBKToUtf8(const char* pSrc, int nLen) { string strOut; if (pSrc && nLen > 0) { // ANSI -> UNICODE int wlen = MultiByteToWideChar(CP 阅读全文

posted @ 2023-06-01 18:59 街角_祝福 阅读(100) 评论(0) 推荐(0) 编辑

2023年5月31日 #

GMSSL国密库使用

摘要: ## 生成SM2密钥对及CER证书 ``` # 生成SM2密钥对,注意记住密钥文件密码 gmssl sm2 -genkey -out arbboter/test.pem # 查看密钥文件,要输入密钥文件密码 gmssl ec -in arbboter/test.pem -text # 根据SM2密钥 阅读全文

posted @ 2023-05-31 17:40 街角_祝福 阅读(18) 评论(0) 推荐(0) 编辑

2023年4月21日 #

GMHelper

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GMTest { public class GM 阅读全文

posted @ 2023-04-21 21:28 街角_祝福 阅读(38) 评论(0) 推荐(0) 编辑

2023年3月10日 #

C#程序配置使用示例

摘要: 通用帮助类 /// <summary> /// 配置帮助类 /// </summary> public class ConfigHelper { public static Configuration GetConfig() { return ConfigurationManager.OpenExe 阅读全文

posted @ 2023-03-10 14:49 街角_祝福 阅读(22) 评论(0) 推荐(0) 编辑

2023年2月24日 #

Python代码段

摘要: EXCEL导出操作 def lists_to_xls(rows, xls, header=None): columns = rows[0] range_columns = range(len(columns)) data = rows[1:] startrow = 0 if header: star 阅读全文

posted @ 2023-02-24 14:23 街角_祝福 阅读(13) 评论(0) 推荐(0) 编辑

2022年9月6日 #

Python国密SM2签名及加解密

摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- # @ProjectName: Demo # @Name: gm_test.py.py # @Auth: arbboter # @Date: 2022/9/6-14:06 # @Desc: # @Ver : 0 阅读全文

posted @ 2022-09-06 16:25 街角_祝福 阅读(5091) 评论(1) 推荐(1) 编辑