GoLand 2019.3 activate cracking tutorial (permanent)

Note: this tutorial patches, activation code collection and network, if there is infringement, please contact the author to delete! On November 28, 2019, JetBrains released Go's strongest editor, GoLand, March 2019. This update software consumes less CPU and faster performance, enhances support for Go Modules, adds a new set of quick fixes, and ...

Posted by angel_cowgirl on Wed, 18 Dec 2019 02:20:06 -0800

WEB-WORKER advanced learning

Because of the JS single threaded model, though, requests can be processed asynchronously. But in the end, it needs to be handled by the main line In order to decouple rendering (request, calculation), the api request layer built by axios is modified, and all data requests are submitted to web work. Separate rendering from request problem H ...

Posted by microthick on Tue, 17 Dec 2019 23:55:05 -0800

The right encapsulation of react native (GPS, suspended window android) does not jump to the corresponding settings

The APP often uses geographic location authorization. The following describes the encapsulation of gps and suspension window on Android Only part of the code and the creation of interaction classes are shown here Portal Design sketch There's a problem here. Because Android manufacturers are different, when users refuse to au ...

Posted by eaglelegend on Tue, 17 Dec 2019 12:36:55 -0800

Wechat applet learning note 2 (continuous update) -- applet network request encapsulation

Are you tired of sending wx.request for network requests? Let's see... I. directory structure Create a fetch.js file in the utils folder of the same level of the project (name depends on your preference) II. Code directly // Define network request API address const baseURL = 'http://yourbaseURL' // Encapsulate network reque ...

Posted by mj_23 on Tue, 17 Dec 2019 12:01:05 -0800

Combination of Retrofit and RxJava

These two frameworks are very popular now. The combination of strong and strong forces makes our efficiency more direct First, we need to import the dependencies implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.okhttp3:okhttp:3.11.0' implementation 'com.google.code.gson:gson:2.8. ...

Posted by 25lez25 on Tue, 17 Dec 2019 10:14:25 -0800

Softmax for handwritten digit recognition (Tensorflow Implementation) - personal understanding

The function of softmax     for classification, the function of softmax is to calculate the probability that the sample belongs to each category from the sample value. For example, for handwritten numeral recognition, softmax model obtains the probability values of 0-9 from the given pixel value of handwritten image, and the sum ...

Posted by Afrojojo on Tue, 17 Dec 2019 08:46:15 -0800

Simple example of Android MVP mode

MVP mode is M (Model), V (View) and P (Presenter) Model is data. How to obtain data and data type belong to model. In a word, all data related classes and operations belong to model View is the interface displayed to the user, including all kinds of controls and click events. In Android, Activity and Fragment belong to view ...

Posted by lajkonik86 on Tue, 17 Dec 2019 08:10:34 -0800

IP address extraction

IP address extraction ifconfig can print out the information of all local network interfaces, including the ip address of the interface. The display is as follows: [root@desktop01 ~ 18:45:56 130]# ifconfig ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.147.150 netmask 255.255.255.0 bro ...

Posted by rickbond79 on Mon, 16 Dec 2019 14:59:19 -0800

Transmission object pattern in design pattern

Transfer Object Pattern is used to transfer data with multiple attributes from the client to the server at one time. The transfer object is also known as a numeric object. The transfer object is a simple POJO class with getter/setter methods, which is serializable, so it can be transferred over the network. It didn't do anythin ...

Posted by joozt on Mon, 16 Dec 2019 11:22:03 -0800

bind function of UDP sender in c/c + + network programming

bind function of UDP sender in network programming The effect of calling bind function on the sender of upd: assign socket to a specific port. If bind is not called, the kernel will randomly assign a port. The purpose of the upd sender calling the bind function: if there are two senders and the receiver needs to identify which sender is co ...

Posted by andym01480 on Mon, 16 Dec 2019 08:06:36 -0800