The white way of python -- Day4 (I can't learn it gradually)
Here is only for personal notes. The content and code are mostly from the 100 day course of GitHub Luo Hao God. The link is attached below, which is infringed and deleted~
GitHub - jackfried / python-100-days: Python - 100 days from novice to master
1, Use of functions and modules
(1) Define function: use the def keyword to define a f ...
Posted by rofl90 on Sat, 23 Oct 2021 00:30:10 -0700
2021 "Green League Cup" Chongqing University Student Information Security Competition - Light1ng team Writeup
2021 "Green League Cup" Chongqing University Student Information Security Competition - Light1ng team Writeup
For other directions, please refer to pdf:https://wws.lanzoui.com/iWk1ovo0eaj Password: Le1a
Misc
Misc1: check in 1
The title gives a string of base64 codes
Decoded flag:
flag{c54ce9d7b4e17980dd4906d9941ed52a}
Misc2: ...
Posted by sykowizard on Sat, 23 Oct 2021 00:28:09 -0700
C # static classes and static members
Static members:
Non static classes can contain static methods, fields, properties, or events. Static members can be called on a class even if no instance of the class is created. Static members are always accessed by class name, not instance name. Only one copy of the static member exists (regardless of the number of instances of the class cre ...
Posted by SnakeO on Sat, 23 Oct 2021 00:25:47 -0700
Python Beginner Tips: String
C language and python are often confused, especially I can't help adding a semicolon after Python... Just make a note for myself to save forgetting... (from the little turtle)
9, String
Strings are widely used and extremely convenient:
'''Determine whether it is palindrome number'''
>>> x = '123454321'
>>> 'Is the palin ...
Posted by frabble on Sat, 23 Oct 2021 00:25:21 -0700
Python Beginner Tips: List
C language and python are often confused, especially I can't help adding a semicolon after Python... Just make a note for myself to save forgetting... (from the little turtle)
7, List list
The list contains multiple data types at the same time. The subscript index starts from 0. The subscript index value of the last element is - 1, and so ...
Posted by IronicSoul on Sat, 23 Oct 2021 00:12:02 -0700
Freshman Meng's new c language can understand the version
Follow Freshman Meng Xin can read the c language version (I)_ Why_does_it_work blog - CSDN blog
Then I want to talk about the data
data
During initial programming, after we write the header file, we operate the data through multiple functions and a main function or through a main function. What is the data? As mentioned in the previous arti ...
Posted by gtal3x on Fri, 22 Oct 2021 23:59:20 -0700
Java-22 Chapter 6 assignment
1. In the experiment, use the debug function of IDE to set breakpoints for the new statements of examples 6.4 and 6.5, use step into / step over to track the execution sequence of subclass object instantiation (initialization), and summarize the process
Example 6.4
//Example 6.4: explicitly using super to call the constructor of the parent cl ...
Posted by stevenheller7@gmail.com on Fri, 22 Oct 2021 23:41:40 -0700
Java: extract the content in the xml file into entity and transfer it to the database
summary
In our daily work, we often encounter the need to extract the information in xml files and convert it into entity classes. Combined with our own work experience, we make the following summary, which is convenient for people and ourselves.
Code example
xml format:
<?xml version="1.0" encoding="utf-8"?& ...
Posted by Bunkermaster on Fri, 22 Oct 2021 23:15:48 -0700
(C language) stack and queue experiment
1. (1): judge whether open parentheses and closed parentheses in an arithmetic expression are paired.
Implementation code:
#include <stdio.h>
#include <stdlib.h>
#define MAXSIZE 100
typedef struct{
char data[MAXSIZE];
int top;
}seqstack;
int MatchCheck(char str[]){
seqstack s;
int i = 0;
s.top = -1;
while (str[i] != '\0'){
...
Posted by lou28 on Fri, 22 Oct 2021 23:02:39 -0700
Spring document learning
1.IOC control reversal
IOC theoretical derivation
Previous methods
1. First write a UserDao interface
public interface UserDao {
public void getUser();
}
2. Then write Dao's implementation class
public class UserDaoImpl implements UserDao {
@Override
public void getUser() {
System.out.println("Get user data");
}
}
3. ...
Posted by Madatan on Fri, 22 Oct 2021 22:52:54 -0700