Android Bluetooth Chat

Bluetooth is one of the most popular methods of data transmission for smart devices. It connects with smart devices through mobile app s to obtain measurement data on devices. We can see it everywhere in our life, such as Bluetooth smart bracelet, Bluetooth electronic scales, Bluetooth ECG measurement equipment and so on. In this article, ...

Posted by Control Pad on Fri, 05 Jul 2019 23:36:38 +0200

RHEL7/centos7 Modify network card name to eth0

        Because of the new network card name naming method used in RHEL7, it is difficult to understand and remember the network card name. This paper introduces how to modify the network card name to the traditional eth0 naming method to define any network card as eth0.Introducing the process of network ...

Posted by gudushen on Sat, 29 Jun 2019 18:48:19 +0200

Get iOS arbitrary threaded call stack (4) Symbolized Reality

From: http://blog.csdn.net/jasonblog/article/details/49909209 1. Related API s and data structures Since we get a set of addresses from the backtrace thread call stack above, the input and output symbolized here should be addresses and symbols respectively, and the interface design is similar to the following: - (NSString *)symbolicat ...

Posted by jamess on Wed, 26 Jun 2019 18:14:00 +0200

python Notes 5: Decorators, Built-in Functions, json

Decorator The decorator is essentially a Python function, which allows other functions to add additional functions without any code changes. The return value of the decorator is also a function object. Let's start with a simple example: def run(): time.sleep(1) print('run....') There is a new requirement that we can record the running ...

Posted by maniac1aw on Fri, 21 Jun 2019 20:25:32 +0200

Symmetric Encryption Algorithms-DES

1. Brief introduction DES, which is called Data Encryption Standard, is a block algorithm using key encryption. It is a symmetric encryption algorithm, the so-called symmetric encryption algorithm is: encryption and decryption using the same key algorithm. 2. Model Analysis Messaging goes through the following steps: (1) The key is agreed u ...

Posted by IndianaRogers on Thu, 06 Jun 2019 22:05:55 +0200

Common commands and deployment of cobbler

Common orders cobbler check checks cobbler configuration The cobbler list lists all the cobbler elements cobbler report lists the details of the elements cobbler distro to view imported distribution system information cobbler system Views Additional System Information cobbler profile view configuration information cobbler sync synchro ...

Posted by kevinjo on Thu, 06 Jun 2019 01:36:41 +0200

Instruction Analysis of Lua5.3 Virtual Machine (2) Assignment Instruction

Instruction Analysis of Lua5.3 Virtual Machine (2) Assignment Instruction Lua VM is implemented based on register structure, that is to say, every Lua chunk code is translated into a set of 256 register operation instructions. This is a bit like writing C extensions for Lua. C functions usually take parameters from lua_State and record them ...

Posted by wyrd33 on Sun, 02 Jun 2019 23:39:57 +0200

Samba Server (cifs) Details

samba server introduce samba server environment deployment Parameter setting of samba server Modify comment Modify browseable Modify valid users (valid users) Add directory writable User Write List Anonymous user login Anonymous user can mount Upgrading User Level samba server multiuser mount Safety Multiuser Sa ...

Posted by ROCKINDANO on Wed, 29 May 2019 11:54:08 +0200

Android Communication--Bluetooth

                Usually, our main operations on Bluetooth are: turning on and off Bluetooth, searching for peripherals, being discovered by peripherals, getting data transmission between paired devices, and Bluetooth devices. 1. Turn on Bluetooth (of course, first make sure your mobile phone has a Bluetooth device) Bluetooth dev ...

Posted by kawai84 on Fri, 17 May 2019 11:59:10 +0200

Network communication & first understanding of socket

The main contents of this section are as follows: 1. Customer Short Server Architecture 2. Network communication process 3. Initial knowledge of socket   I. Client Server Architecture ClientServer Architecture: Client/S erver (C/S) structure is a well-known software system architecture. By assigning tasks reasonably to Client and S erver, the c ...

Posted by vishal99 on Tue, 14 May 2019 15:10:59 +0200