ios 2-D code scanning (WeChat 2-D code scanning sound effect)

Thank you very much for using your valuable time to read my articles. Today you have brought a demo scanned by native QR codes. The code written a long time ago is used by recent projects. When you think there is a great possibility to use it in the future, you turn it out and sort out a demo. If you need it, you can make a reference.If you nee ...

Posted on Tue, 21 Apr 2020 09:55:06 -0700 by williamg

ActiveMQ listening sample get Connection and disconnect

It was intended to continue updating   Analysis of ActiveMQ authorized source code simpleAuthentication (1) Because of the busy work and new tasks, the company plans to set up a message center for business reasons. Meanwhile, it needs to know the disconnection and establishment of the connection (business: the mobile phone needs to upload the g ...

Posted on Sun, 19 Apr 2020 22:54:23 -0700 by Devil_Banner

Day 13 of egg learning notes: several writing methods of eggjs route, route redirection, route grouping (route mapping)

1, Several writing methods of eggjs route configuration. https://eggjs.org/zh-cn/basics/router.html#router-%E8%AF%A6%E7%BB%86%E5%AE%9A%E4%B9%89%E8%AF%B4%E6%98%8E The following is the complete definition of route. Parameters can be freely selected according to different scenarios: router.verb('path-match', app.controller.action); router.verb ...

Posted on Fri, 17 Apr 2020 05:07:47 -0700 by gskaruz

(closing) Fast API for the Python framework - an API framework that performs better than Flask and Tornado - knows

0 Preface Shared with you the other day (Introduction) A brief analysis of the Python web framework FastAPI - an API framework with higher performance than Flask and Tornada and (Advanced) Python web Framework FastAPI - A better API framework than Flask and Tornada .Today, we welcome you to the end of the FastAPI series, which is a s ...

Posted on Thu, 16 Apr 2020 17:58:27 -0700 by pranesh

ActiveMQ custom authentication (database link) + JAAS authorization

ActiveMQ supports pluggable security mechanisms to switch between different provider s. Authorization authentication supports three ways: 1.simpleAuthenticationPlugin Just add the following configuration to the \ conf \ ActiveMQ. XML <plugins> <simpleAuthenticationPlugin> <users> <authenticationUser us ...

Posted on Thu, 16 Apr 2020 03:54:03 -0700 by macewan

When using limit paging query, do delete operation, which will result in data loss

Catalog When using limit paging query, do delete operation, which will result in data loss 1, Prepare data 1.1 mysql data script 1.2 code Two, validation 1. All data before verification 2. Data on the first page 3. Delete records 4. Add record 5. Data on the second page 6. Data after verification 7. log Three. Conclusion Four, suggesti ...

Posted on Wed, 15 Apr 2020 09:18:15 -0700 by roadkillguy

Simple use of GreenDao

Written in front Sqlite is often used in the development process. The SqliteAssetsHelper of the third party was used before, which is very easy to use. Only need to integrate and write some necessary methods, and provide external methods of addition, deletion, modification and query. So let's look at another mature third party today -GreenDao. ...

Posted on Mon, 13 Apr 2020 09:02:29 -0700 by adamhhh

Wan Zi Long Text takes you to Zookeeper!!!

Reading Guide The article was first published on WeChat Public Number (Code Ape Technical Column). It was not easy to create. Thank you for your support. Zookeeper believes you've heard about it, and the most typical use is as a service registry.Today, Chen Mou takes you to Zookeeper from zero basics. After reading this article, you will have ...

Posted on Fri, 10 Apr 2020 21:46:03 -0700 by EWaveDev

How to get labels by file name / folder name and join the queue under TensorFlow

Cifar-10 tutorial given by TensorFlow official website is a good example for the introduction of convolution neural network. Sometimes we want to run our own data directly with this model, but we find that its data type is not common. Generally, the data (pictures) we get are stored in folders, or directly marked with t ...

Posted on Sun, 05 Apr 2020 07:25:21 -0700 by Madatan

webSocket implementation of code scanning login

Note: you must have spring 4.0 or above to integrate websocket Three interfaces are designed to realize code scanning login, two of which are HTTP protocol http interface 1 get QR code picture /** * * @Title:Get QR code picture * @Description:Comment for non-overriding methods * @author Zato-One * @date 2018 1:57:44 p.m., March 5, ...

Posted on Sun, 05 Apr 2020 03:02:06 -0700 by johnnyboy16