Tag:method

  • org.thymeleaf.exceptions . templateinputexception: error resolving template reported an error

    Time:2020-9-23

    The error that appears is what the title says: org.thymeleaf.exceptions . templateinputexception: error resolving template reports an error, which is the following code @GetMapping(“/”) public String index() { return “index”; } At the beginning of this error, I immediately Baidu, and then see the following several solutions 1. When the controller layer returns after processing […]

  • C ා face recognition database 0.2

    Time:2020-9-23

    ViewFaceCore 0.2  Super simple C ා face recognition database preface: First of all, thank you for your attention to this library. The previous blog post got everyone’ssupportAndStarVery happy. I wanted to realize the expected function of living body detection as soon as possible, but I was too busy some time ago, I’m sorry!!! ⭐、GitHub & […]

  • WinForm capture of C ා Console.WriteLine Content to log file

    Time:2020-9-23

    Problem description The previous project of my colleague is a WinForm program similar to the server background. The main interface is hidden and only the program icon is displayed in the taskbar.There is no logging function in the whole project Console.WriteLine Print information. When debugging, you can use VS to view the output content, but […]

  • After the springboot project is typed into jar, read the file under resource

    Time:2020-9-23

    The requirement is to provide an interface to download the file template and start to retrieve the file in the way of classloader. There is no problem with running locally, but it can’t be done by typing it into jar. What you get is a bunch of paths containing.The following methods can be used locally […]

  • . net multithreading (thread, ThreadPool, task, async and await)

    Time:2020-9-23

    What is. Net multithreading? Process and thread A process is an executing program. A thread is an execution flow in a program. Multithreading means that a program can run multiple different threads to perform different tasks at the same time. Threads in. Net Thread is a class that creates and controls threads. Managedthreadid is the […]

  • Probe into the usage of PHP yield coprocessor generator (1)

    Time:2020-9-22

    Series articles: Probe into the usage of PHP yield coprocessor generator (1) Write it at the front In this article, I want to discuss the usage of PHP yield in the generatorforeach,for, whileThe circular one. On the discussionyieldThe use of turning a function into a generator. aboutyieldFeature, is in developmentPHP5It was put on the agenda,PHP5.5The […]

  • Must master! Do you know the nine design patterns used in spring?

    Time:2020-9-22

    I collated advanced Java materials free of charge, covering Java, redis, mongodb, mysql, zookeeper, spring cloud, Dubbo high concurrency distributed course, a total of 30g, you need to get it yourself.Portal:https://mp.weixin.qq.com/s/osB-BOl6W-ZLTSttTkqMPQ The summary of design patterns in spring is often asked about design patterns in spring during the interview. In this paper, we introduce nine […]

  • MySQL easy start series — the second station uses visual studio to debug MySQL at source level

    Time:2020-9-22

    1: Background 1. Tell a story The last article talked about the architecture of MySQL. Many students said that it was not enjoyable. After all, they still listen to me to tell stories. Then this article talks about how to use visual studio to debug MySQL at source level. After all, in front of the […]

  • Basic use of Axios

    Time:2020-9-22

    Axios basic usage Axios is a promise based HTTP library that can be used in browsers and node.js Medium. It is recommended to use Axios to implement Ajax in Vue. A simple get example new Vue({ el: ‘#app’, data () { return { info: null } }, mounted () { axios .get(‘https://www.runoob.com/try/ajax/json_demo.json’) .then(response => (this.info […]

  • Building a complete movie stack system from scratch

    Time:2020-9-22

    In the configuration file main.php The user authentication class is set in, and the configuration of cookies and session is commented out. Because the API client is different from the web site, cookies and session cannot be used to maintain the login status. ‘user’ => [ ‘identityClass’ => ‘common\models\User’, ‘enableAutoLogin’ => true, ‘enableSession’ => false, […]

  • More elegant use of dependency injection in xUnit

    Time:2020-9-21

    Xunit.DependencyInjection 7.0 was released Intro Last time we introduced the masterXunit.DependencyInjectionhttps://www.cnblogs.com/weihanli/p/xuint-dependency-injection.html Recently, the master has completed the refactoring of 7.0 and has been officially released, which can be directly installed and used 7.0 brings us a better programming experience. In version 6. X, ourStartupNeed to inherit fromDependencyInjectionTestFrameworkIn addition, an assembly attribute needs to be set, […]

  • A thorough understanding of callback from the perspective of IL_ Commission_ Pointer

    Time:2020-9-21

    A thorough understanding of callback from the perspective of IL_ Commission_ Pointer catalog A thorough understanding of callback from the perspective of IL_ Commission_ Pointer 1. The background of writing this article 1.1. Delegation can help code encapsulation better 1.2. Delegation makes it easier to run methods in other classes anytime, anywhere 1.3. Delegation is […]