[series] - go in API routing middleware signature verification

overview First, synchronize the following project overview: The last article shared that Jaeger link tracking, a routing middleware, had an unexpected response. The "Go China" public account was also forwarded. Many friends joined me to communicate with each other and called me "God". In fact, what God am I? It's just a loc ...

Posted by hustler on Sat, 26 Oct 2019 03:13:21 -0700

How to advertise for Druid

Positioning advertisement code Let's first position the logic of advertising on the page. Clue 1. Since the advertisement does not appear when the page is loaded, there must be an asynchronous method to load it; Clue 2: because every page is called, it is usually encapsulated in a js. On the Druid main page, press F12, and you can see that th ...

Posted by embsupafly on Fri, 25 Oct 2019 14:42:32 -0700

Java 5 lines of code to import and export Excel

Java 5 lines of code to import and export Excel scene Use Create a table mapping object Export demonstration Import demonstration Introduce maven github scene In the work, the scene of exporting Excel often appears, such as managing the function of background export, batch correcting databas ...

Posted by KoopaTroopa on Fri, 25 Oct 2019 13:18:47 -0700

Deploying Prometheus service based on docker container -- a powerful tool for cloud platform monitoring

Blog Outline: I. deploy weave scope II. Start configuration 1. Run Node Server container 2. Run the C advisor container 3. Run Prometheus server container on docker01 4. Run the grafana container on docker01 5. Set Prometheus alarm Prometheus is a system and service monitoring system. It collects metrics from configured targets at a giv ...

Posted by clairian on Fri, 25 Oct 2019 12:43:18 -0700

Setting up proxy for brew/git/pip

1. How to set up HTTP/HTTPS proxy correctly When brew is set to pass socks5 proxy, it will be found that pip does not support socks5 in fact. It can only pass http/https. Get port first Click on the status bar of the small rocket HTTP Proxy Preference Get the port number of HTTP (I am 1087) Add the following to the. bash? Profile /. zshrc (zs ...

Posted by mimilaw123 on Fri, 25 Oct 2019 11:24:27 -0700

Develop a game with MelonJS

By Fernando DoglioCrazy technology house Original text: https://blog.bitsrc.io/writin... Forbidden without permission Game development does not need to be limited to users using Unity or unreal engine 4. JavaScript game development has been around for some time. In fact, the latest versions of the most popular browsers (such as Chrome, Firefox ...

Posted by phpnewbiy on Thu, 24 Oct 2019 21:29:28 -0700

Gradle custom plug in

Use version 5.6.2 Plug-ins are used to encapsulate the build logic and some common configurations. Encapsulate reusable build logic and default conventions into plug-ins for use by other projects. You can use your favorite language to develop plug-ins, but in the end it's compiled into bytecode to run in the JVM. Gradle has two plug-ins, scr ...

Posted by grilldan on Thu, 24 Oct 2019 06:49:40 -0700

Small and smarter Python data structure: delete duplicate nodes of unordered linked list

Welcome to wechat public account: Python Reply after attention: 1024, you can get selected programming learning e-books. In the past two days, I have made a group with several friends to urge each other to learn. I want to urge myself to learn and also urge my original output. In fact, I am lazy for m ...

Posted by JustinMs66 on Wed, 23 Oct 2019 22:49:38 -0700

Netty - sticky and half wrapped

In the previous article, we introduced sticky package and half package and their general solutions. Today, we will focus on how Netty implements the framing scheme.<!-- more --> Decoding core process Three kinds of decoders, FixedLengthFrameDecoder, DelimiterBasedFrameDecoder, LengthFieldBasedFrameDecoder, have been introduced before. The ...

Posted by ngreenwood6 on Wed, 23 Oct 2019 19:05:38 -0700

Create optimized Go image files and stepped pits

It is not difficult to create a Go image file on Docker, but the created file is very large, close to 1G, which is not convenient to use. One of the main problems of Docker image is how to optimize and create a small image. We can create Docker image files with multi-level construction method, which is not complicated. But because of the need t ...

Posted by DavidP123 on Wed, 23 Oct 2019 18:04:13 -0700