• Click Add 2D 3D cabinet model based on HTML5 canvas


    Today, I return to digest our data container datamodel. Here is a typical example of data model event processing for beginners as a reference. This example looks very simple. In fact, it combines three very important event processing parts in the data model: property change event listening, selected change event listening and data model change […]

  • The best resolution of 24 inch monitor


    The best resolution of a 24 inch display is 1920×1080 (16:9 LCD, 16:10 24 inch is 1920×1200). It is recommended to use the best resolution (generally, the maximum resolution supported by LCD is OK. The premise is that the driver of graphics card must be installed correctly before setting. )。 If the building owner thinks […]

  • Capture bubble? Is browser a fish?


    As a front-end coder, in the development of any function that needs to interact with users or be triggered by users, it is always inseparable from event processing. Today, let’s talk about the DOM event delivery mechanism of browsers. DOM events When the JavaScript engine of the browser parses HTML and SVG, it will analyze […]

  • How to use libev


    1. About libev Libev is a high-performance cross platform event driven framework, which supports IO events, timeout events, subprocess state change notification, signal notification, file state change notification, and can also be used to implement the wait / notify mechanism. Libev uses one eV for each listening event_ Data structure representation of type, such as […]

  • JavaScript monitoring touch event code instance


    This article mainly introduces the JavaScript monitoring touch event code example, this article through the example code introduction is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to monitor <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”initial-scale=1, maximum-scale=1, user-scalable=no”> < title > wsscat sliding event […]

  • Analysis of spring boot monitor


    The article is first official account. Welcome to subscribe. Answers to questions in the previous issue Q1: talk about your rightSpringFactoriesLoaderUnderstanding,SpringFactoriesLoaderHow do I load factory classes? SpringFactoriesLoaderThe factory loading mechanism is a conventional loading method provided by spring, which only needs to be loaded in the module’sMETA-INF/spring.factoriesThe file is written in the form of a […]

  • Guava learning: an introduction to cache caching


    Absrtact: learn from guava, a toolkit used internally by Google, to easily add cache in Java project and improve the efficiency of program obtaining data. 1、 What is caching? According to the definition of popular science China,A cache is a buffer for data exchange (called a cache)If the data is not found in the cache, […]

  • Do you know these functions that chrome provides specifically for debugging?


    The console in Chrome’s devtools provides a number of debug specific functions, each with unique skills. Console Utility Functions These functions can only be used in the chrome console. When I saw these functions for the first time, I was very excited to write them directly into my own code. Of course, I jumped out […]

  • Angular’s ViewModel design


    Angular’s ViewModel has a special official term called$scopeIt is just an instance of a normal scope. In other words, it is a normal JS object. In order to achieve the magic effect of “changing data is changing view“, MVVM framework has to be equipped with more powerful plug-ins. <div ng-app=”myApp” ng-controller=”myCtrl”> First name: < input […]

  • Springboot Episode 5: integrating listeners / filters and interceptors


    Springboot Episode 5: integrating listeners / filters and interceptors In the actual development process, we often meet some business requirements, such as system startup initialization information, statistics of online number, number of online users, filtering sensitive / high vocabulary, access control (URL level) and other business requirements. To achieve the above functions, will be more […]

  • Developing Android application with kotlin (9) – bottom Navigation view


    Use BottomNavigationView and Fragment to make home page Create a home page using the bottom Navigation view bottom navigation bar and fragment fragments A simple example Create activity class HomeActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_home) val navView: BottomNavigationView = findViewById(R.id.nav_view) val navController = findNavController(R.id.nav_host_fragment) val appBarConfiguration = AppBarConfiguration( setOf( R.id.navigation_movie, […]

  • Whether the program is shut down based on Python


    This article mainly introduces whether the monitoring program based on Python is closed or not. Through the example code, it is very detailed. It has a certain reference learning value for everyone’s study or work. Friends in need can refer to it Monitoring a service system exe after it is closed to print, the original […]