Handle network request dependencies gracefully

When dealing with the network, we often encounter the situation that the network requests depend on each other. For example, the parameter of B request depends on the callback result of A request. If B is requested directly in the callback of A request, it will lead to the nesting of callbacks, which leads to the tight coupling bet ...

Posted by cyberdesi on Tue, 03 Dec 2019 04:50:05 -0800

SDR development environment construction

SDR development environment construction Compilation and installation Installation dependency Compile and install UHD Compile and install hackrf support Compile and install gnuradio Compile and install soapysdr Compile and install Limesuite Compiling and installing gr osmosdr Compilation and installation The installati ...

Posted by stangoe on Mon, 02 Dec 2019 22:59:05 -0800

Deep in Debian Linux install ffmpeg

Installing CMake and CCMake sudo apt install cmake sudo apt install cmake-curses-gui Install X265 development library sudo apt-get install libx265-dev Install Yasm Download address: http://www.tortall.net/projects/yasm/releases/ tar -xvf yasm-1.3.0.tar.gz cd yasm-1.3.0/ ./configure make && make install Install OpenCoreAMR Download addr ...

Posted by dlgilbert on Mon, 02 Dec 2019 14:23:04 -0800

Write a drop-down box that can realize fuzzy query through background interface (because layui.js does not meet the requirements).

Today, I encountered a problem that the fuzzy query function of the drop-down box of layui.js could not meet my needs, so I wrote a drop-down box myself. In fact, the implementation idea is to imitate the pull-down box style of layui.js, and then listen to the input events. Once input, call the interface, and let the background return the data ...

Posted by daniel_lee_hill on Mon, 02 Dec 2019 09:27:12 -0800

Analysis of Compiler.js module of webpack source code

webpack.js little tail const webpack = (options, callback) => { //... if (callback) { if (typeof callback !== "function") { throw new Error("Invalid argument: callback"); } if ( options.watch === true || (Array.isArray(options) && options.some(o => o.watch)) ...

Posted by deep on Sat, 30 Nov 2019 11:01:15 -0800

onos2.0 compilation and installation

onos compilation and installation 1 pre download and installation 1.1 front package installation sudo apt-get install git sudo apt-get install python #Oracle JDK8 sudo apt-get install software-properties-common -y && \ sudo add-apt-repository ppa:webupd8team/java -y && \ sudo apt-get update && ...

Posted by myitanalyst on Sat, 30 Nov 2019 10:42:34 -0800

Integrate spring cloud service architecture - commonservice-config configuration service setup

introduce Spring Cloud Config provides server and client support for external configuration in distributed systems.With Config Server, you can manage the external properties of your application in all environments.The concept mappings on the client and server are the same as the abstractions of Spring Environment and ProertySource, so they f ...

Posted by papapax on Wed, 27 Nov 2019 15:12:24 -0800

Go pit filling: using Private warehouse as module dependency

This article is published synchronously in Personal blog. The development of Golang can be described as changing with each passing day, but this is not a commendatory term, but it is said that there are many imperfections in its performance and function. With the development of small versions, the same function will also have destructive chang ...

Posted by djrichwz on Tue, 26 Nov 2019 21:21:14 -0800

Several Web UI interface deployment of k8s cluster

Blog Outline:I. deploy the Web UI interface of dashboardII. Deploy the web scope monitoring k8s clusterIII. deployment of Prometheus service I. deploy the Web UI interface of dashboard 1. Download yaml file configuration and execute #Download the project on github (the project can be found by searching the dashboard of github) [root@master ~ ...

Posted by satanclaus on Tue, 26 Nov 2019 03:10:58 -0800

Electronic Vue silent printing 2019 latest solution (including source code)

Project environment node 10.15.3yarn 1.15.2win10Code completion time: April 18, 2019 Don't talk too much, put the source code first GitHub https://github.com/951477037/electron-print git clone https://github.com/951477037/electron-print.git //Installation dependency yarn //Operation item yarn run dev //Packing project yarn run build directory ...

Posted by mrwowza on Mon, 25 Nov 2019 10:05:56 -0800