08 2021 档案

修改地址栏的chrome://替换为其他内容
摘要:location bar 从这里下手.... 改错了 输入chrome://version 变成了哈哈哈 而我要的是在显示的时候 变的 但是这里是输入的时候变的...........所以..............不对 一堆瞎找 最后定位到了这个 欧克 定位到了这里...这是修改的最后一步 最后猜测 阅读全文

posted @ 2021-08-26 11:41 冰糖葫芦很乖 阅读(314) 评论(0) 推荐(0)

C++静态成员变量map如何初始化赋值
摘要:class a { public: typedef std::map<int, int> urlMap; static urlMap mp; static urlMap CreateMap() { urlMap tmp_map = { {1, 1},{2, 2},{3, 3} }; return t 阅读全文

posted @ 2021-08-26 10:20 冰糖葫芦很乖 阅读(4691) 评论(0) 推荐(0)

http代理 超时设置.... C++ socket
摘要:#include <cstdio> #include <string> #include <iostream> #include <algorithm> #include <Winsock2.h> #include <Ws2tcpip.h> #pragma comment(lib, "Ws2_32. 阅读全文

posted @ 2021-08-20 11:59 冰糖葫芦很乖 阅读(193) 评论(0) 推荐(0)

VC socket Connect 超时时间设置
摘要:转载来自:https://www.cnblogs.com/lidabo/p/3804249.html 设置connect超时很简单,CSDN上也有人提到过使用select,但却没有一个令人满意与完整的答案。偶所讲的也正是select函数,此函数集成在winsock1.1中,简单点讲,"作用使那些想避 阅读全文

posted @ 2021-08-20 11:46 冰糖葫芦很乖 阅读(699) 评论(0) 推荐(0)

RSA生成私钥....
摘要:Windows 下使用OpenSSL生成RSA公钥和私钥 genrsa -out rsa_private_key.pem 1024 rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem //最终的公钥文件 pkcs8 -topk8 - 阅读全文

posted @ 2021-08-20 09:14 冰糖葫芦很乖 阅读(162) 评论(0) 推荐(0)

黑马程序员Javaweb-自定义注解
摘要:https://juejin.cn/post/6978553765154521096 注解(元数据):与类,接口,枚举是在同一个层次,可声明在包,类,字段,方 法,局部变量,方法参数等的前面,用来对这些元素进行说明,注释。【1.5之后 新特性】 使用注解:@注解名称 作用分类: 编写文档:通过代码里 阅读全文

posted @ 2021-08-19 22:06 冰糖葫芦很乖 阅读(132) 评论(0) 推荐(0)

C++字符串以及转换整理
摘要:C++的字符串 VS2019 最近在修改Chromium的项目中 遇到了char string wchar_t wstring tchar CString 我们挨个挨个来: TCHAR 因为C++支持两种字符串,即常规的ANSI编码(使用""包裹)和Unicode编码(使用L""包裹),这样对应的就 阅读全文

posted @ 2021-08-19 15:14 冰糖葫芦很乖 阅读(1206) 评论(0) 推荐(0)

Chromium 调试其他的进程
摘要:转载来自:https://www.bbsmax.com/A/mo5kbZ9EJw/ 还有这个:https://blog.csdn.net/leer168/article/details/8438149# 接二连三的事情,时间比较紧张,但是还是没有把这个系列的文章丢掉,因为这也是对自己知识的总结吧。提 阅读全文

posted @ 2021-08-17 13:58 冰糖葫芦很乖 阅读(456) 评论(0) 推荐(0)

Cstring和wstring互转
摘要:转载来自:https://www.cnblogs.com/wswqwps/archive/2008/10/25/1319324.html CString转std::wstring std::wstring str = filename.GetString(); std::wstring转CStrin 阅读全文

posted @ 2021-08-16 09:11 冰糖葫芦很乖 阅读(375) 评论(0) 推荐(0)

注册表写入
摘要:#include <iostream> #include <algorithm> #include <cmath> #include <vector> #include <string> #include <cstring> #include <atlbase.h> #include <Window 阅读全文

posted @ 2021-08-14 17:38 冰糖葫芦很乖 阅读(97) 评论(0) 推荐(0)

inno setup需要管理员权限
摘要:这个老哥说的很好 去看这个老哥的 https://blog.csdn.net/longji/article/details/53523808 阅读全文

posted @ 2021-08-14 10:12 冰糖葫芦很乖 阅读(105) 评论(0) 推荐(0)

C++ 新增的算法
摘要:最近用到了一个std::all_of 搜了一下 新增了若干:https://en.cppreference.com/w/cpp/algorithm/all_any_none_of 可以看这里 https://en.cppreference.com/w/cpp/algorithm 阅读全文

posted @ 2021-08-13 09:34 冰糖葫芦很乖 阅读(74) 评论(0) 推荐(0)

JavaScript全局变量与局部变量
摘要:转载来自:https://cloud.tencent.com/developer/article/1694105 全局变量 函数外+var定义 没有使用var 直接使用 用window定义 局部变量: 使用var再函数内 重名的话 1.在过程体内(包括方法function(){},对象Object 阅读全文

posted @ 2021-08-11 11:12 冰糖葫芦很乖 阅读(175) 评论(0) 推荐(0)

JSON
摘要:JSON: JavaScript Object Notation(JavaScript 对象标记法)。 //存储数据: myObj = { name:"Bill Gates", age:62, city:"Seattle" }; myJSON = JSON.stringify(myObj); loc 阅读全文

posted @ 2021-08-09 18:00 冰糖葫芦很乖 阅读(91) 评论(0) 推荐(0)

Chromium 修改chrome.exe
摘要:具体可以参考这个: https://stackoverflow.com/questions/50307180/chromium-mini-installer-ignores-branding/50308199#50308199 以及对比:https://blog.csdn.net/longji/ar 阅读全文

posted @ 2021-08-05 15:14 冰糖葫芦很乖 阅读(666) 评论(0) 推荐(0)

Chromium 修改任务管理器显示的Chromium
摘要:我是90版本的 可以参考这个 https://stackoverflow.com/questions/64166411/how-to-change-chromium-browser-logo-and-name 在这里把 Chromium 修改对应的产品名 src/chrome/app/theme/c 阅读全文

posted @ 2021-08-05 15:02 冰糖葫芦很乖 阅读(373) 评论(0) 推荐(0)

winhttp get请求https
摘要:#include <vector> #include <winsock2.h> #include <Winhttp.h> #include <windows.h> #include <iostream> #include <fstream> #include <string> using names 阅读全文

posted @ 2021-08-04 16:37 冰糖葫芦很乖 阅读(735) 评论(0) 推荐(0)

string wstring 互转
摘要:#include <Windows.h> //将string转换成wstring wstring string2wstring(string str) { wstring result; //获取缓冲区大小,并申请空间,缓冲区大小按字符计算 int len = MultiByteToWideChar 阅读全文

posted @ 2021-08-04 09:52 冰糖葫芦很乖 阅读(266) 评论(0) 推荐(0)