Simple implementation of shopping cart in uniapp project

In an e-commerce project, it can be said that the realization of shopping cart function is very important. During the epidemic period, I just made a small demo by myself, which was shut down without stopping school and fought against the enemy until dawn. If you don't talk much, let's see the effect ...

Posted on Sun, 23 Feb 2020 03:45:12 -0500 by LostinSchool

Oracle complex query

Preparation: start two services of Oracle - database instance service and monitoring service     1, Basic table - department table and employee table 1. sector table drop table dep; create table dep( d_id varchar2(11) primary key not null, d_name varchar2(50) not null, d_remark varchar2(20 ...

Posted on Sun, 23 Feb 2020 03:34:58 -0500 by dennissanche

CTFHub Boolean blind note

CTFHub Boolean blind note The topic has been shown to be Boolean blind. It is found that it is not closed, but also filtered. It is also a basic problem, but it is found that the echo is not right: payload:?id=1 and 's'='p'Echo is query < success This problem is different from the common Boolean bl ...

Posted on Sat, 22 Feb 2020 22:57:42 -0500 by Toxinhead

Python crawler ajax crawls the content of Ma Yun's father's Micro blog

ajax crawling Sometimes when we use Requests to grab the page, the result may be different from what we see in the browser. We can see the normal page data in the browser, but we don't get the result using Requests. The reason is that Requests gets the original HTML document, while the page in the browser is the page passing by again The result ...

Posted on Sat, 22 Feb 2020 12:37:06 -0500 by fifin04

MHA of MySQL high availability cluster

1, MHA introduction At present, MHA (Master High Availability) is a relatively mature solution in the aspect of MySQL high availability. It is developed by yoshimaton (now working for Facebook), a Japanese DeNA company. It is an excellent high availability software for failover and master-slave improvement in MySQL high availability environm ...

Posted on Sat, 22 Feb 2020 12:24:43 -0500 by dahwan

Code implementation phase

1, Encapsulate database operations: store all database operations in the dao package. (1) using single column pattern to design a tool class for database Connection and provide a Connection object. package dao; import com.mysql.jdbc.jdbc2.optional.MysqlDataSource; import javax.sql.DataSource; impo ...

Posted on Sat, 22 Feb 2020 09:07:01 -0500 by Beyond Reality

Analysis of manipulating objects by using association relationship in Hibernate 5 -- one-to-one association relationship

One to one relationship There are two ways to implement one-to-one association in Hibernate 5: primary key Association and foreign key Association. 1. Primary key Association Key point of primary key Association: two associated tables share a primary key value. For example, if a company is registered ...

Posted on Sat, 22 Feb 2020 07:43:52 -0500 by arpowers

IO flow - special operation flow

Special operation flow in IO flow Summary: The special operation flow in IO flow, as the name implies, has its special function; Standard I / O stream Summary: Standard I / O streams are used for keyboard input and printout; that is, the Scanner class and System.out.println(), which we usually u ...

Posted on Sat, 22 Feb 2020 04:52:10 -0500 by drorgo

Metaclasses and properties (Ⅱ)

This article is based on "Effective Python - 59 effective ways to write high-quality Python code" [U.S.] Brett Slatkin translated the contents of this book, wrote his own insights in some aspects, and excerpted some as reading notes for future encouragement. Invasion and deletion. Article 31 ...

Posted on Sat, 22 Feb 2020 04:50:46 -0500 by tallberg

jsp to realize simple picture verification code (after login to realize the query database function)

1, Functional analysis of implementation (1) The function of adding the verification code on the landing page plays a certain security role. The login can be realized only when the correct verification code, user name and password are entered. (2) Realize the function of querying database. In the page ...

Posted on Sat, 22 Feb 2020 04:34:39 -0500 by exoduses