How do programmers spend Valentine's Day gracefully?

It's Valentine's day again, and couples will start a vigorous show of love again.For programmers, "single" is still the biggest Bug in life. The key is that they can't debug yet.Although the saying goes "heroes are lonely since ancient times", life without another half is always incomplete. So, how do programmers spend this ...

Added by the-hardy-kid on Sat, 19 Feb 2022 07:42:46 +0200

SpringBoot integrates Swagger3 to generate interface documents

1, About Swagger Swagger, the main API Builder based on openspecification, became an open source API. Swagger provides a set of methods to automatically generate documents through code and annotations, which will be very helpful to ensure the timeliness of API documents. Swagger2: maintenance stopped in 17 years Swagger3 (Open Api3): relea ...

Added by fr0mat on Sat, 19 Feb 2022 07:40:33 +0200

Automatic generation of local markdown files | batch compression of pictures and conversion to base64 format | farewell to the drawing bed server | blog artifact

1, Project introduction Problem source Every time a document in markdown format is written locally, you want to upload it to the blog website, but the local image cannot be directly copied to the blog page of the website. Each image needs to click upload again, and then upload the local file. In fact, you can also buy a picture bed to solve i ...

Added by Spekta on Sat, 19 Feb 2022 07:39:59 +0200

Stepping on the pit: a bloody case caused by timeout of dubbo asynchronous call

background The response time limit for new business requirements shall be controlled within 5s(md5 warehouse collision time limit of 1.2s, business flow time limit of 3.8s), which will directly lead to production accidents after online (Party A's father feedbacks that there are a lot of overtime). environment dubbo 2.6.0 problem analysis For ...

Added by Chesso on Sat, 19 Feb 2022 07:38:31 +0200

A summary of winter vacation

1.ret2shellcode Quote ciscn_ 2019_ n_ five Open the main function and find that get is still a stack overflow, but shift has no bin and system, and no protection is turned on. When a name variable is opened, it is found to exist on the bss side. Therefore, you want to write the name directly to shellcode, and adjust get to the name func ...

Added by manimoor on Sat, 19 Feb 2022 07:23:17 +0200

Interpretation of mask rcnn super detailed code

Previously: Interpretation of mask rcnn super detailed code (I) (Xiaosheng has been busy with other things recently, and the update has been delayed for a month... Next, he will try to finish all the contents by the day in a row) Summary of network structure in 1 (I) (this paragraph can be ignored after just reading (I)) (1) Three parts: ...

Added by ryanh_106 on Sat, 19 Feb 2022 07:21:56 +0200

[Tencent interview questions] Java Set: List, Set and Map

summary List, set and Map are all interfaces. The first two are inherited from the Collection interface, and Map is an independent interface There are ArrayList, Vector and LinkedList under List Under Set, there are HashSet, LinkedHashSet and TreeSet There are Hashtable, LinkedHashMap, HashMap and TreeMap under the Map There is also a ...

Added by j_70 on Sat, 19 Feb 2022 07:17:11 +0200

CORS error has been blocked by CORS policy

If you are Xiaobai, this set of information can help you become a big bull. If you have rich development experience, this set of information can help you break through the bottleneck 2022web full set of video tutorial front-end architecture H5 vue node applet Video + data + code + interview questions. Problem description The global request ...

Added by nca on Sat, 19 Feb 2022 07:11:31 +0200

Spring @ transactional transaction failure scenario? How to solve it?

In project development, if multiple table operations are involved, transaction mechanism will be adopted to ensure the consistency of business data; However, many small partners may just have a brief understanding. Once they encounter transaction failure, they will have no way to start. This article summarizes the common scenarios of Spring t ...

Added by alcoholic1 on Sat, 19 Feb 2022 07:06:20 +0200

Muduo source code

Muduo asynchronous log Let's first look at the definition of the AsyncLogging class class AsyncLogging : noncopyable { public: AsyncLogging(const string& basename, off_t rollSize, int flushInterval = 3); ~AsyncLogging() { if (running_) { stop(); } } void append(const char* logl ...

Added by Shellfishman on Sat, 19 Feb 2022 07:01:50 +0200