Blog | 博客

Record the introductory usage of phpunit

Original link: https://nicksxs.me/2022/10/16/%E8%AE%B0%E5%BD%95%E4%B8%8B-phpunit-%E7%9A%84%E5%85%A5 %E9%97%A8%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/ This week, I plan to write a relatively simple php toolkit, and then learn to use php unit testing by the way. It is more convenient to pass phpunit. First, composer require phpunit/phpunit Install phpunit , This article is reprinted from: https://nicksxs.me/2022/10/16/%E8%AE%B0%E5%BD%95%E4%B8%8B-phpunit-%E7%9A%84%E5%85%A5 %E9%97%A8%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/ This site is for inclusion only, and the […]

Record the introductory usage of phpunit Read More »

[News] Financial Stability Board Releases International Regulatory Framework for Crypto Assets

Original link: https://www.hellobtc.com/news/202210/17979.html [News] Financial Stability Board Releases International Regulatory Framework for Crypto Assets This article is reproduced from: https://www.hellobtc.com/news/202210/17979.html This site is for inclusion only, and the copyright belongs to the original author.

[News] Financial Stability Board Releases International Regulatory Framework for Crypto Assets Read More »

At 18:49 on October 16th, “Ye Kai” released a new update

Original link: https://xn--qpru0x.cn/post/215 Just now, I finally completed the implementation of my “preliminary idea of ​​the comment function”. Although it still has too many problems, I am very satisfied with the current effect. Comment box comment list Now let’s spit out what problems I encountered this afternoon. Comment box style This theme defaults to no

At 18:49 on October 16th, “Ye Kai” released a new update Read More »

2022-41: Rust Drop sharing

Original link: https://xuanwo.io/reports/2022-41/ Rust uses RAII (Resource Acquisition Is Initialization) to manage resources: object initialization causes resource initialization, and object deallocation causes resource release. Take Mutex as an example: { let guard = m.lock(); // do something } // guard freed out of scope. { // we can acquire this lock again. let guard =

2022-41: Rust Drop sharing Read More »

car maintenance on saturday

Original link: https://www.cfanlost.com/archives/1250.html He has been with me in my car for six years. He has driven our family to many places, and he has also witnessed the days of our hard work step by step. With him, I became a car owner. At the beginning, I didn’t worry about the expenses of buying insurance,

car maintenance on saturday Read More »

web client storage

Modern web browsers offer many ways to store data on the web client of the user’s computer – with the user’s permission – and retrieve it when it needs to. This allows you to keep your data for a long time, save sites and documents for offline use, preserve your personal configuration for your site,

web client storage Read More »

IndexedDB API

indexedDB is a low-level API for client-side storage of large amounts of structured data, including files/blobs. This API uses indexes to enable high-performance searches on this data. While Web Storage is useful for storing small amounts of data, it is less useful for storing large amounts of structured data. IndexedDB provides a solution. This is

IndexedDB API Read More »

An article to understand JS asynchronous programming, detailed explanation of callback, Promise, Generator, async/await usage

JavaScript is a single-threaded programming language that requires an asynchronous approach to achieve high performance. However, asynchronous programming is often confusing when you are just starting to learn. What is synchronous/asynchronous For example: if now you need to do two things, boil water and eat. So how do you allocate your time? Method 1: Boil

An article to understand JS asynchronous programming, detailed explanation of callback, Promise, Generator, async/await usage Read More »