Tag:batch
-
Time:2021-1-20
Brief introduction of resp protocol In the upper layer of TCP protocol, an independent protocol named resp (redis serialization protocol) is used as the standard way of communication between the client and server of redis. Redis protocol makes a compromise between the following points: Simple implementation Quickly parsed by computer It’s so simple that it […]
-
Time:2021-1-15
Setstate is a very important method in the development of react. In the official document of react, three things about the correct use of setstate are introduced Don’t modify the state directly State updates can be asynchronous Updates to the state are merged Updates to the state are merged According to the official document, react […]
-
Time:2021-1-3
Native JS realizes frame selection of table content and batch change (Vue) preface In the daily development, there is such a demand that you need to select the box in the table and change the content of the box in batch. Source code at the end of the article demo The following links are for […]
-
Time:2020-12-28
Write on the front In 2020, the epidemic swept the world, and even had a serious impact on the whole market economy. At the beginning of the year, the epidemic was rampant, the unilateral technology and economic blockade in the western world, and the tight international relations caused many small and medium-sized enterprises’ business chains […]
-
Time:2020-12-24
<?php declare(strict_types=1); namespace Service\ALiSms; use Hyperf\Di\Annotation\Inject; use Hyperf\Guzzle\ClientFactory; class ALiSmsService { /** * @var \Hyperf\Guzzle\ClientFactory */ private $clientFactory; private $url = ‘http://dysmsapi.aliyuncs.com/?’; public function __construct(ClientFactory $clientFactory) { $this->clientFactory = $clientFactory; } private function percentEncode($string) { $string = urlencode ( $string ); $string = preg_replace ( ‘/\+/’, ‘%20’, $string ); $string = preg_replace ( ‘/\*/’, ‘%2A’, […]
-
Time:2020-12-22
This section demonstrates the introduction of the Autofac container into the. Net core API project Project prerequisites: . net core API project Service layer — service layer Warehouse layer — repository layer 。。 Step 1: install nuget related packages. Install the following two Autofac packages. The current version of Autofac 6.0 Step 2: Registration Program.cs […]
-
Time:2020-12-22
background The epidemic swept across the world, which had a serious impact on the entire market economy. At the beginning of the year, the epidemic was rampant, the western world unilaterally blocked science and technology and economy, and international relations were strained As a result, the business chain of many small and medium-sized enterprises was […]
-
Time:2020-12-17
preface In the traditional web development, when interacting with users or servers, we need to manually obtain data and update dom. This process is cumbersome and error prone.Especially when the page function is too complex, we should not only pay attention to the change of data, but also maintain the DOM update. The code written […]
-
Time:2020-12-10
Native JS implementation of frame selection table content and batch change (Vue) preface In daily development, there is such a requirement that box selection should be carried out in the table, and the contents selected in the box should be changed in batch. The source code is at the end of the article demo The […]
-
Time:2020-11-30
catalog Batch Ping Output to the specified file Batch Ping For / L% I in (start, scan interval, end) do Ping – W 2 – N 1 10.224.131.% Ias for /L %i IN (55,1,80) DO ping -w 2 -n 1 10.224.131.%i Output to the specified file arp -a > 111.txt
-
Time:2020-11-22
Want to set up FTP server, in fact, is very simple, just need to download a FTP server, I did not know how to do before, but later found a very easy to use FTP server, especially suitable for novice use, the following to give you an introduction. This FTP client isIIS7 server management toolIts […]
-
Time:2020-11-21
Problem: when using mybaits to batch insert data into Oracle database, Error: ora-00933: SQL command not properly ended / ora-00933: SQL command not properly ended reason: The batch insert method of Oracle is different from that of MySQL, Insert into tablename() values(), (), (); — this is the mass insert form of MySQL Insert […]