Bridging to EMQ X on Mosquitto

EMQ X nodes can be bridged by other types of MQTT message middleware to achieve cross-platform message subscription and delivery. In this article, we present a configuration example to illustrate how to configure the bridge from Mosquitto to EMQ X. Mosquitto is a small, lightweight, open source MQTT Broker written in C/C++ language. Mosquitto u ...

Posted by rhodrykorb on Wed, 28 Aug 2019 00:03:24 -0700

[Series] go-gin-api planning catalogue and parameter verification

Catalog Summary Planning catalogue structure Model binding and validation Custom Verifier Develop API return structure Source address go-gin-api series of articles Summary Firstly, the project overview is synchronized: As we shared in the last article, we used go mod ...

Posted by WhiteHawksan on Tue, 27 Aug 2019 22:45:58 -0700

Can you buy stocks with python without deep mathematical knowledge or financial knowledge?

Neither profound mathematical knowledge nor profound financial knowledge is needed. In this paper, various advanced investment models or mathematical models will not be quoted. That's not necessary. That's not necessary. How on earth do you use pytho ...

Posted by londonjustin on Tue, 27 Aug 2019 05:07:30 -0700

Beautiful HTML 5 Web page special effects learning notes _canvas to achieve flame following mouse

Effect: Lifelike flames follow the mouse and sparks appear to illuminate the background text. Drawing with canvas javascript is used, but there is no complex logic. Beginning Degree: Simple Welcome to my blog to read this article: https://clatterrr.com/archive... Source code: Demonstration address: https://clatterrr.github.io/f... The sou ...

Posted by rich___ on Tue, 27 Aug 2019 03:44:52 -0700

Raspberry Pi 4 Model B Compiles 64-bit Kernel

The raspberry pie system installed by default is ARM32-bit system, but since raspberry Pie 3 supports ARM64-bit system, since the official does not give 64-bit system, we have to compile it ourselves. Actually, there are many 64-bit compiler cores of ...

Posted by Syranide on Tue, 27 Aug 2019 02:51:08 -0700

Several Methods of Drawing Network Font by canvas

Recently, when drawing with canvas, we encountered a headache problem: when canvas rendered network fonts, it did not work, so we started a solution search test, and encountered many pits in the middle. So we wrote this article to summarize. If you encounter the same problem when using canvas, we hope to have a certain degree for you. Now let's ...

Posted by lmaster on Sun, 25 Aug 2019 07:13:49 -0700

Go golang Micro Services Framework go-micro Getting Started Notes 2.1 micro Tool micro api

micro api The microfunction is very powerful, and this article will elaborate on the capabilities of the micro api command line Say important things three times The full code for this article is https://idea.techidea8.com/open/idea.shtml?id=6 The full code for this article is https://idea.techidea8.com/open/idea.shtml?id=6 The full code for t ...

Posted by runestation on Sat, 24 Aug 2019 17:50:17 -0700

Recovery of Table Volume by Using pg_repack

For some tables that often do archiver or purge operations, if we reclaim table space irregularly, the volume of tables will increase. However, the vacuum full in pg will block the read and write operations in the process of recovery, and can not run directly in the production environment. Therefore, in the production environment, the commonl ...

Posted by timvw on Sat, 24 Aug 2019 06:16:25 -0700

Five minutes to implement a chrome plug-in (with source code)

This article has been synchronized to https://github.com/abc-club/f... background Many websites do not achieve the function of returning to the top, but in reality, the pages are often longer. If you want to return to the top, it will be very troublesome. How nice if you have a button at this time. This is the original intention of the project. ...

Posted by cavolks on Sat, 24 Aug 2019 01:23:04 -0700

Nginx+Zuul Cluster Implements Highly Available Gateway

Code reference: https://github.com/HCJ-shadow/Zuul-Gateway-Cluster-Nginx Routing Forwarding in Zuul preparation in advance Build Eureka Service Registration Center Service Provider msc-provider-5001 [Provide a hello request for testing] Create gateway-7001 pom dependency <dependency> <groupId>org.springframework.cloud&l ...

Posted by dhvani on Fri, 23 Aug 2019 13:44:40 -0700