Blog | 博客

Hangzhou Gongshu District Notes

Original link: http://sht2019.cn/2022/07/13/373.hang-zhou-gong-shu-qu-bi-ji/ I came to Hangzhou to find a job on July 8, and my good friend zzn provided me with a place to live. Hangzhou feels like a very hot place to me. If you don’t have money, you can’t stay in this place. The food here is very expensive, and the quantity […]

Hangzhou Gongshu District Notes Read More »

After creating QKeySequenceEdit(), it shows garbled characters

Original link: https://ifmet.cn/posts/17760087/ Brief description: Created Qt QKeySequenceEdit shortcut key edit box, showing square garbled characters. [TOC] This article was originally published on ” Xie Zang’s Small Station “, and is reproduced here simultaneously. analyze ? win10 21H2 ? Qt 5.12.11 ? Visual Studio 2019 The reason for the garbled blocks of spoken words is

After creating QKeySequenceEdit(), it shows garbled characters Read More »

The meaning and difference of LPSTR/LPCSTR/LPTSTR/HWND/HANDLE/HMODULE/HINSTANCE etc.

Original link: https://ifmet.cn/posts/5020c5e7/ Brief description: Some common types of meanings, differences and explanation definitions in Windows programming PVOID and LPVOID LPSTR / LPCSTR / LPTSTR / LPCTSTR / LPWSTR / LPCWSTR HWND / HANDLE / HMODULE / HINSTANCE distinguishing mark L –> long; long and int have the same length under WIN32. So there is

The meaning and difference of LPSTR/LPCSTR/LPTSTR/HWND/HANDLE/HMODULE/HINSTANCE etc. Read More »

Lambda Expression Details

Original link: https://ifmet.cn/posts/9ece64cc/ Brief Description: Explain the basic usage, principles, and usage scenarios of Lambda expressions in detail. [TOC] This article was originally published on ” Xie Zang’s Small Station “, and is reproduced here simultaneously. Lambda expressions grammar [captures](params) mutable exception -> ret {body} • Capture table columns, capturing variables in the current scope,

Lambda Expression Details Read More »

Signal difference between clicked, pressed, released, toggled, and triggered of QAbstractButton

Original link: https://ifmet.cn/posts/c554435b/ Brief Description: Explain the difference between the following signals QAbstractButton: ①clicked ② pressed ③ released ④ toggled QToolButton: ① triggered QAction: ① changed ② hovered ③ toggled ④ triggered [TOC] This article was originally published on ” Xie Zang’s Small Station “, and is reproduced here simultaneously. outline Signal difference of QAbstractButton

Signal difference between clicked, pressed, released, toggled, and triggered of QAbstractButton Read More »

Good Tools Weekly (Issue 21): Internxt Send, iHateRegex, RegexLearn, BatNoter, TypeLit, …

Original link: https://discuss-cn.bestxtools.com/d/58/1 Good Tools Weekly (Issue 21): Internxt Send, iHateRegex, RegexLearn, BatNoter, perfect-freehand, Array Explorer & Object Explorer, TypeLit.io Discover and share fun, creative, free and easy-to-use tools, published every Thursday. Created by BestXTools . Previous content |Previous content | RSS subscription | Email subscription | WeChat subscription | Tool recommendation | Comments ?

Good Tools Weekly (Issue 21): Internxt Send, iHateRegex, RegexLearn, BatNoter, TypeLit, … Read More »

Event Source (17): Read the events stored in the hand-carved Event Store

July 7 18::09~19:21; 21:15~23:23; July 8 13:45~16:27 ▲Store Checkpoints in the Event Store foreword Although using EventStoreDB, a database specially designed for Event Sourcing and CQRS, can reduce a lot of development work, in practice developers may only use relational databases due to company requirements or project constraints. In this case, you must simulate the

Event Source (17): Read the events stored in the hand-carved Event Store Read More »

The Fourth Anniversary

Original link: https://teobler.com/posts/20220713-the-fourth-anniversary While writing this article, I received a congratulatory email for my 4th anniversary, and looking back, I have been lucky since I started… Click to read the original text This article is reprinted from: https://teobler.com/posts/20220713-the-fourth-anniversary This site is for inclusion only, and the copyright belongs to the original author.

The Fourth Anniversary Read More »

Advanced Python (17)—using modules from the standard library

Original link: https://chegva.com/5362.html ◎Knowledge points Overview of modules Use modules from the standard library How to import modules ◎Script practice ▽ Module overview “””I. Overview of the module””” “”” 1. What is a module? A module is a .py file of python. Variables, functions, and classes can be defined in a module. The variables, functions,

Advanced Python (17)—using modules from the standard library Read More »

[JS] fetch() usage replaces ajax

Article directory fetch basic use Response object 1. Synchronization properties 2. Judgment request 3. Operation header 4. Read the content 5. Create a copy 6, the bottom interface custom HTTP request cancel the fetch request fetch basic use The Fetch API provides an interface for obtaining resources (including cross-domain requests), which is used to replace

[JS] fetch() usage replaces ajax Read More »

js implements the copy function

js implements the copy function 1. Specific scene The front-end sometimes needs to implement the function of clicking a button to copy. At this time, the user cannot manually select the content and right-click to copy. 2. Implementation method 1. document.execCommand (1) concrete realization When copying, first select the text, then call document.execCommand(‘copy’), the selected

js implements the copy function Read More »