A Device Online Notification Scheme for Century Interconnected Azure IoT Hub

This paper describes a scheme for getting device online notifications for Century Interconnected Azure IoT Hub.   Video Introduction: You can watch the video introduction at Station B: https://www.bilibili.com/video/BV1dp4y1X7X3/ Or watch it on the author's blog: https://www.51azure.cloud/post/2020/4/30/azure-iot-hub-device-on-line-report      ...

Posted by MannyG on Tue, 05 May 2020 03:03:33 -0700

Serialization and deserialization of Gson

serialization and deserialization Java serialization refers to the process of converting Java objects into transportable byte sequences, while Java deserialization refers to the process of restoring transmitted byte sequences to Java objects. These two processes make it very convenient for us to store and transfer dat ...

Posted by Buglish on Mon, 04 May 2020 14:43:19 -0700

Offline data migration DataX3 initial use

DataX3 is still very convenient to use. Here are some official things GitHub address of DataX3 https://github.com/alibaba/DataX , which contains the introduction of DataX3 and download link. How to use DataX3 https://github.com/alibaba/DataX/wiki/Quick-Start Configuration parameters of various reader s and writer s https://github.com/alibab ...

Posted by phpwolf on Mon, 04 May 2020 13:12:47 -0700

Retrofit Simple Encapsulation

Retrofit Simple Encapsulation In a simple period, use a demo to show: build.gradle configuration file: compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0' compile 'com.squareup.retrofit2:adapter-rxjava:2.3.0' compile 'com.squareup.okhttp3:logging-interceptor:3.4.1' ...

Posted by jakeklem on Mon, 04 May 2020 11:55:58 -0700

jquery content and cache framework exploration

Set and get innerHTML innerHTML: Property sets or returns the HTML between the start and end tags of a table row function html(context, value){ var doms = $$.$all(context); //Set up if(value){ for(var i= 0,len= doms.length; i<len; i++){ doms[i].innerHTML = ...

Posted by onewaylife on Mon, 04 May 2020 06:55:42 -0700

Nginx optimizes static file access

brief introduction The static files needed in web development are: CSS, JS, font and picture, which can be accessed through web framework, but the efficiency is not optimal. Nginx is much more efficient than Web framework in processing static files, because it can use gzip compression protocol to reduce the volume of static files, speed up th ...

Posted by cent on Mon, 04 May 2020 04:54:50 -0700

Upgrade of python script -- nail group chat robot

A small script (for work) The script of monitoring written in this article is the email used when sending monitoring. In fact, it is inconvenient to check the email, so it is upgraded, In our work, we often use nails. If we can use nails, we can send them directly to our nails after our monitoring is successful. It's simple and convenient The ...

Posted by mosherben on Mon, 04 May 2020 04:44:32 -0700

Two ways of analyzing Json data by Gson

0x00 foreword At present, there are many interfaces in the form of Json on the network. Gson is Google's open-source Json parsing library, which can easily convert Java objects into Json strings, and also can easily convert Json strings into Java objects. 0x01 two ways to parse Json string Suppose that the string we want to parse is the ...

Posted by ronthu on Mon, 04 May 2020 04:42:15 -0700

ssm upload image file to ftp (image compression processing)

ssm upload image file to ftp (image compression processing) Development tool Eclipse 1. Introduce jar package Download address of jar package: Ali central warehouse 2. Configure spring-mvc.xml and add the following code <bean id="multipartResolver" class="org.springframework.web.multipart.common ...

Posted by asy1mpo on Mon, 04 May 2020 04:28:17 -0700

Problems encountered in DELETE requests in AFNetworking

Today is the first week of BUG testing. There is a strange problem. DELETE requests to transfer data: NSDictionary *parameters = @{@"objtype":@"course_thread"}; //Send network request (request method is DELETE) [manager DELETE:URLString parameters:parameters success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject) { ...

Posted by NikLP on Sun, 03 May 2020 22:23:18 -0700