Android wifi Communication Development (wifi List + Connecting Specific wifi Hotspots + socket Acquisition) Solves the Delay Problem of Hotspot Success

Before writing this blog, I would like to add some extraneous remarks: the landlord is a company doing embedded research and development, of course, there are also software research and development, in a word, the main purpose of which is to display the data to the front-end based on hardware and software communicati ...

Posted on Fri, 04 Jan 2019 16:03:09 -0800 by sivarts

iOS on the use of dispatch_semaphore_t (semaphore_t) and dispatch_group_t (group) thread execution order

In 2017, looking back on the past, I devoted myself to iOS development in the first half of the year. In the second half of the year, I started python's long road, stopping and walking all the way, but fortunately, in general, 2017 is a year of harvest and effort. Come on in 2018! Turning back to the topic of thread execution, you may encounte ...

Posted on Thu, 03 Jan 2019 18:51:09 -0800 by stringman

Awk grammar (BEGIN, END), field and separator (-F| FS), built-in variables (FNR, NR, NF, OFS, ORS, RS)

Awk introduction Awk is an interpretative programming language designed for text processing and is often used as a data extraction and reporting tool. Awk represents the first letters of the three authors'surnames: Alfred Aho, Peter Weinberger and Brain Kernighan. At present, awk compiled versions are commonly used in Linux, ...

Posted on Thu, 03 Jan 2019 15:24:11 -0800 by sadaf

mongo replSet replica set configuration,.net core uses MongoDB.Driver to create database connection pool summary

mongo replSet replica set configuration 1. First replica set logpath=/home/lqq/db/test/logs dbpath=/home/lqq/db/test port=27017 fork=true logappend=false nojournal=true #The default is to write journal logs, which are closed for efficiency maxConns=520 # bind_ip=127.0.0.1,192.168.0.4 #Permissible address for security replSet=rs1 2. S ...

Posted on Thu, 03 Jan 2019 14:42:09 -0800 by phpfanphp

[Understanding thoroughly] JDK 1.8 Functional Interface Consumer & Supplier and the arrival of JAVA new era lambda expression

JDK 1.8 Functional Interface Consumer & Supplier and the Coming of JAVA New Era Lambda Expressions Background or something is swallowed up and goes straight to the subject. Functional Interface (Define yourself Baidu, a bunch) After reading some articles about JDK 1.8 functional interface, I found that they were mo ...

Posted on Wed, 02 Jan 2019 18:18:09 -0800 by mickd

Android Acrchitecture Components + Hot Framework (Retrofit+OkHttp+RxJava2+Glide)

Android Architecture Components Benefits: Store data Management Life Cycle Modularization Avoid common mistakes Reduce boilerplate code Components included in the framework: Room ViewModel LiveData Lifecycle Observer and Liecycle Owner 1. Room Introduction: A Robust SQL Object Mapping Library 2.LiveData Introduction: ...

Posted on Tue, 01 Jan 2019 10:42:08 -0800 by mjohnson025

Akka(33): Http:Marshalling,to Json

Akka-http is a system integration tool. This mainly depends on the function of data exchange between systems. Because the data format in the program is different from the data format transmitted on the network, it is necessary to transform the program's advanced structured data (marshalling or serializing) into the data format transmitted on th ...

Posted on Tue, 01 Jan 2019 08:33:09 -0800 by Wolphie

Android Interprocess Communication - Socket Use (TCP, UDP)

Before using Socket to realize interprocess communication, the knowledge of network protocol is briefly reviewed. Network layering Generally, the network will be divided into five layers: Application Layer: Common Protocols: HTTP, FTP, POP3, etc. Transport Layer: Common Protocols: TCP, UDP Network Layer Common Protocols: ...

Posted on Mon, 31 Dec 2018 22:06:09 -0800 by Fender963

Daily operations w, vmstat, top, sar, nload

10.1-10.9 Normal Operations and Maintenance w, vmstat, top, sar, nload, io, free, ps, network status w The w command is used to view the current system load. The main check indicator is load average. There are three figures, one minute, five minutes, and 15 minutes of the average system load. In general, the first number is emphasized ...

Posted on Mon, 31 Dec 2018 16:30:08 -0800 by djnrempel

Device eth0 has different MAC address than expected, ignoring. "

Cloning Virtual Opportunities to Problem "Device eth0 has different MAC address than expected, ignoring." System: CentOS7 > service network restart // restart network services Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service ...

Posted on Sat, 29 Dec 2018 06:42:07 -0800 by dsnhouse