PHP obtains the K-line data of fire currency through URL and WebSocket

Recently, a module on the project line needs to obtain the K-line data of fire coin. In the early stage, I used the Workerman timing task to get the data through URL request every second. After the task was done, the boss felt that the data was not real-time, so I couldn't optimize it. Fortunately, in G ...

Posted on Fri, 12 Jun 2020 05:11:05 -0400 by Ph0enix

Data visualization analysis with pyecharts

1. Use the following JSON data to draw tree diagram and rectangular tree diagram. data = [{ "name": "flare", "children": [ { "name": "flex", "children": [ {"name": "FlareVis", "value": 4116} ] }, { "name": "scale", "children": [ {"name": "IScaleMap", "value": 2105}, {"name": "LinearScale", "value": 1316 ...

Posted on Fri, 12 Jun 2020 05:02:47 -0400 by markjoe

How do I make HTTP requests in Swift?

This article is translated from: How to make an HTTP request in Swift? I read The Programming Language Swift by Apple in iBooks, but cannot figure out how to make an http request (something like CURL) in Swift. Do I need to import Obj-C classes or do I just need to import default libraries? Or is it ...

Posted on Fri, 12 Jun 2020 01:59:46 -0400 by aquayle

Teach you how to use 24 ES6 methods to solve the JS problem of actual development? Detailed explanation of this article

This article mainly introduces es6 method in 24, these methods are very practical. Please remember this book and turn it out from time to time. 1. How to hide all specified elements const hide = (el) => Array.from(el).forEach(e => (e.style.display = 'none')); // Example: hide all elements on the page? hide(document.querySelectorAll('img ...

Posted on Fri, 12 Jun 2020 00:54:55 -0400 by d~l

Java crawler framework WebMagic

The architecture design of WebMagic refers to scratch, while the implementation uses mature Java tools such as HttpClient and Jsoup.WebMagic consists of four components (Downloader, PageProcessor, Scheduler, Pipeline): Downloader: Downloader PageProcessor: page parser Scheduler: task assignment, url de duplication Pipeline: data storage an ...

Posted on Thu, 11 Jun 2020 23:38:02 -0400 by Drabin

Using Koa2 to build mockserver

preface This article is mainly for the front-end development engineers to explain how to use Node.js Framework Koa2 and mockjs build a set of data simulation services to provide simulation data for front-end services. Simple operation can greatly improve development efficiency. Problems encountered in actual combat Scene 1: schoolmate A is hap ...

Posted on Thu, 11 Jun 2020 04:36:04 -0400 by mesh2005

Data paging and applet bottom touching event - Introduction and practice of applet

In the previous chapter, I learned that setData() can be used to assign values to data and can be used to wx.request Send HTTPS request and bind data with {}}. I don't know if you find that the data given to us by the back end is paged. So in this chapter, we will learn how to deal with data paging in ...

Posted on Tue, 09 Jun 2020 22:49:36 -0400 by shakuni

Springboot integrated flowable modeler is logon-free and queries users/groups to change to their own number of systems

Previously, flowcharts were started with tomcat, but this startup did not allow you to query the data in your system when assigning task users/user groups.So now you need to integrate the flowable modeler into your project. Previously, I also searched a lot of articles, and they didn't feel very clear, probably because I just came into contact ...

Posted on Tue, 09 Jun 2020 16:29:52 -0400 by hogleg

Build front end Lint workflow from scratch (2020 handlebar)

Build front end Lint workflow from zero Eslint + prettier + husky + lint staged + typescript + eslint config alloy to ensure the quality of project code Inherit the concept of plug-in and configuration advocated by ESLint, and meet the personalized needs (i.e. let professional tools do what they are good at) Selective reading The novice sug ...

Posted on Tue, 09 Jun 2020 04:36:14 -0400 by TitanKing

[Python industry analysis] crawler analysis of BOSS direct recruitment information acquisition

Today, we are going to officially use the program to crawl the BOSS recruitment data. I will improve the program step by step from the most basic step to help you understand the crawler program. There are still many problems that I can't solve. I also hope that someone can leave a message to help us F ...

Posted on Tue, 09 Jun 2020 03:16:16 -0400 by PW