雨林笔记

Automatically execute scripts before and after executing npm run build

Original link: https://www.mqllin.cn/archives/198.html Automatically execute scripts before and after executing npm run build Record chatGPT’s Q&A: Question: In the angluar project, I wrote a compress.js script to automatically compress files after packaging. How to automatically execute the script every time I execute npm run build Answer: To automatically execute the compress.js script every time the […]

Automatically execute scripts before and after executing npm run build Read More »

Arcgis js api featureLayer Editor widget does not display new feature options

Original link: https://www.mqllin.cn/archives/199.html Arcgis js api featureLayer Editor widget does not display new feature options Arcgis js sdkFeatureLayer Editor widget don’t have add geometry option Encountered such a problem in the development, through the ILayerDefinition layer configuration built by myself, when using the Rest API to create a new layer from the server. The Editor

Arcgis js api featureLayer Editor widget does not display new feature options Read More »

Install win11 system stuck in “Let us connect to the network for you”

Original link: https://www.mqllin.cn/archives/195.html as the picture shows: Press shift+f10 to open the command line, and enter the command: “` OOBE\BYPASSNRO “` Just press Enter. At this time, the system will automatically restart and enter the welcome configuration interface again. This time there will be a “I do not have an Internet connection” button This article

Install win11 system stuck in “Let us connect to the network for you” Read More »

angluar opens the historical routing LocationStrategy mode

Original link: https://www.mqllin.cn/archives/193.html “` import { LocationStrategy, HashLocationStrategy } from ‘@angular/common’; // Add configuration providers: [ {provide: LocationStrategy, useClass: HashLocationStrategy}, ], “` After enabling the route with `#` This article is transferred from: https://www.mqllin.cn/archives/193.html This site is only for collection, and the copyright belongs to the original author.

angluar opens the historical routing LocationStrategy mode Read More »

Solve the problem that Excel date xlsx library sheetjs parsing becomes incorrect and 43 seconds less

Original link: https://www.mqllin.cn/archives/192.html There is a current need to import a batch of excel data into the system, but a very strange problem was found during the import process. The date data looks normal in the excel table, and it is still a date when copied. But when using the xlsx library to read excel,

Solve the problem that Excel date xlsx library sheetjs parsing becomes incorrect and 43 seconds less Read More »

PHP time function and SQL time calculation

Original link: https://www.mqllin.cn/archives/190.html “` strtotime(‘2020-01-30 12:00’)); //specified date and time stamp time(); //current timestamp curdate() //Indicates the date of the day “` Count the log sql statements of the previous day: “` select * from bean where date(log_time) = date_sub(curdate(), interval 1 day); “` Requirement: Statistics start from yesterday and count the logs of the

PHP time function and SQL time calculation Read More »