Category:Back-End

  • Swoole Knowledge Every Programmer Should Know – Timer

    Time:2022-10-21

    This section will address the following three questions: The timer of PHP itself introduces the use of timer in SwooleSwoole TimerThe underlying principle of 1. Introduction to the timer of PHP itself Let’s talk about how native PHP implements timers. PHP’s timers are implemented through pcntl_alarm: pcntl_alarm ( int $seconds ) : int The role […]

  • When the browser sends the same request to multiple tabs

    Time:2022-10-21

    The reason for this is this, the new developer wrote a blocking request in the controller, and directly used while(true), the jump condition inside is never satisfied when an exception is thrown. (Of course, we found it when submitting the code) So we looked at how he would affect the program. First of all, our […]

  • Getting Started with Spring Boot Integrated Redis Basics

    Time:2022-10-21

    redis Support persistent data, not only support key-value type data, but also store data structures such as list, set, zset, and hash. Data backup in master-slave mode For more redis related documents, please seeredis official documentation redis and spring boot Redis is a commonly used cache suite in the development of spring boot projects. The […]

  • Open source recommendation | Laravel-based self-media blog CMS system

    Time:2022-10-21

    Project Introduction MyCms is an open source and free self-media blog CMS system developed based on Laravel, which is suitable for the development and use of personal websites and corporate websites. MyCms is released based on the Apache2.0 open source license, which is free and does not restrict commercial use. System functions Basic background functions […]

  • yii-jpush – Jiguang push extension package for Yii

    Time:2022-10-21

    yii-jpush– Jiguang Push Expansion Pack for Yii Environmental requirements yii >= 2 Install $ composer require guanguans/yii-jpush -v configure Yii2 configuration fileconfig/main.phpin the components add: ‘components’ => [ // … ‘jpush’ => [ ‘class’ => ‘Guanguans\YiiJpush\Jpush’, ‘appKey’ => ‘xxxxxxxxxxx’, ‘masterSecret’ => ‘xxxxxxxxxxx’, ‘logFile’ => ‘./jpush.log’, // optional ‘retryTimes’ => 3, // optional ‘zone’ => ‘default’, […]

  • Explain in detail how to use the .Net6 Minimal API

    Time:2022-10-21

    With the release of .Net6, Microsoft has also improved the way ASP.NET Core was built before, using the new Minimal API mode. In the past, the default method was to register IOC and middleware in Startup, but in Minimal API mode, you only need to write a few lines of code to build an ASP.NET […]

  • 3. Caller service call – dapr

    Time:2022-10-21

    foreword In the last article, we talked about using HttpClient to call, so if we now need to replace the service call through dapr, what do we need to do? Getting Started with Caller.Dapr If our project originally used Caller.HttpClient and now want to use Caller.Dapr instead, what do we need to do? Modify the […]

  • [Hundreds of APP Reverse Cases] First experience of Frida, root detection and encrypted string location

    Time:2022-10-21

    statement All content in this article is only for learning and communication, not for any other purpose, and does not provide complete code. The content of captured packets, sensitive URLs, data interfaces, etc. have been desensitized. Commercial and illegal uses are strictly prohibited. All consequences of this have nothing to do with the author! The […]

  • Criticism of the Go2 error handling proposal

    Time:2022-10-21

    Hello everyone, I am fried fish. Shared a year and a half agoSneak Peek, Go2 Error’s Struggle”, which covers Go1 error handling issues, Go1.13 enhancements, and a detailed explanation of Go2’s new error handling proposals. How many of you remember the “bright” future of Go2’s new bug proposal? Go2’s new proposal also received a lot […]

  • Python object-oriented features – multiple inheritance (concepts, construction methods, code walkthroughs, usage considerations)

    Time:2022-10-20

    The three major features of object orientation in Python are: encapsulation, inheritance, and polymorphism. Inheritance, a subclass can have all the properties and methods of the parent class. As mentioned earlier, single inheritance, each subclass has only one parent class, this situation is called single inheritance. Let’s talk about another case of inheritance, multiple inheritance. […]

  • C#/VB.NET converts web page document HTML to PDF document

    Time:2022-10-20

    HTML (Hypertext Markup Language) is a markup language commonly used to display web pages, and HTML files are the file format corresponding to this markup language, and most web page files use this format. However, HTML files may have different typeset display effects on different devices and platforms. If we want to keep the pages […]

  • How to implement the token bucket algorithm using Redis

    Time:2022-10-20

    There is a token bucket algorithm in the current limiting algorithm, which can deal with short burst traffic, which is especially useful for the situation where the traffic is not uniform in the real environment, and the current limiting is not triggered frequently, which is friendly to the caller. For example, the current limit is […]