Introduction to Python Basics: a tutorial on reading and writing JSON files
Introduction to JSON
JSON(JavaScript Object Notation), namely JavaScript object notation, is a lightweight and general text data format. JSON syntax supports objects, arrays, strings, numbers (int/float), and true/false and null. JSON has a strict format. The main formats are as follows:
You can only use double quotation marks, not single quo ...
Posted by Chappers on Thu, 03 Mar 2022 09:37:32 +0100
Uni app learning notes
1. vue life cycle
vue life cycle diagram
<template>
<view>
<button @click="click">Submit</button>
<view>
{{text}}
</view>
</view>
</template>
<script>
export default {
data() {
return {
text: 'hello'
}
},
methods: {
click(){
this.text = 'Hello'
}
...
Posted by chuckym7 on Thu, 03 Mar 2022 09:35:20 +0100
The use of selenium in reptiles
The use of selenium in reptiles
I selenium overview
1.1 definitions
Selenium is a Web automated testing tool, which was originally developed for website automated testing. Selenium can directly call the browser. It supports all mainstream browsers (including PhantomJS, which has no interface). It can receive instructions and let the browser ...
Posted by Eskimo887 on Thu, 03 Mar 2022 09:21:58 +0100
Use of the latest code generator (3.5.1 +) of mybatis plus
1. Introduce dependency:
<!--mybatisPlus-->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.3.4</version>
</dependency>
<!--mybatis-plus Code generator -->
<dependency>
<groupId>com.baomidou</g ...
Posted by Thunderfunk on Thu, 03 Mar 2022 09:19:01 +0100
uniapp development applet obtains the name of the positioning city according to the longitude and latitude
1. Preface
If you have been in contact with wechat applets, you know that operations involving some user sensitive information (such as positioning, accessing personal information, etc.) require user authorization. When we use applets, we may also see the scene that the authorization box pops up before an operation, which requires the user' ...
Posted by wittanthony on Thu, 03 Mar 2022 09:02:13 +0100
Data resolution after sequencing of single cell mixed samples (Cell Hashing Technology)
Recently, an apprentice mentioned that she was reproducing the document: "automatic regulators for the continuation of erythroid differentiation reviewed by single cell transcript of human BM and UCB cells." When analyzing single cell dataShe found that the author clearly mentioned six samples, but the data set was: https://www.ncbi.n ...
Posted by flashman on Thu, 03 Mar 2022 08:56:29 +0100
JS advanced part
JS advanced part
judgeObject reference typeResearch on undefined and nullDistinguish between variable types and data typesData, variables and memoryjs function parameters are passed as valuesHow does JS engine manage memoryJS object
When to use ['attribute name'] and when to use it JS function object
The difference between call and apply ...
Posted by Runnion on Thu, 03 Mar 2022 08:36:51 +0100
How to handle large volume XLSX/CSV/TXT files?
In the development process, we may encounter such needs. We need to parse information from local Excel or CSV files. These information may be attendance clock in records, calendar information or recent bill flow. However, their common feature is that there are many and complicated data, the workload of manual input is huge, error prone, and it ...
Posted by Spud_Nic on Thu, 03 Mar 2022 08:33:40 +0100
Application of spring cloud production environment operated by Jenkins
1, Jenkins+Docker+SpringCloud continuous integration process
Text flow
Developers submit their code to the Gitlab code warehouse every day.
Jenkins pulls the project source code from Gitlab, compiles it and makes it into a jar package, then builds it into a Docker image, and uploads the image to the private warehouse of Harbor. ...
Posted by vund0 on Thu, 03 Mar 2022 08:28:39 +0100
Sorting out javascript object knowledge points
Article reference
https://www.w3school.com.cn/js/js_object_definition.asp
JavaScript object definition
In js, almost everything is an object: Booleans are objects (if defined with the new keyword) Numbers are objects (if defined with the new keyword) A string is an object (if defined with the new keyword) Dates are always objects Arithm ...
Posted by simshaun on Thu, 03 Mar 2022 08:25:11 +0100