WeChat Public Number Development (2) Acquire AccessToken, jsapi_ticket

Access Token Access Token plays an important role in the development of WeChat public platform interface, which is equivalent to the key to access various interfaces. Only by getting this key can we call other special interfaces. access_token is the globally unique ticket for the public number, which calls each interf ...

Added by bschwarz on Sat, 04 Jul 2020 19:15:58 +0300

Python string_Detailed 3-end built-in function

The following method runs on python2 and uses python2 for encoding. After comparing python3, we find that it is basically the same, that is, after print, add (), which can be run under python3 by using functions. The method that works for unicode has been removed because it is temporarily unavailable and will be learned separately if needed in ...

Added by RockinPurdy on Mon, 29 Jun 2020 20:00:56 +0300

Spring source code third bullet! What the hell is EntityResolver?

Last article I talked with my friends about the parsing process of XML files in Spring source code. I could have continued to look down to load core classes, but SongGe still hopes to be a little slower. Since I have to learn to understand, I can learn from XML There are also some other classes and concepts involved in the process of file parsi ...

Added by ureck on Mon, 29 Jun 2020 05:02:29 +0300

v.douyin.com And t zijieimg.com Tiktok official shortening interface generation method

Because of the company's business relationship, I find a way to shorten the interface generation from the tiktok open platform. Two interfaces need to be called here. Packet capturing analysis is as follows: Tiktok tiktok tiktok SDK currently provides basic capabilities for voice / login / authorization and sharing to vibrate. Tiktok tiktok ca ...

Added by mkubota on Sun, 28 Jun 2020 05:33:18 +0300

Python's advanced approach: extracting official account background data and data visualization

The official account is rich in data statistics, but there may still be no statistical indicators that I want. For example official account official account is not high but the reading rate is very high. Can I draw a scatter map according to the reading rate of each article in my official account to sho ...

Added by kubis on Sat, 27 Jun 2020 10:23:27 +0300

GO Manual Processing of TCP Packets

Application Scenarios Use custom communication protocol in most TCP communication scenarios image.png Sticky Packet Processing Principle: Buffer data sent by clients N times into a single packet by the size of the packet in the request header For example: Request header takes up 3 bytes (instruction header 1 byte, packet length 2 bytes), ...

Added by kellerkind on Fri, 26 Jun 2020 19:08:50 +0300

Android Color Context Menu

What is the Android process context? It is the interface for global information about the application environment. This is an abstract class provided by the Android system. It allows access to application-specific resources and classes and calls to application-level operations such as launch act ...

Added by Zetusko on Thu, 25 Jun 2020 05:02:24 +0300

MOJITO released one week, climbing a wave of barrage analysis

MOJITO I haven't written anything recently. I can't catch up with a hot spot. I despise myself. Zhou Dong's new song "MOJITO" (zero on June 12) has been on sale for about a week now. When I look at the MV of station B, I can see that the broadcast volume is over ten million, and the barrage is over one hundred thousand. This popu ...

Added by mo on Sun, 21 Jun 2020 10:23:10 +0300

Data structure - data compression algorithm based on Huffman tree

Refer to Yan Weimin's textbook < data structure > > 2nd Edition describe Input a string of strings, build corresponding Huffman tree according to the frequency of characters in the given string, and construct Huffman coding table. On this basis, the compressed file can be compressed (i.e. enc ...

Added by oliverw92 on Sat, 20 Jun 2020 09:36:28 +0300

python Practical Cases of File Operations

1. Write before Today, I've sorted out several Python cases about file operations, including reading and writing files with python, getting file names, getting file suffixes, and modifying file suffixes in bulk.Several methods of this collation are still from the point of view of use.For example, I ne ...

Added by rsmarsha on Wed, 17 Jun 2020 19:28:31 +0300