1. Define variables / constants
1) . let defining variables
*Similar to var, it is used to declare a variable
*Valid in block scope
*Cannot repeat declaration
*No preprocessing, no promotion
*Loop traversal plus monitor
*Replacing var with let is the trend
2) . const defin ...
Posted on Wed, 29 Apr 2020 01:00:32 -0700 by deeppak
Now I use markdown for writing, but the style of markdown in blog Garden is not my idea. After some setbacks, I beautify the style by the way. Thank you for allowing custom style in blog Garden~ Several files involved are uploaded to Code cloud , download if necessary.
1: Change the highlighted style of the code
Blog park uses highlight.min ...
Posted on Tue, 28 Apr 2020 21:25:39 -0700 by DeX
1. Get the current page number and number of page records for the datagrid by:
currPageNumber: which page to represent
currPageSize: Number of data bars representing the page of currPageNumber
Get page number: var currPageNumber =
$("#dg" ).datagrid("getPager" ).data("pagination" ).options.pageNumber;
Get page records ...
Posted on Tue, 28 Apr 2020 09:34:31 -0700 by sylesia
Development and use of HangFire
After reading a lot of blogs, Xiaobai wrote a blog for the first time.
Recently, there are always problems with the previous task scheduling framework, so I want to find a replacement. The previous framework used Quartz.Net. The convenience of this framework is to support cron expressions for complex date scena ...
Posted on Mon, 27 Apr 2020 22:02:33 -0700 by knashash
Accessing this api will return a piece of data from the database according to the specified conditions. The conditions (request parameters) include three:
Service type: service type
City ID: City ID
Car type ID
Return content: only one piece of data can be queried from the database according to the above three conditions, includi ...
Posted on Mon, 27 Apr 2020 07:36:25 -0700 by Sassci
The execution order of BuildUserVars and BuildNameDescriptionSetter plug-ins in jenkins plug-in learning
The two plug-ins BuildUserVars and BuildNameDescriptionSetter have been used before,
Through BuildUserVars, you can get who triggered the build. This plug-in will set a similar environment variable BUILD_USER
Then set the environment vari ...
Posted on Sun, 26 Apr 2020 03:00:02 -0700 by kellz
1. First, let's configure the index.json file
"navigationBarTitleText": "Pet Encyclopedia"
2. Then add the style in the index.wxss file (the meaning and class of the style are not explained specifically)
/* pages/baike/index.wxss */
/* 1. Set the background color of the entire page */ ...
Posted on Sat, 25 Apr 2020 07:13:34 -0700 by KindMan
The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling.
This article introduces the method of drawing word cloud in Python. It's not hard to see tha ...
Posted on Fri, 24 Apr 2020 08:21:14 -0700 by lynosull
1. Create Api project
I use Vs2019 core 3.1. Open Vs2019, create Asp.Net Core Web application, name CoreWebApi, create selection api, add an api Controller FileUp under the Controller folder, modify the route of api [Route("api/[controller]/[action]]] so that you can access a specific test api
using System.Collections. ...
Posted on Thu, 23 Apr 2020 22:28:40 -0700 by jeffkee
Record the experience of not giving the extracted code to the network disk resource once! Alternative programming thinking, Python break it! Maybe not everyone can understand the meaning of this title. Just to be clear, it's not easy to find resources on the Internet. However, the friend who shared the online disk forgot to give the ex ...
Posted on Wed, 22 Apr 2020 09:07:14 -0700 by yarin