1″, “low tone beep”.
For a person who is lying too lazy to turn his face, he strongly accuses this arrangement of homework before school begins. Of course, if I have another chance, I will succumb to the threat of this class.
2, reading and thinking”
Scrum and XP in the smoke (password: u5i9)
Author: Henrik Kniberg
Summary: In this book, author Henrik Kniberg describes how he led a team of 40 people to implement Scrum over a year. They tried different team sizes (3-12 people), sprint lengths (2-6 weeks), and definitions of “complete”Ways, different backlog formats, various test strategies, multiple ways to synchronize across multiple Scrum teams. They’ve also tried XP practices — continuous integration, pair programming, test-driven development, and so on — and tried to combine XP with Scrum.
This...
–Full scale updatecreate table pdata.dbo.customer(name varchar(255) ,type varchar(255) ,type_no varchar(255) ,address varchar(255) ,tel varchar(255) )
insert into pdata.dbo.customer values( ‘ccc ‘, ‘sfz’,’ 1201334′,’ a1 ‘,’ 1′) insert into pdata.dbo.customer values( ‘AAA ‘, ‘sfz’,’ 1301121′,’ a2 ‘,’ 128285 ‘) insert into pdata.dbo.customer values( ‘ddd ‘, ‘sfz’,’ 1201335′,’ a3 ‘,’ 1268910 ‘) in...
Before we implement it, let’s look at the call of Promise first.
const src = 'https://img-ph-mirror.nosdn.127.net/sLP6rNBbQhy0OXFNYD9XIA==/799107458981776900.jpg?imageView&thumbnail=223x125&quality=100'
const promise = new Promise(function (resovle, reject) {
var img = document.createElement('img')
img.onload = function () {
resovle(img)
}
img.onerror = function () {
reject()
}
img.src = src
})
promise.then(function (img) {
console.log(img.width)
},...
nodemon:Server auto restart tool
When we modify the code, node has to restart manually, but it can follow nodemon.
npm install -g nodemon
After installing nodemon, you can use nodemon instead of node to start the application:
nodemon server.js
Looking at help, there are many options to be seen at a glance:
nodemon -h
# username = input("please enter your name:")# passport = input("please enter your passport:")# with open("list of info",mode="w", encoding="utf-8" ) as f:# f.write("{}\n{}".format(username,passport))# print("congratulations")lis = []i = 0while i < 3: uname = input("please enter your username:") passwd = input("please enter your password:") with open("list of info", "r", encoding="utf-8") as f: for line in f: lis.append(line) if uname == lis[0].strip() and passwd == lis[1].strip(): print("Login sucessfully") break else: print("wrong"...
C#Reflection detailed solution
(1)Reflection acquisition attribute
First, explain the meaning of some enumeration parameters obtained from the reflection property: BindingFlagsInstance|Public:Get common instance attributes (not static)Instance|NonPublic:Gets non public instance attributes (not static). (private/protect/internal)
Static|Public:Get public static attributesStatic|NonPublic:Gets non public static attributes. (private/protect/internal)
Instance|Static|Public:Get public instance or static attributesInstance|Static|NonPublic:No public instance or sta...
Topic: Give a graph and K queries, each query gives Nv nodes, and ask if the edges associated with these nodes contain all the edges of the whole graph.
Ideas: Firstly, because of the large number of nodes, adjacency table is used to store the graph, and unordered_map< int, unordered_map< int, bool> & gt; MP is used to represent the adjacency relationship between two vertices. When you query, read every time.If the number of edges deleted is equal to the total number of edges of the graph, output Yes; otherwise output No. PS. actually needs no additional vector< int> Adj[]...