vue2.0-Component-Document Understanding Notes v1.0

assembly Components can extend HTML elements to encapsulate reusable code At a higher level, components are custom elements for which the Vue.js compiler adds special functionality In some cases, components can also be in the form of native HTML elements, extending with is features. Using components Register ...

Added by anthonyv on Mon, 15 Jul 2019 03:00:38 +0300

Android uses socket.io for instant messaging

brief introduction WebSocket is a new communication protocol of HTML5. It realizes two-way communication between browser and server. Socket.IO is an open source framework, which is completely implemented by JavaScript, based on Node.js and supports WebSocket protocols for real-time communication and cross-platform. This article will be based ...

Added by ryza_ on Sun, 14 Jul 2019 00:19:40 +0300

vue+websocket+express+mongodb real-time project (live chat)

Continue to the previous project Use vuejs to imitate NetEasy Cloud music (for listening and searching) Later, I found that the previous project was very confused simply managed with vue's model, and then I went to see vuex, and planned to do a project practice, but did not want to do a duplicate project. This time, I gave up my face and planne ...

Added by Citizen on Fri, 05 Jul 2019 19:54:12 +0300

Android Framework Learning (3) Syetem Server Process Start Resolution

From the previous blog, we know that the Zygote process started the Syetem Server process. In this blog, we will learn about the Syetem Server process together. Role of System Server The android framework process startup process of the whole system is as follows: init process --> Zygote process --> System Server process --> vario ...

Added by jynmeyer on Thu, 04 Jul 2019 23:43:43 +0300

veth of Linux Virtual Network Device

With the last article on Introduction of tun/tap After that, you should have a certain understanding of virtual network devices. This article will then introduce another virtual network device veth. Characteristics of veth equipment Like other network devices, veth connects to the kernel protocol stack at one end. The veth device appears in pa ...

Added by Steve Mellor on Thu, 04 Jul 2019 21:10:27 +0300

Part collation of knowledge points in mina framework

Before doing a game development for a period of time, using mina communication framework, afraid of long forgotten, here to sort out the knowledge points. The first is to understand his core nio, but to say this, we must first understand bio. Before jdk1.4, blocking-BIO was used. After jdk1.4, NIO-non-blocking IO was introduced. After jdk1.7, A ...

Added by youqing on Thu, 04 Jul 2019 04:22:33 +0300

Android debuggerd source code analysis

Introduction to debuggerd Android The system comes with a practical program to diagnose abnormal exit daemon Debuggerd. This process can detect program crash and output process status information when crash to file and serial port for developers to analyze and debug. Debuggerd's data is stored in the / data/tombstone / directory and can hol ...

Added by kfresh on Sun, 30 Jun 2019 04:57:55 +0300

java Concurrent Programming (1) cancelling concurrent programs from closing

1. Mission cancelled and closed 1. Interrupt Thread 1. Each thread has a boolean interrupt state. true is in the interrupt state Interrupt: issue interrupt request; isInterrupt: return interrupt status; interrupted: clear interrupt status 2. The blocking method in JVM checks the interrupt status of threads. Its response method is: clearing the ...

Added by scnjl on Fri, 28 Jun 2019 03:39:24 +0300

fs file system of nodeJS

Previous remarks The fs file system is used to read and write system files and directories. This paper will introduce the js file system in detail.   Summary File I/O is provided by standard POSIX functions with simple encapsulation. Use this module through require('fs'). All methods have asynchronous and synchronous forms. The asynchronou ...

Added by devang23 on Tue, 25 Jun 2019 21:01:14 +0300

select of linux Multiplexing

1. select function 1. Definition select: This function allows a process to instruct the kernel to wait for any one of multiple events to occur and to wake it up only after one or more events have occurred or experienced a specified period of time. 2. Role (1) The system provides select function to realize multiplexing input/output model. ...

Added by btrsrinivasarao on Mon, 24 Jun 2019 02:23:12 +0300