onlyou13

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 ··· 11 下一页

2023年5月24日

摘要: 文章转自 https://www.cnblogs.com/WindSun/p/10223080.html 软间的可维护性和可复用性 知名软件大师Robert C.Martin认为一个可维护性(Maintainability) 较低的软件设计,通常由于如下4个原因造成: •过于僵硬(Rigidity) 阅读全文
posted @ 2023-05-24 11:40 onlyou13 阅读(24) 评论(0) 推荐(0)

2023年4月17日

摘要: def _read_urls(self): filename = 'd:\\youtube.txt' with open(filename, 'r', encoding='utf-8') as f: urls = f.readlines() count = 0 age_limit_count = 0 阅读全文
posted @ 2023-04-17 17:50 onlyou13 阅读(74) 评论(0) 推荐(0)

2023年3月25日

摘要: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V 阅读全文
posted @ 2023-03-25 17:19 onlyou13 阅读(93) 评论(0) 推荐(0)

2023年2月27日

摘要: A: f1_urls = ['a', 'b'] f2_urls = ['a', 'c'] python3 中获取存在于f1_urls 而不在f2_urls的项目 Q: f1_urls = ['a', 'b'] f2_urls = ['a', 'c'] # 将列表转换为集合 f1_set = set( 阅读全文
posted @ 2023-02-27 18:03 onlyou13 阅读(36) 评论(0) 推荐(0)

2023年2月16日

摘要: 问1: 如何用delphi调用ChatGPT接口 答1: uses IdHTTP, System.JSON; function GetChatGPTResponse(const Query: string): string; var IdHTTP: TIdHTTP; begin IdHTTP := 阅读全文
posted @ 2023-02-16 21:42 onlyou13 阅读(1738) 评论(0) 推荐(0)

摘要: library GlobalHooks; uses Windows; {$R *.res} const WH_KEYBOARD_LL = 13; WH_MOUSE_LL = 14; type TKeyboardHook = record Hook: HHOOK; Callback: function 阅读全文
posted @ 2023-02-16 21:25 onlyou13 阅读(288) 评论(0) 推荐(0)

摘要: 问1: curl "https://api.m.afreecatv.com/station/video/a/view" ^ -H "authority: api.m.afreecatv.com" ^ -H "accept: application/json, text/plain, */*" ^ - 阅读全文
posted @ 2023-02-16 20:56 onlyou13 阅读(340) 评论(0) 推荐(0)

2023年2月10日

摘要: //版本一:吃完一个就结束了。unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Control 阅读全文
posted @ 2023-02-10 15:49 onlyou13 阅读(306) 评论(0) 推荐(0)

摘要: uses System.Rtti, System.JSON; type TPerson = class public Name: string; Age: Integer; end; function ObjectToJSON(AObject: TObject): string; var Conte 阅读全文
posted @ 2023-02-10 15:26 onlyou13 阅读(131) 评论(0) 推荐(0)

摘要: uses Classes, SyncObjs; type TItem = class Data: Integer; end; TProducer = class(TThread) private FQueue: TThreadedQueue<TItem>; protected procedure E 阅读全文
posted @ 2023-02-10 15:24 onlyou13 阅读(685) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 11 下一页