ReactiveCocoa use details-1
Reactive cocoa (referred to as RAC) is a functional responsive programming framework for iOS and OS development, which i...
nginx worker process loop
When the worker process starts, it first initializes the environment it needs to run, then it enters a cycle in which it...
UDP and TCP 2 for Network Programming
TCP TCP: A connection-oriented, reliable, byte-stream-based transport layer, communication protocol Features: Connection...
Front and back interaction (Promise, fetch, axios, async / await usage)
1.Promise overview
Promise is a solution of a...
LeetCode Power Button 55. Jump Game
Title Description (Medium Difficulty) 45 Questions You've already seen this before, but you've just returned to the min...
Spring - handwritten spring annotation version transaction, seven communication behaviors of spring things
I. annotations 1. What is built-in annotation (1) Add @ SuppressWarnings to the front of the program to remove warnings in javac compilation -- stage ...
OAuth2 protocol and Spring Security OAuth2 integration
The authorization protocol of OAuth 2.0 allows third-party applications to access restricted HTTP resources. As usual, when you use Github and Google...
Introduction to network socket programming
The following is a Li's understanding of socket programming, hoping to help you; if there are errors, please point out generously; 1: Socket pro...
ByteBuddy manipulating Java bytes example: automatically removing spaces on both sides of a string
I learned a little bit about ByteBuddy today. Its official warehouse address is: https://github.com/raphw/byte-buddy. Official description: Runtime co...
Algorithms Ring Chain List II
00141 Ring Chain List Title Description Given a list of chains, determine if there are rings in the list. Instance 1: Input: head = [3,2,0,-4], pos =...
Slow code Python? Hands on how to speed up your code by 30%
Yun Qi Hao: https://yqh.aliyun.comThe first-hand cloud information, the selected cloud enterprise case base of different industries, and the best prac...
Using UAV (mobile phone) and Unity3D software to make their own VR panoramic software
*There are many panoramic websites and companies in the market. I will not list them here. I will Baidu VR and Panorama and so on will jump out a lot...
Three traversal methods of binary tree (non recursive)
Binary tree is a kind of data structure. The structure of simple binary tree can be divided into left sub node, right sub node, and a pointer to data...
What to do if php fails to call python
What if php fails to call python? Solutions to PHP's failure in calling Python Suppose there is a file: php_test.php python_test.py To run Python...
Manage hierarchical data using MySql
Summary We know that relational database tables are better suited for flat lists than for hierarchical data with parent-child relationships that can b...
How do I avoid deadlocks?
When concurrent programs become deadlocked, we often have to restart the application.The best way to solve the deadlock problem is to avoid it. Condit...
Exception handling in [C + +] 64 μ C + +
C + + exception handling C + + has built-in exception handling syntax element try... Catch try statement handles normal logic code catch statement pro...
1030 perfect sequence (25 points)
Given a positive integer sequence, and a positive integer p, let the maximum value of the sequence be m, and the minimum value be m. if M ≤ mp, the s...
Several ways to realize multithreading
This blog series is a record summary of learning concurrent programming. Due to the large number of articles and the scattered time of writing, I arra...
Storage - massive data - (mycat core concepts and advanced)
target Master big data processing scheme and HA of database Master why database middleware is needed and what is database middleware Master the charac...
Golang reading and writing files
Reading and writing files is one of the common operations of programming languages. Here, we will read the related operations of the files. read file ...
Some methods of re
re.compile(pattern, flags=0) Create a reusable variable from a regular expression. The generated object can be used in other places repeatedly, inste...
Echo server C + + 4-UDP connect version
Calling the connect function for a UDP socket does not establish a connection with the UDP socket of the other party, but registers the destination IP...
[drain pit] Ftp normally connects to the server but cannot get the file
Some codes in ftp tool class ftp util are as follows: import org.apache.commons.net.ftp.*; public class FtpUtil { private static Logger log = Logger.g...
Talk about registerConsumer and unregisterConsumer of rocketmq
order This paper mainly studies the registerConsumer and unregisterConsumer of rocketmq. MQClientInstance rocketmq-client-4.5.2-sources.jar!/org/apach...
Day 13 of advanced learning
Catalog 1. Anonymous type 2. Lambda expression 1. Anonymous type Without indicating the type of type, an object of unknown type is created through im...
Arrays in Scala
1. Introduction to array There are two kinds of arrays in scala: fixed length array and variable length array. fixed length Array: because Array is i...
Introduction to Scala basic syntax
1. Definition of variables Note: there is no concept of static in scala. All methods and properties in the class decorated by the keyword object are ...
java multithreading, communication between two threads
Example: two threads execute in turn package com.heima.day25; public class Demo004 { public static void main(String[] args) { Print print = new Print...
What are the similarities between Python and JS?
Python is a widely used language. It can automate scripts, crawlers, and even in the field of deep learning. As a front-end developer, I also know tha...