Tag:link

  • In the era of human-computer cooperation, AI helps 90.4% of dual 11 front-end modules to generate automatically

    Time:2021-1-20

    Background In 2017, a paper was publishedpix2code: Generating Code from a Graphical User Interface ScreenshotThis paper describes how to use deep learning technology to recognize and generate UI structure description from a UI screenshot, and then convert the UI structure description into HTML code. Some people think that it is meaningless to generate code directly […]

  • How to write multiplication sign, identity sign and curly bracket in latex

    Time:2021-1-20

    multiplication sign The use of multiply sign in latex\timesAs shown in the figure below: a\times b ###The use of identity in latex\equivAs shown in the figure below: a\equiv b Curly bracket In latex, curly brackets are used\left\{\right\}As shown in the figure below: \left\{b\right\} Mathematical symbols This work adoptsCC agreementReprint must indicate the author and the […]

  • The bean ‘xxx‘, defined in class path resource , ……

    Time:2021-1-20

    When spring boot configures bean, there may be such an error!!! The reason is that a bean with the same name already exists. *************************** APPLICATION FAILED TO START *************************** Description: The bean ‘interceprot’, defined in class path resource [com/example/demo1/doInterceptor.class], could not be registered. A bean with that name has already been defined in file [/Users/sun/Desktop/demo1/target/classes/com/example/demo1/Interceprot.class] […]

  • How to chain program from PHP, promise, Android and IOS code

    Time:2021-1-20

    Chained programming or chained writing is to link multiple methods (functions) together into a code by dot (.) or (- >) and other symbols, which can not only enhance the readability of the code, but also operate and change the properties and state of the object every time. No matter the back-end language or front-end […]

  • How to penetrate the intranet of openwrt in N1 box

    Time:2021-1-20

    Openwrt’s intranet penetration through N1 box with net cloud Soft router [](http://neiwangchuantou.cn/arc…Chapter link) N1 (already swiped into arbian) uses docker to create openwrt container as side route. My intranet IP information [](http://neiwangchuantou.cn/arc…Chapter link) Intranet IP varies from person to person. Here are my own settings Armbian:192.168.123.2 Openwrt:192.168.123.10 Ideas [](http://neiwangchuantou.cn/arc…Chapter link) The network cloud penetration is […]

  • Sourcetree failed to authenticate with SSH key

    Time:2021-1-20

    Link to the original text: https://dsx2016.com/?p=969 WeChat official account: Senior brother 2016 SSHAuthentication failed When pushing a branch, promptSSHKey authentication failed. Click Yes Click to try again Click Cancel Final effect picture Solutions Click Tools – Options choiceSSHclient:OpenSSHClick OK Tips If it has been createdgithub sshKey, if not, you can create a new one yourself

  • Go get can’t download

    Time:2021-1-19

    Set proxy (golang 1.13) 1、 Seven cattle cloud agent go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct 2、 Alibaba cloud agent go env -w GO111MODULE=on go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct 3、 One time setting linux: export GOPROXY=https://goproxy.io windows: env:GOPROXY = “https://goproxy.io” This work adoptsCC agreementReprint must indicate the author and the link of this article

  • Using exception handling in Vue for error prompt

    Time:2021-1-18

    Add code Vue.prototype.errorMsg = function(message, code) { alert(message); // Vue.$ vux.toast.show ({I use vux to customize the error information according to my own situation // text: message, // type: ‘warn’ // }) } Vue.config.errorHandler = (err, vm, info) => { if( err instanceof vm.errorMsg )// do not let the browser display custom exception information return […]

  • . net core3.1 ABP learning begins (1)

    Time:2021-1-18

    Vs version 2019, Navicat for linked database, MySQL for database   ABP’s official website: https://aspnetboilerplate.com/ To download a template, we need to select the target version and input the name of the project. I use the MVC version of ABP and the project name is abplearning to download one The current download is version 5.6 […]

  • How Vue export background data with Excel

    Time:2021-1-18

      let params = { //Request parameter to download excel ID     ’id’:this.excelId   };     //Imported interface name   api_excel_exportExcel().then(res => {     console.log(res);     var blob = new Blob([res], {type: ‘application/vnd.openxmlformats- officedocument.spreadsheetml.sheet;charset=utf-8’});     var downloadElement = document.createElement(‘a’);     var href = window.URL.createObjectURL(blob); //Create a link to download     downloadElement.href = href;     downloadElement.download = ‘result.xlsx’;//File name after download     document.body.appendChild(downloadElement);     downloadElement.click(); //Click download     document.body.removeChild(downloadElement);//Download complete […]

  • Talk about Mongo driver’s connection pool

    Time:2021-1-18

    preface For the server, before a single link reaches the maximum throughput, less links means less context switching and less memory consumption (TCP stack memory consumption, application layer buffer). Therefore, in addition to the conventional indexing, fragmentation, read-write separation, the design of connection pool also has a very important impact on the database performanceThe language […]

  • Summary of using Vue element admin

    Time:2021-1-17

    Recently developed project background based on Vue element admin development, in the process of gradual improvement encountered some problems, hereby summarize, hope to help you. First link, really easy to use, Amway, link as follows: A magical vue admin Basically, there are commonly used and not commonly used functions, so I won’t say more. If […]