# linux Kernel Learning 10 - Start with the first kernel module

linux Kernel Learning 10 - Start with the first kernel module 1. Preparations c File #include <linux/init.h> #include <linux/module.h> // The kernel module initialization function can load a kernel module through the insmod comman ...

Posted by iFlex on Sat, 31 Aug 2019 14:37:37 +0200

Talk about dubbo's All Dispatcher

order This article mainly studies dubbo's All Dispatcher. Dispatcher dubbo-2.7.3/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/Dispatcher.java @SPI(AllDispatcher.NAME) public interface Dispatcher { /** * dispatch the message to threadpool. * * @param handler * @param url * @return channe ...

Posted by depojones on Sat, 31 Aug 2019 06:55:35 +0200

dao layer and xml parameter binding in mybatis 3.5.0/mybatis plus 3.x is complete (unlike older versions)

Mode 1 (not recommended) Single parameter mode @Mapper public interface UserDao extends BaseMapper<User> { User selectList1(String username, String phone); } <select id="selectList1" resultMap="BaseResultMap"> select * from user where username= #{arg0} and phone=#{arg1} </select> Note: select * from user where us ...

Posted by redbrad0 on Sat, 31 Aug 2019 06:26:49 +0200

Synchronization of Elastic Search Index Objects Based on Database Structure

cause Because of the characteristics of business, sometimes the data need complex query logic to get. Because the database itself does not support complex queries, so synchronizing data to capability middleware has become a common solution, and synchronizing to Elastic search is one of them. Scheme Selection The data source we use is MySql, whi ...

Posted by dopp on Fri, 30 Aug 2019 12:51:04 +0200

Class of ES6 New Features

In JS, it actually has no concept of class. If we want to implement an object-oriented programming, we can only use the constructor, but the constructor has its own shortcomings. First of all, its writing is not clear. If we need to inherit, we need to operate prototype manually. Secondly, its object-oriented idea is not very strong, so in ES6 ...

Posted by jaygattis on Fri, 30 Aug 2019 07:50:13 +0200

Mac PyCharm 2019 Activation Code

## This tutorial supports the latest version of Pycharm and other software in 2019.2 This tutorial is updated in real time, please feel free to use it. If a new version appears, Brother Pig will try to activate it at the first time. Pcharm official website download address: http://www.jetbrains.com/pycharm/download/ Chinese Course python entr ...

Posted by Jabop on Thu, 29 Aug 2019 16:49:50 +0200

Unity/C_Basic Review

Reference material [1] Unity 3D scripting using C # language to develop cross-platform games [2]@Zhang Ziyang [Delegation and Event in C # - Part.1] http://www.tracefact.net/tech/009.html [3]@Zhang Ziyang [Delegation and Event in C # - Part.2], http://www.tracefact.net/tech/029.html [4]@Mao Nebula [Effective C [5] Robert Nystrom, Game Programm ...

Posted by lancey10 on Thu, 29 Aug 2019 11:59:46 +0200

Perhaps the most detailed introduction guide to UMD modules

Learning UMD introduce this Warehouse Recorded some demo s about the specification of javascript UMD module, which is very helpful for me to learn UMD specification, and I hope it can also help you. review Several blogs about javascript modules have been written before. The links are as follows: Looking back at JS modular programming Looking b ...

Posted by m00p4h on Thu, 29 Aug 2019 08:08:07 +0200

The context command for Golang programming uses

Package context import "context" The context package defines the Context context type, which carries values across API boundaries and between processes for deadlines, cancellation signals, and other request ranges. A Context context should be created for incoming requests from the server, and the Context context should be accepted for outgoing ...

Posted by blr32 on Thu, 29 Aug 2019 07:57:33 +0200

MATLAB-190828-Euler Plan

Write at the front I am a beginner of MATLAB programming, this blog as a stage of a small exercise, welcome to communicate with me!One sentence a week Fast is slow, slow is fast. When you feel helpless in life, you are on the way up the hill. But whe ...

Posted by unclemid on Wed, 28 Aug 2019 15:42:11 +0200