Basic configuration of WeChat public address

Today, I configured the token in the afternoon, but I don't know what's wrong. I found many methods on the Internet and didn't solve the problem, but I finally found a solution in a forum. I'm really excited. Don't say no more. Just connect the code. This is the configuration of wechat public platform.    The url value here should be directly ...

Added by jokerfool on Sun, 05 Jan 2020 19:17:44 +0200

Better Android Toast

Better Android Toast According to the project experience, Toast, which comes with Android, is packaged into a simpler tool class. The main features are as follows: to simplify the long-term and short-term Toast calls, and to add a custom View Toast, only one line of code is needed. Design sketch: Toast layout.xml file & ...

Added by davestewart on Sun, 05 Jan 2020 12:24:31 +0200

C-encryption and decryption (DES\RSA) learning notes

This note is excerpted from: https://www.cnblogs.com/skylaugh/archive/2011/07/12/2103572.html Record the learning process for future reference. Data encryption technology is the most basic security technology in the network, mainly through the data encryption of the information transmitted in the network to ensure its security, which is an acti ...

Added by EverToDesign on Sat, 04 Jan 2020 20:28:24 +0200

Summary of java background request resuful and soap interfaces

1. Request restful interface The request restful interface is divided into two types, depending on the type of interface request parameters published by the other side. First, the parameter is of String type, which can be directly requested by httpClient post; String url = "http://127.0.0.1:8480/jkcsYsd/test"; Http ...

Added by Theophilus on Sat, 04 Jan 2020 13:10:03 +0200

Construction and use of REDHAT YUM local source

Generally, there are two types of yum sources: local yum source and local network yum source. The former provides installation package through file, and the latter downloads installation package through network; Because the yum source of RedHat 7.3 needs to be registered for payment, it often fails to download the yum source i ...

Added by pastet89 on Sat, 04 Jan 2020 08:12:55 +0200

[Eclipse Plug-in Development] expand the code prompt and completion of Eclipse XML Editor

Follow the great God of Wu Xuan Eclipse code prompt and completion plug-in Later, we found that the plug-in extension is the Generic Text Editor (org.eclipse.ui.editors.text.TextEditor) that comes with eclipse, so the scope is limited to this general text editor. After using the Design Page of eclipse's XML Editor (org. Eclipse. WST. XML. UI. I ...

Added by virendrachandak on Sat, 04 Jan 2020 06:10:51 +0200

Today's top screen adaptation

Today's top screen adaptation In a word, summarize the principle of realization: According to the width of the design drawing, calculate the density, then calculate the dpi, and replace the dpi in the system. Then the layout file can set the width according to the design drawing given by the UI, so as to achieve the purpose o ...

Added by NeoPuma on Thu, 02 Jan 2020 16:39:57 +0200

Java parses Android manifest file to obtain package name entry point permission and other information

Java parses the Android manifest file tool class. Input the XML file path to get the APK package name, entry Activity, all permission lists and Activity lists. Function Description: xmlHandle() XML parsing entry method, parsing permission and activity list findPackage() Resolve package name information findLau ...

Added by IceHawk on Thu, 02 Jan 2020 14:30:36 +0200

5.2.1 dynamic registration and monitoring network change

There are two ways to register for broadcast: Dynamic registration: registering in code Static registration: register in Android manifest.xml Idea: create a new class, let it inherit the BroadcastReceiver, and override the onReceiver() method of the parent class. When a broadcast arrives, the onReceive() method will be execu ...

Added by lapith on Thu, 02 Jan 2020 12:28:55 +0200

Alibaba cloud intelligent vision AI Quick Start

Summary Intelligent visual AI open platform is an open platform for enterprise users, software and hardware service providers and developers, providing simple, easy-to-use, high-quality visual algorithms. The platform algorithm capability has been developed and precipitated by Alibaba Damo Institute machine intelligence laboratory and multi ...

Added by carydean on Thu, 02 Jan 2020 08:26:27 +0200