Experience with async/await
Running Environment
This method is supported above node7
This feature is supported above chrome55 and is typically used in node development
Introduction to async
Async is actually the syntax sugar of promise, a method marked by async that returns a promise object
async is defined as follows:
async function name([param[, param[, ... par ...
Posted by alexguz79 on Sun, 12 Jul 2020 17:10:50 +0200
Overview of springMVC's ability to download Excel tables
spring provides encapsulation classes for Excel DownloadsOrg.springframework.web.Servlet.view.document.AbstractExcelView, when implemented, simply implement a class that inherits AbstractExcelView, then override the
buildExcelDocument(Map<String, Object> model,HSSFWorkbook workbook, HttpServletRequest request,HttpServletResponse respo ...
Posted by conspi on Wed, 08 Jul 2020 17:02:44 +0200
How to determine the data type
Use typeof to determine data type
(1) Judging basic data types
//Number type
typeof 1;//"number"
//Boolean type
typeof true;// "boolean"
//String type
typeof "zzz";// "string"
//Undefined
typeof undefined;// "undefined"
//object
function Person(name, age) {
this.name = name;
this.age = age;
}
var person = n ...
Posted by hesketh on Mon, 06 Jul 2020 17:54:22 +0200
How to determine the data type
Use typeof to determine data type
(1) Judging basic data types
//Number type
typeof 1;//"number"
//Boolean type
typeof true;// "boolean"
//String type
typeof "zzz";// "string"
//Undefined
typeof undefined;// "undefined"
//object
function Person(name, age) {
this.name = name;
this.age = age;
}
var person = n ...
Posted by exxx on Mon, 06 Jul 2020 17:54:53 +0200
Pure html cross-domain access to java interfaces
What is cross-domain?
Cross-domain means that html access addresses and interface addresses are in different domains. As long as one of the domain names, protocols, and ports is satisfied, cross-domain means cross-domain.
Why not cross-domain?
Because of security issues, such as when a user visits a bank website, ...
Posted by phpvolution on Thu, 02 Jul 2020 16:33:10 +0200
[source code analysis] Oozie history submission task
0x00 summary
Oozie is an open source framework based on workflow engine contributed by Cloudera company to Apache. It is an open source workflow scheduling engine of Hadoop platform, which is used to manage Hadoop jobs. This article, the first in a series, introduces oozie's task submission phase.
0x01 problem
We deduce the implementation f ...
Posted by cowboy_x on Tue, 30 Jun 2020 05:26:29 +0200
Self cultivation of the whole stack: 002 using @ vue/cli vue.js Environment construction
<h1>Self cultivation of the whole stack: using @ vue/cli vue.js Environment construction</h1>
Success, real success, is being willing to do the things that other people are not. Success, real success, is willing to do what others don't want to do.
Table of Contents
@[TOC]
When you read this article, I think you are interested in h ...
Posted by haddydaddy on Mon, 29 Jun 2020 09:27:29 +0200
AJAX & search Association & two ways of paging
Getting started with AJAX
AJAX introduction
AJAX(Asynchronous JavaScript And XML): asynchronous JavaScript and XML. It is not a new technology in itself, but a combination of multiple technologies. Technology for quickly creating dynamic web pages.
If you need to update the content of a normal web ...
Posted by rogair on Sun, 28 Jun 2020 07:53:03 +0200
An hour to develop a Demo with Hyperledger Fabric
First understand what it is, then understand how to do it, then understand why
As the beginning of the series, this paper tries to make you have a general understanding of fabric through a simple process of fabric application development.
preface
Put three pictures first:
The first is Gar ...
Posted by nats on Sun, 28 Jun 2020 04:01:28 +0200
Oak's hands teach you how to use JS to connect FMZ extension API
brief introduction
Hello, I'm "oak quantification". Due to the previous period of time, I developed the market trend reminder[ Monitoring market ]It is widely loved by everyone, and has the synchronous reminder of the service number of the same name of [oak quantification], which gives new and old leeks a new reference in judging t ...
Posted by CookieD89 on Sat, 27 Jun 2020 07:19:18 +0200