Tag:Handle

  • The integration of Party building and leading the new direction of Party Building

    Time:2020-6-18

    “Party building” is a rigid word in the influence of most people. When it comes to the study of Party members, it comes to mind that a small classroom full of Wuyang party members are attentively taking notes. When it comes to Party building services, we think of the red vest in the community. When […]

  • Three methods of spring MVC unified exception handling

    Time:2020-6-15

    This article mainly introduces three methods of spring MVC unified exception handling. The example code is introduced in detail in this article, which has certain reference learning value for your study or work. You can refer to the following for your friends In the development of spring MVC application, no matter for the underlying database […]

  • Analysis of MySQL date processing function instance

    Time:2020-6-15

    This article mainly introduces the example analysis of MySQL date processing function. The example code is introduced in detail in this article, which has certain reference value for your study or work. You can refer to the following for your friends First, create a table for experiment drop table if exists t_student; create table t_student( […]

  • Interviewer: what is the process of JVM class loading?

    Time:2020-6-12

    Class loading process Class files need to be loaded into the virtual machine before they can be run and used. How does the virtual machine load these class files? There are three steps for the system to load class files:Load – > connect – > initialize。 The connection process can be divided into three steps:Validation […]

  • Nginx optimization (I) CPU correlation

    Time:2020-6-12

    Nginx optimization Increase the effective time of using CPU by nginx Enable it to use all CPU resources Do not scramble for CPU resources between nginx processes (busy worker processes should not yield, resource scheduling should not yield resources) Do not compete with other processes for resources (non nginx processes that increase priority to take […]

  • Read the event module of zepto source code

    Time:2020-6-2

    Event module is one of the necessary modules for zepto. Because of the lack of familiarity with event API and the complexity of event object, at first glance, the source code of event module is a bit muddled. If you look at it carefully, it is not too complex. Reading the zepto source series has […]

  • PHP directory operation (enclosed directory operation function file)

    Time:2020-5-11

    Common API of directory function library $path=’test’; (($path)); // check whether it is a directory echo ”; Echo(); // get the current working directory echo ”; //Get the total disk size echo (‘/’); echo ”; //Get disk free space echo (‘/’); Create and delete directoryMulti level directory //Create directory //MKDIR ($path, $mode, $flag): create directory […]

  • Chapter IV excel programming of VSTO Development Guide (vb2013)

    Time:2020-5-8

    Example 1: console program book for handling newworkbook and worksheet events page 70 Program listing 4.1 console program handling newworkbook and worksheet events Imports Excel = Microsoft.Office.Interop.Excel Imports System.Windows.Forms Module Module1 Private WithEvents app As Excel.Application Private WithEvents workbook As Excel.Workbook Private exitXL As Boolean = False Sub Main() app = New Excel.Application() app.Visible = […]

  • Reference the API in kernel32.dll for serial communication

    Time:2020-5-6

    Serial port communication can export the API in kernel32.dll to operate. The relevant source code is as follows:using System;using System.Runtime.InteropServices; namespace Telehome.GSM{/// /// ************************************************************************************/// ///Function: connect and disconnect the serial port; send and receive the serial port data, and use the related serial port operations in kernel32.dll///Function to operate COM port/// /// Author: Telehome.Hzyong /// /// DateTime: 2005-11-20/// /// ************************************************************************************/// […]

  • C ා call windows API (example: display the program name in task manager)

    Time:2020-4-26

    As a beginner, using API in C is a headache. Before using API, you must know how to use structure, type conversion, safe / unsafe code, controllable / uncontrollable code and many other knowledge in C. In the. Net framework SDK documentation, the instructions for calling the windows API are scattered, and a little more […]

  • Python learning — Reading and writing files

    Time:2020-4-12

    F = open (“yesterday”, “R”, encoding = “UTF-8”) (file handle data=f.read() data2=f.read() print (data) print (“———–data2—————“) #When reading a file, the pointer will move inside the file. After reading all the text once, the pointer will point to the end of the file. All the following content is not available. print (data2) 2. Here is […]

  • Analysis of the difference between two mechanisms of Java exception handling

    Time:2020-4-11

    This article mainly introduces two mechanisms of Java exception handling keyword differential analysis. The example code is introduced in detail in this article, which has a certain reference learning value for your study or work. You can refer to the following for friends who need it What is the difference between throws and throws in […]