• External part – Visual Studio code and vue.js


    Fan waipian Seaconch is so tired that he can’t help writing this article I can’t help but recommend new editors. I can’t help but use them everywherevs codeThis editor To whom? I don’t know, when the same person is like meFrom vsThen maybe you will feel the same as me~ Start learning in Mayvue.jsUp to […]

  • ThinkPHP uses Ajax program to report 500 errors


    App_ After debug is enabled, you can see the error prompt in the preview in the developer tool network, and adjust it according to the error  

  • MSSQL · take a record according to the maximum value of multiple fields and grouping according to a field


    Reading time |1.14 minutes word count |1825.6 characters primary coverage |1. Introduction & background “MSSQL · take a record according to the maximum value of multiple fields and grouping according to a field” Author | SCscHero Writing time | 2021/7/12 PM12:0 Article type |Series Degree of completion |Completed motto Every great cause has a trivial […]

  • [go] solve the cross domain problem of request origin not allowed by upgrader.checkorigin websocket


    If websocket is used under the gin framework, this error will be reported if it is a cross domain request request origin not allowed by Upgrader.CheckOrigin   The websocket library used is  ” github.com/gorilla/websocket” The following codes need to be added: upgrader = websocket.Upgrader{ ReadBufferSize: 1024, WriteBufferSize: 1024, //Solve cross domain problems CheckOrigin: func(r *http.Request) […]

  • How to design API interface to realize uniform format return?


    Front and rear interface interaction As we all know, the front end usually obtains data through the interface provided by the background to complete the rendering of front-end pages. The front end can be PC, m, applet, app, etc. No more nonsense here. That’s not the point. Interface return value Convention Return value specification Set […]

  • Nginx 499 questions


    scene An interface exception is found in the project. When viewing the nginx log, it is 499 error, request_ Time is about 0.2S. Google later learned that the 499 error of nginx was caused by the user actively disconnecting, even if the interface was not very slow. How to simulate 499 curl -m 0.01 “” […]

  • JS asynchronous


    1、 Causes of asynchrony JS is single threaded and can only do one thing at a time. Therefore, all things are waiting to be executed like queuing. However, if one of the things takes a long time in the queue, the next event will be waiting all the time. For example, when we open a […]

  • Namespace


    Namespaces are somewhat similar to types. Many members can be declared in types: fields, attributes and methods, while classes and interfaces can be declared in namespaces Namespace is a logical combination used to logically group the functions of types Members can define name, age and sex members into person types according to their relevanceType can […]

  • The most complete guide to JavaScript error handling (top half)


    By Valentino GagliardiTranslator: front end XiaozhiSource: valentinog Like it and see it again, wechat search[move to the world]Pay attention to this person who has no big factory background, but has an upward positive attitude. this paperGitHubhttps://github.com/qq44924588… It has been included in the, the articles have been classified, and a lot of my documents and tutorial […]

  • Start up, memory, and Caton are the three major analyses, which is used for user experience?


    With a large number of applications pouring into the market and joining the “battle of APP roll in”, end users are increasingly picky about the requirements of application quality. The end-to-end R & D students only pay attention to the solution of crash bugs, which can no longer meet the demands of users on the […]

  • “Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask“


    Vs error: The “Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask” task couldnot be loaded from the assembly C:\Program Files (x86)\MicrosoftVisualStudio\2019\Enterprise\MSBuild\Current\Bin\amd64\XamlBuildTask.dll.Could not load file or assembly ‘file:///C:\Program Files(x86)\Microsoft VisualStudio\2019\Enterprise\MSBuild\Current\Bin\amd64\XamlBuildTask.dll’ orone of its dependencies. The system cannot find the file specified.Confirm that the <UsingTask> declaration is correct, that the assemblyand all its dependencies are available, and that the task contains apublic class that […]

  • PHP error reporting


    What kinds of error tips does PHP have 1. Notice: Note2. Warning: warning3. Error: error 1. Note that these are relatively small and not serious errors, such as accessing an undefined variable. Usually, such errors are not prompted to the user, but sometimes these errors will affect the running results. 2. Warnings: This is a […]