Observer design pattern learning notes
Observer design pattern is useful when you are interested in the state of an object and want to get notified whenever there is any change. Use observer mode when you want to be notified of any changes in the state of an object.
Observer design pattern is also called as publish-subscribe pattern. The observer design pattern is also known as the ...
Posted by lupes on Wed, 24 Nov 2021 01:03:09 -0800
CTFshow question brushing Diary - WEB - file upload
web151 front bypass
Simply change exts:png to php on the front end
exts:'php'
visit
/upload/shell.php?shell=system("tac ../flag.php");
Web152 content type bypass
Instead of changing the front end this time, change the content type directly in bp to image/png
Summarize the common content type types
Common media format types are ...
Posted by RosieisSweet on Tue, 23 Nov 2021 14:34:21 -0800
Android beginner 2 imitates wechat APP to realize the design and development of RecyclerView control, and realize click events and picture waterfall flow
0 experimental environment
Code writing and interface effect display in Android Studio
1 interface display
2 function description
(1) In Last wechat interface design On the basis of, select a Fragment file to realize the design and development of RecyclerView control; (2) I choose to design the vertical layout of RecyclerView in t ...
Posted by billthrill on Sun, 24 Oct 2021 11:42:34 -0700
Transform index list with virtual list
introduction
In a team that advocates "rapid development", the delivery date is often the first standard to measure the work. The way to solve problems will also be partial to violence. The way of violence often disgusts and loses voice. Especially when the interviewer asks about the difficulties in the development process, he can't ...
Posted by n8r0x on Mon, 18 Oct 2021 13:38:04 -0700
API for wechat development
Basics
wx.env: environment variable, directory path in file system (local path)wx.canIUse(string schema): judge whether the API, callback, parameters, components, etc. of the applet are available in the current version
Parameters: call using ${API}. ${method}. ${parameter}. ${option} or ${component}.${attribute}.${option}${API} represents API ...
Posted by timmy2 on Wed, 13 Oct 2021 16:35:07 -0700
Spring Boot implements code scanning login
1, First we need a watch
What is this watch for? Just record who scanned the code. Who logged in.
User_Token table
The fields are as follows:
uuid: used to ensure uniqueness userId: who logged in loginTime: login time createTime: the creation time is used to determine whether it has expired state: whether the QR code is invalid. 0 ...
Posted by Pnop on Sun, 10 Oct 2021 17:56:04 -0700
pyinstaller packaging selenium + enterprise wechat group sending parameter deployment
catalogue
1. Common errors in waiting and packaging of selenium
2. Call the contents in print and compare the data
3. Enterprise wechat group sending and webhook parameter configuration
4. Summary
1. Common errors in waiting and packaging of selenium
When climbing some dynamic data encrypted by the ...
Posted by mysterio2099 on Tue, 05 Oct 2021 10:44:25 -0700
Wechat public platform development - verify that the message does come from the wechat server
1. Preface
In the previous article, we have successfully configured and enabled the server information. Wechat officials have confirmed that our server is legal.
However, there is another problem, that is, how can we confirm that the messages we receive are legitimate, that is, how can we confirm that the messages we receive are sent by w ...
Posted by Dat on Sat, 25 Sep 2021 04:01:06 -0700
Establishment of Android development environment and production of simple HelloWorld program
1. Download Android Studio Official website: http://www.android-studio.org 2. Right click to run the downloaded installer as an administrator, select the installation path, and go all the way to Next. 3. Error message when opening for the first time: unable to access Android SDK add on list Reason: after the Android SDK is started, it will det ...
Posted by Rhysyngsun on Thu, 23 Sep 2021 06:42:55 -0700
Wechat applet login authorization development
I. understanding development tools
Development interface description 1. wxml is mainly used to layout components (equivalent to building structure) For example, how many floors are there in the building, how many rooms are there on each floor, and what equipment are there 2. wxss mainly determines the display style (determines the style o ...
Posted by barkster on Thu, 23 Sep 2021 05:16:24 -0700