上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: #include "TcpServer.h" #include "CLogFile.h" CLogFile logfile; TcpServer tcpServer; void FatherEXIT(int sig) { if(sig>0) { signal(sig,SIG_IGN); signal 阅读全文
posted @ 2024-07-04 01:56 仰望星河Leon 阅读(44) 评论(0) 推荐(0)
摘要: import pprint import requests import json import re import os # 最大删除条数 MAX_COUNT = 200 # 保存cookie的路径 COOKIE_FILE_PATH = r"./cookie.txt" class BWebSite 阅读全文
posted @ 2024-05-12 14:33 仰望星河Leon 阅读(111) 评论(0) 推荐(0)
摘要: #include <iostream> #include <mutex> #include <queue> #include <vector> #include <functional> #include <condition_variable> #include <atomic> #include 阅读全文
posted @ 2024-05-08 03:34 仰望星河Leon 阅读(96) 评论(0) 推荐(0)
摘要: git //配置 git config user.name xx git config user.email xxxx //创建仓库 git init git remote add origin url //日常 git stash save "msg" git stash pop git stas 阅读全文
posted @ 2024-02-03 11:38 仰望星河Leon 阅读(25) 评论(0) 推荐(0)
摘要: ## ?. 可为null的类型访问成员时,若为null则返回null,非null时访问并返回成员。 ## ?? a??b 若a为null,则返回b。若a非null,则返回a。 ## int? 值类型可null ## a>b?val1:val2 阅读全文
posted @ 2023-07-06 12:29 仰望星河Leon 阅读(74) 评论(0) 推荐(0)
摘要: # 1.基础 反射性能不高。 反射:运行时获取加载到内存中的程序集的元信息。 反射的作用:访问object实例的成员(fields,properties,methods) ## (1)对装箱操作的object实例获取成员 >Type GetType()——获取类型 GetFields()——获取所有 阅读全文
posted @ 2023-07-04 18:28 仰望星河Leon 阅读(63) 评论(0) 推荐(0)
摘要: 自己如何正确获取MYSQL的ADO连接字符串 - 帅胡 - 博客园 (cnblogs.com) 阅读全文
posted @ 2023-06-14 17:23 仰望星河Leon 阅读(12) 评论(0) 推荐(0)
摘要: 在控制台VNC登录:https://blog.csdn.net/SSS_Benjamin/article/details/104815629 阅读全文
posted @ 2023-06-13 22:12 仰望星河Leon 阅读(28) 评论(0) 推荐(0)
摘要: 1.工厂方法模式 1. UML 比简单工厂更符合开闭原则,简单工厂依赖具体类,当增加具体类时就需要修改SimpleFactory类。 MethodFactoryPattern将工厂类也进行抽象,具体工厂类继承抽象工厂类,每个具体工厂类只负责创建一种具体类的实例。当具体类种类增加时,只需要增加具体工厂 阅读全文
posted @ 2023-06-08 14:37 仰望星河Leon 阅读(17) 评论(0) 推荐(0)
摘要: https://learn.microsoft.com/zh-cn/dotnet/csharp/language-reference/builtin-types/value-tuples ![image](https://img2023.cnblogs.com/blog/2415825/202306 阅读全文
posted @ 2023-06-08 11:15 仰望星河Leon 阅读(168) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页